See Stacksync in action with a solution architect. Book a demo ↗
WorkflowsRuns

Workflow runs

List execution logs

POST
/v1/workspaces/{workspace_id}/workflows/id/{workflow_id}/executions/list-logs

The runs of a workflow (or of several, options.workflows) matching the log explorer's query and time range, with the sections asked for (rows, count and chart, payload keys) and the cursors of the listing mode.

Authorization

Authorizationstringheaderrequired

Bearer <key>, where <key> is a workspace API key or a user API key. See Authentication.

Path Parameters

workspace_id*integer

The workspace. List the ones your key can reach with GET /v1/workspaces.

workflow_id*string

The workflow.

Formatuuid

Query Parameters

region?|

Region of the workflow: besg or usnv. Required, except when List workflow runs reads several workflows through options.workflows

Defaultnull

Request Body

application/json
  1. body

The documented list-logs body; validated by the log explorer itself, with its documented 400s

options?JsonValue
Defaultnull
extra_columns?JsonValue
Defaultnull

Response Body

OK

application/json
  1. response

The documented list-logs answer: the rows of the sections asked for, and the cursors of the listing mode

data?array<>|
Defaultnull
meta?|
Defaultnull
keys?array<JsonValue>|
Defaultnull
total_executions?|
Defaultnull
next_cursor?JsonValue
prev_cursor?JsonValue
newest_cursor?JsonValue
oldest_cursor?JsonValue
has_more?|
Defaultnull
List execution logs
curl -X POST 'https://api.stacksync.com/v1/workspaces/0/workflows/id/497f6eca-6276-4993-bfeb-53cbbbba6f08/executions/list-logs' \  -H 'Content-Type: application/json' \  -d '{  "options": {    "limit": 50,    "query": "workflow.execution_status = '\''ERROR'\''",    "sort": "desc",    "time_range": [      "2026-10-01T00:00:00Z",      "2026-10-02T00:00:00Z"    ]  }}'
{  "data": [    {}  ],  "meta": {},  "keys": [    "<keys>"  ],  "total_executions": 0,  "next_cursor": "<next_cursor>",  "prev_cursor": "<prev_cursor>",  "newest_cursor": "<newest_cursor>",  "oldest_cursor": "<oldest_cursor>",  "has_more": false}