Error
A valid request URL is required to generate request examples{
"id": "<string>",
"run_id": "<string>",
"start_time": "2023-11-07T05:31:56Z",
"status": "RUNNING",
"workflow_type": "<string>",
"task_queue": "<string>",
"history_length": 123,
"trigger_type": "manual",
"events": [
{
"source_event_id": 123,
"schedule_time": "2023-11-07T05:31:56Z",
"curr_event_type": "WORKFLOW_EXECUTION_STARTED",
"status": "SCHEDULED",
"action_name": "<string>",
"action_ref": "<string>",
"start_time": "2023-11-07T05:31:56Z",
"close_time": "2023-11-07T05:31:56Z",
"action_input": "<unknown>",
"action_result": {
"output": "<unknown>",
"duration": 123,
"session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"message_history": [
{
"id": "<string>",
"kind": "chat-message",
"message": {
"content": "<string>",
"uuid": "<string>",
"parent_tool_use_id": "<string>",
"tool_use_result": {},
"origin": {
"kind": "human",
"server": "<string>",
"from": "<string>",
"name": "<string>",
"fromSession": "<string>",
"senderTaskId": "<string>",
"body": "<string>",
"verifiedPeerPid": 123,
"subkind": "scheduled-trigger"
}
},
"approval": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tool_call_id": "<string>",
"tool_name": "<string>",
"status": "pending",
"created_at": "2023-11-07T05:31:56Z",
"tool_call_args": {},
"reason": "<string>",
"decision": true,
"approved_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"approved_at": "2023-11-07T05:31:56Z"
},
"compaction": {},
"cancelled": {},
"created_at": "2023-11-07T05:31:56Z",
"channel_message": {
"provider": "slack",
"text": "<string>",
"sender": {
"provider_user_id": "<string>",
"provider_team_id": "<string>",
"name": "<string>"
},
"thread": {
"messages": [
{
"author": "<string>",
"text": "<string>",
"is_bot": false,
"forwarded": false
}
],
"has_parent": true,
"older_omitted": false,
"later_omitted": false
},
"quoted": [],
"quoted_omitted": 0,
"people": []
},
"author": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "<string>",
"first_name": "<string>",
"last_name": "<string>"
}
}
],
"usage": {
"requests": 0,
"tool_calls": 0,
"input_tokens": 0,
"output_tokens": 0
}
},
"action_error": {
"message": "<string>",
"cause": {},
"root_cause_message": "<string>"
},
"stream_id": "<root>:0",
"child_wf_exec_id": "<string>",
"child_wf_count": 0,
"loop_index": 123,
"while_iteration": 123,
"while_continue": true,
"child_wf_wait_strategy": "wait",
"session": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"events": [
"<unknown>"
]
},
"fixed_from_execution_id": "<string>",
"fixed_from_event_id": 123
}
],
"execution_time": "2023-11-07T05:31:56Z",
"close_time": "2023-11-07T05:31:56Z",
"parent_wf_exec_id": "<string>",
"execution_type": "published"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}workflow-executions
Get Workflow Execution Compact
Get a workflow execution.
GET
/
workspaces
/
{workspace_id}
/
workflow-executions
/
{execution_id}
/
compact
Error
A valid request URL is required to generate request examples{
"id": "<string>",
"run_id": "<string>",
"start_time": "2023-11-07T05:31:56Z",
"status": "RUNNING",
"workflow_type": "<string>",
"task_queue": "<string>",
"history_length": 123,
"trigger_type": "manual",
"events": [
{
"source_event_id": 123,
"schedule_time": "2023-11-07T05:31:56Z",
"curr_event_type": "WORKFLOW_EXECUTION_STARTED",
"status": "SCHEDULED",
"action_name": "<string>",
"action_ref": "<string>",
"start_time": "2023-11-07T05:31:56Z",
"close_time": "2023-11-07T05:31:56Z",
"action_input": "<unknown>",
"action_result": {
"output": "<unknown>",
"duration": 123,
"session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"message_history": [
{
"id": "<string>",
"kind": "chat-message",
"message": {
"content": "<string>",
"uuid": "<string>",
"parent_tool_use_id": "<string>",
"tool_use_result": {},
"origin": {
"kind": "human",
"server": "<string>",
"from": "<string>",
"name": "<string>",
"fromSession": "<string>",
"senderTaskId": "<string>",
"body": "<string>",
"verifiedPeerPid": 123,
"subkind": "scheduled-trigger"
}
},
"approval": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tool_call_id": "<string>",
"tool_name": "<string>",
"status": "pending",
"created_at": "2023-11-07T05:31:56Z",
"tool_call_args": {},
"reason": "<string>",
"decision": true,
"approved_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"approved_at": "2023-11-07T05:31:56Z"
},
"compaction": {},
"cancelled": {},
"created_at": "2023-11-07T05:31:56Z",
"channel_message": {
"provider": "slack",
"text": "<string>",
"sender": {
"provider_user_id": "<string>",
"provider_team_id": "<string>",
"name": "<string>"
},
"thread": {
"messages": [
{
"author": "<string>",
"text": "<string>",
"is_bot": false,
"forwarded": false
}
],
"has_parent": true,
"older_omitted": false,
"later_omitted": false
},
"quoted": [],
"quoted_omitted": 0,
"people": []
},
"author": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "<string>",
"first_name": "<string>",
"last_name": "<string>"
}
}
],
"usage": {
"requests": 0,
"tool_calls": 0,
"input_tokens": 0,
"output_tokens": 0
}
},
"action_error": {
"message": "<string>",
"cause": {},
"root_cause_message": "<string>"
},
"stream_id": "<root>:0",
"child_wf_exec_id": "<string>",
"child_wf_count": 0,
"loop_index": 123,
"while_iteration": 123,
"while_continue": true,
"child_wf_wait_strategy": "wait",
"session": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"events": [
"<unknown>"
]
},
"fixed_from_execution_id": "<string>",
"fixed_from_event_id": 123
}
],
"execution_time": "2023-11-07T05:31:56Z",
"close_time": "2023-11-07T05:31:56Z",
"parent_wf_exec_id": "<string>",
"execution_type": "published"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Response
Successful Response
Was this page helpful?