GET
/
workflow-executions
/
{execution_id}
/
compact
{
  "id": "<string>",
  "run_id": "<string>",
  "start_time": "2023-11-07T05:31:56Z",
  "execution_time": "2023-11-07T05:31:56Z",
  "close_time": "2023-11-07T05:31:56Z",
  "status": "RUNNING",
  "workflow_type": "<string>",
  "task_queue": "<string>",
  "history_length": 123,
  "parent_wf_exec_id": "<string>",
  "events": [
    {
      "source_event_id": 123,
      "schedule_time": "2023-11-07T05:31:56Z",
      "start_time": "2023-11-07T05:31:56Z",
      "close_time": "2023-11-07T05:31:56Z",
      "curr_event_type": "WORKFLOW_EXECUTION_STARTED",
      "status": "SCHEDULED",
      "action_name": "<string>",
      "action_ref": "<string>",
      "action_input": "<any>",
      "action_result": "<any>",
      "action_error": {
        "message": "<string>",
        "cause": {}
      },
      "child_wf_exec_id": "<string>",
      "child_wf_count": 0,
      "loop_index": 123
    }
  ]
}

Authorizations

fastapiusersauth
string
cookie
required

Path Parameters

execution_id
string
required

Query Parameters

workspace_id
string
required

Response

200
application/json
Successful Response
id
string
required

The ID of the workflow execution

run_id
string
required

The run ID of the workflow execution

start_time
string
required

The start time of the workflow execution

status
enum<string>
required
Available options:
RUNNING,
COMPLETED,
FAILED,
CANCELED,
TERMINATED,
CONTINUED_AS_NEW,
TIMED_OUT
workflow_type
string
required
task_queue
string
required
history_length
integer
required

Number of events in the history

events
object[]
required

Compact events in the workflow execution

A compact representation of a workflow execution event.

execution_time
string | null

When this workflow run started or should start.

close_time
string | null

When the workflow was closed if closed.

parent_wf_exec_id
string | null