Workflow runs
List execution 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
AuthorizationstringheaderrequiredBearer <key>, where <key> is a workspace API key or a user API key. See Authentication.
workspace_id*integerThe workspace. List the ones your key can reach with GET /v1/workspaces.
workflow_id*stringThe workflow.
uuidregion?|Region of the workflow: besg or usnv. Required, except when List workflow runs reads several workflows through options.workflows
nullapplication/json- body
The documented list-logs body; validated by the log explorer itself, with its documented 400s
options?JsonValuenullextra_columns?JsonValuenullOK
application/json- response
The documented list-logs answer: the rows of the sections asked for, and the cursors of the listing mode
data?array<>|nullmeta?|nullkeys?array<JsonValue>|nulltotal_executions?|nullnext_cursor?JsonValueprev_cursor?JsonValuenewest_cursor?JsonValueoldest_cursor?JsonValuehas_more?|nullcurl -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}GETCheck a workflow email alias
Whether <alias>@stacksync.email is free for an email trigger step of this workflow (aliases are unique across every workspace); the step's own alias counts as free.
GETList workflow run step logs
Every log of the given runs, from each run's start to its end (one entry per step with its input and output), as a JSON array ordered by created_time.