ts.rtl.update

Update ritual attributes (cannot change prompt – fork instead).

Update ritual attributes (cannot change prompt – fork instead).

Requires authentication

Description

Updates one or more fields of an existing ritual. Only provided fields are changed; omitted fields remain unchanged.

The prompt field cannot be updated directly. To change a ritual’s prompt, use ts.rtl.fork to create a new version with the modified prompt. This preserves the lineage and audit trail of methodology changes.

Parameters

NameTypeRequiredDefaultDescription
idstringYesRitual ID
namestringNew name
descriptionstringNew description
scheduleobjectNew schedule metadata
is_enabledbooleanEnable or disable the ritual
statusstringNew status: active, archived
endeavour_idstringNew endeavour (empty string to unlink)
metadataobjectMetadata to set (replaces existing)

Response

Returns the ritual ID and list of fields that were updated.

{
  "id": "rtl_a1b2c3d4e5f6...",
  "updated_at": "2026-02-09T12:00:00Z",
  "updated_fields": [
    "is_enabled"
  ]
}

Errors

CodeDescription
not_authenticatedNo active login for this session
not_foundRitual with this ID does not exist
invalid_inputNo fields to update, or attempted to change prompt

Examples

Disable a ritual

Temporarily disable a ritual without deleting it.

Request:

{
  "id": "rtl_a1b2c3d4e5f6...",
  "is_enabled": false
}

Response:

{
  "id": "rtl_a1b2c3d4e5f6...",
  "updated_at": "2026-02-09T12:00:00Z",
  "updated_fields": [
    "is_enabled"
  ]
}

Update schedule

Change the schedule for a ritual.

Request:

{
  "id": "rtl_a1b2c3d4e5f6...",
  "schedule": {
    "expression": "0 10 * * 1",
    "type": "cron"
  }
}

Response:

{
  "id": "rtl_a1b2c3d4e5f6...",
  "updated_at": "2026-02-09T12:00:00Z",
  "updated_fields": [
    "schedule"
  ]
}