ts.rtr.create

Create a ritual run (marks execution start, status=running).

Create a ritual run (marks execution start, status=running).

Requires authentication

Description

Creates a new ritual run to track execution of a ritual.

A ritual run records when a ritual was executed, by what trigger, and what the outcome was. New runs start in “running” status with started_at set automatically.

Triggers:

  • manual: Agent or human explicitly started the run
  • schedule: Triggered by a scheduled event
  • api: Triggered by an external API call

Parameters

NameTypeRequiredDefaultDescription
ritual_idstringYesRitual ID to execute
triggerstringmanualWhat triggered the run: schedule, manual (default), api
metadataobjectArbitrary key-value pairs

Response

Returns the created ritual run.

{
  "created_at": "2026-02-09T10:00:00Z",
  "id": "rtr_x1y2z3a4b5c6...",
  "ritual_id": "rtl_a1b2c3d4e5f6...",
  "started_at": "2026-02-09T10:00:00Z",
  "status": "running",
  "trigger": "manual"
}

Errors

CodeDescription
not_authenticatedNo active login for this session
invalid_inputritual_id is required
not_foundRitual with this ID does not exist

Examples

Start a manual ritual run

Begin executing a ritual triggered by an agent.

Request:

{
  "ritual_id": "rtl_a1b2c3d4e5f6...",
  "trigger": "manual"
}

Response:

{
  "id": "rtr_x1y2z3a4b5c6...",
  "ritual_id": "rtl_a1b2c3d4e5f6...",
  "started_at": "2026-02-09T10:00:00Z",
  "status": "running",
  "trigger": "manual"
}