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

Workflow runs

List workflow run step logs

GET
/v1/workspaces/{workspace_id}/workflows/id/{workflow_id}/executions/logs/between

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.

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: without it the route answers 404

Defaultnull
include_execution_ids?|

The runs, comma-separated UUIDs

Defaultnull

Response Body

OK

application/json
  1. response

The documented answer: a JSON array ordered by created_time

[index: integer]?

One documented log entry of a run (workflow_start, one per step, workflow_end)

List workflow run step logs
curl -X GET 'https://api.stacksync.com/v1/workspaces/0/workflows/id/497f6eca-6276-4993-bfeb-53cbbbba6f08/executions/logs/between'
[  {    "id": "<id>",    "created_time": "<created_time>",    "workflow_execution_id": "<workflow_execution_id>",    "workflow_module_instance_id": "<workflow_module_instance_id>",    "workflow_version": "<workflow_version>",    "log_type": "<log_type>",    "execution_status": "<execution_status>",    "execution_duration": 0,    "metadata": "<metadata>",    "data": "<data>"  }]