Claimed or running work item ID.
Request body.
JSON-serializable failure returned by the worker.
Saved lease token.
No content
Extend a workflow work item lease
Claimed or running work item ID.
Request body.
Saved lease token.
Optionallease_seconds?: numberReplacement lease duration from 15 through 3600 seconds. Defaults to 300.
No content
List active workflow work available to the viewer Lists queued, claimed, and running external work yielded by durable workflows. The top-level collection includes work for every agent the viewer can execute; the agent-nested collection limits results to that agent. This discovery response never includes lease tokens. Use the agent claim endpoint to acquire new work or resume a saved lease.
Optionalparams: { afterCursor?: string; execution?: string; limit?: number }Query parameters.
OptionalafterCursor?: stringOpaque cursor for the next page of older queued work.
Optionalexecution?: stringOptional durable execution ID filter.
Optionallimit?: numberMaximum work items per page. Defaults to 50; maximum is 100.
Successful response
Mark claimed workflow work as running
Claimed work item ID.
Request body.
Saved lease token.
No content
Submit workflow work output and wake its durable execution Atomically records the command completion, marks the work item succeeded, advances the journal sequence, and enqueues the owning workflow continuation. Retrying the same lease and result is idempotent; a different result conflicts.
Claimed or running work item ID.
Request body.
Saved lease token.
JSON-serializable output returned to the workflow.
No content
Fail workflow work and route its durable execution Atomically records command failure, marks the work item failed, and either wakes the workflow at the node's error edge or fails the owning run when no error edge exists. Retrying the same lease and error is idempotent; a different terminal payload conflicts.