workflow-executions
Get Workflow Execution
REST API
Endpoints
- public
- workspaces
- workflows
- triggers
- workflow-executions
- actions
- secrets
- schedules
- tags
- users
- organization
- editor
- registry-repositories
- registry-actions
- settings
- organization-secrets
- tables
- cases
- auth
workflow-executions
Get Workflow Execution
Get a workflow execution.
GET
/
workflow-executions
/
{execution_id}
{
"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": [
{
"event_id": 123,
"event_time": "2023-11-07T05:31:56Z",
"event_type": "WORKFLOW_EXECUTION_STARTED",
"task_id": 123,
"event_group": {
"event_id": 123,
"udf_namespace": "<string>",
"udf_name": "<string>",
"udf_key": "<string>",
"action_id": "<string>",
"action_ref": "<string>",
"action_title": "<string>",
"action_description": "<string>",
"action_input": {
"task": {
"ref": "<string>",
"description": "<string>",
"action": "<string>",
"args": {},
"depends_on": [
"<string>"
],
"interaction": {
"type": "<string>",
"timeout": 123
},
"run_if": "<string>",
"for_each": "<string>",
"retry_policy": {
"max_attempts": 123,
"timeout": 123,
"retry_until": "<string>"
},
"start_delay": 123,
"wait_until": "<string>",
"join_strategy": "any"
},
"exec_context": {},
"run_context": {
"wf_id": "<string>",
"wf_exec_id": "<string>",
"wf_run_id": "<string>",
"environment": "<string>"
},
"interaction_context": {
"interaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"execution_id": "<string>",
"action_ref": "<string>"
}
},
"action_result": "<any>",
"current_attempt": 123,
"retry_policy": {
"max_attempts": 123,
"timeout": 123,
"retry_until": "<string>"
},
"start_delay": 0,
"join_strategy": "all",
"related_wf_exec_id": "<string>"
},
"failure": {
"message": "<string>",
"cause": {}
},
"result": "<any>",
"role": {
"type": "user",
"workspace_id": "<string>",
"user_id": "<string>",
"access_level": 0,
"service_id": "tracecat-runner"
},
"parent_wf_exec_id": "<string>",
"workflow_timeout": 123
}
],
"interaction_states": {}
}
Authorizations
Path Parameters
Query Parameters
Response
200
application/json
Successful Response
The response is of type object
.
Was this page helpful?
{
"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": [
{
"event_id": 123,
"event_time": "2023-11-07T05:31:56Z",
"event_type": "WORKFLOW_EXECUTION_STARTED",
"task_id": 123,
"event_group": {
"event_id": 123,
"udf_namespace": "<string>",
"udf_name": "<string>",
"udf_key": "<string>",
"action_id": "<string>",
"action_ref": "<string>",
"action_title": "<string>",
"action_description": "<string>",
"action_input": {
"task": {
"ref": "<string>",
"description": "<string>",
"action": "<string>",
"args": {},
"depends_on": [
"<string>"
],
"interaction": {
"type": "<string>",
"timeout": 123
},
"run_if": "<string>",
"for_each": "<string>",
"retry_policy": {
"max_attempts": 123,
"timeout": 123,
"retry_until": "<string>"
},
"start_delay": 123,
"wait_until": "<string>",
"join_strategy": "any"
},
"exec_context": {},
"run_context": {
"wf_id": "<string>",
"wf_exec_id": "<string>",
"wf_run_id": "<string>",
"environment": "<string>"
},
"interaction_context": {
"interaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"execution_id": "<string>",
"action_ref": "<string>"
}
},
"action_result": "<any>",
"current_attempt": 123,
"retry_policy": {
"max_attempts": 123,
"timeout": 123,
"retry_until": "<string>"
},
"start_delay": 0,
"join_strategy": "all",
"related_wf_exec_id": "<string>"
},
"failure": {
"message": "<string>",
"cause": {}
},
"result": "<any>",
"role": {
"type": "user",
"workspace_id": "<string>",
"user_id": "<string>",
"access_level": 0,
"service_id": "tracecat-runner"
},
"parent_wf_exec_id": "<string>",
"workflow_timeout": 123
}
],
"interaction_states": {}
}