Workflow Executor

POST /workflow-runs/{run_id}/steps

Changed on

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

run_idstring uuid required

Run ID

Request body

attemptsinteger required

Attempts made so far, this one included.

duration_msinteger nullable
errorstring nullable
error_refstring nullable

Error-tracking event id of the attempt's exception.

kind'step' | 'sleep' | 'wait' | 'now' | 'random' | 'send_event' | 'child' required

What a journal entry records.

namestring required
resultobject
sequenceinteger required
status'pending' | 'completed' | 'failed' required

A journal entry's state. pending is a sleep or wait not yet over, or a step whose failed attempt is waiting for its retry.

trace_idstring nullable

OTEL trace id of the attempt's span (metadata only).

wake_atstring date-time nullable

Response

The entry as recorded; when already_recorded, continue with it

already_recordedboolean required
lease_expires_atstring date-time required

Changes