v2

latestOpenAPI 3.1.02026-07-262937191.0 MB
workflows.executions

Get Workflow Execution Logs

Retrieve logs for a workflow execution.

Use after/before/order on the first request to set the time range and sort order; for the next pages pass the cursor from the previous response (it remembers the range and order).

get/v1/workflows/executions/{execution_id}/logs

Path parameters

execution_idstring required

Query parameters

run_idstring uuid nullable

Filter logs by workflow run ID

Filter logs by workflow run ID

activity_idstring nullable

Filter logs by activity ID

Filter logs by activity ID

afterstring date-time nullable

Only return logs at or after this timestamp

Only return logs at or after this timestamp

beforestring date-time nullable

Only return logs before this timestamp

Only return logs before this timestamp

order'asc' | 'desc'

First-page sort order: 'asc' (oldest first) or 'desc'. Ignored when cursor is set.

First-page sort order: 'asc' (oldest first) or 'desc'. Ignored when cursor is set.

cursorstring nullable

Pagination cursor from a previous response's next_cursor; carries the window and order

Pagination cursor from a previous response's next_cursor; carries the window and order

limitinteger

Maximum number of logs to return

Maximum number of logs to return

Response

Successful Response

next_cursorstring nullable