Skip to content

Get workflow trace as JSONL

GET
/api/v4/ai/duo_workflows/workflows/{workflow_id}/trace.jsonl

Returns the full trace of a workflow session as JSON Lines (JSONL). Each line is a JSON object representing one checkpoint event in chronological order.

workflow_id
required
integer

The ID of the workflow

Example
1
full
boolean
nullable

Include internal channels (conversation history, handover, etc). Restricted to the workflow owner; non-owners receive a 403.

Example
false

OK

Bad Request

Unauthorized

Forbidden

Not found