v2

latestOpenAPI 3.1.02026-07-262937191.0 MB
workflows.deployments

Get Deployment Logs

Retrieve logs for a deployment (across all of its workers).

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/deployments/{name}/logs

Path parameters

namestring required

Query parameters

worker_namestring nullable

Filter logs by worker name

Filter logs by worker name

workflow_namestring nullable

Filter logs by workflow name

Filter logs by workflow name

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