- API Reference
- endpoint
- Workflows
Workflows Runs
Workflows Runs
GET /v1/workflows/runs
List Runs
List Runs
Parameters
workflow_identifier
string | nullqueryFilter by workflow name or id
root_execution_id
string | nullqueryFilter by root execution id; returns the whole execution tree (the root and all its descendant sub-workflows).
search
string | nullquerySearch by workflow name, display name, or ID
status
"RUNNING" | "COMPLETED" | "FAILED" | "CANCELED" | "TERMINATED" | "CONTINUED_AS_NEW" | "TIMED_OUT" | "RETRYING_AFTER_ERROR" | array<"RUNNING" | "COMPLETED" | "FAILED" | "CANCELED" | "TERMINATED" | "CONTINUED_AS_NEW" | "TIMED_OUT" | "RETRYING_AFTER_ERROR"> | nullqueryFilter by workflow status
deployment_name
string | nullqueryFilter by deployment name
sort_by
"start_time" | "end_time"queryField to sort by
order
"asc" | "desc"querySort direction
start_time_after
date-time | nullqueryInclude runs with start_time >= value
start_time_before
date-time | nullqueryInclude runs with start_time <= value
end_time_after
date-time | nullqueryInclude runs with end_time >= value. Running executions (no end_time) are excluded; use the status filter to include them.
end_time_before
date-time | nullqueryInclude runs with end_time <= value. Running executions (no end_time) are excluded; use the status filter to include them.
user_id
string | nullqueryFilter by user id. Use 'current' to filter by the authenticated user
workflow_tags
array<string> | nullqueryFilter to runs of workflows tagged with all listed tags (AND).
exclude_workflow_tags
array<string> | nullqueryExclude runs of workflows tagged with any of the listed tags.
include_internal
booleanqueryInclude runs of internal/technical workflows (e.g. parallel-execution)
page_size
integerqueryNumber of items per page
next_page_token
string | nullqueryToken for the next page of results
search_key
array<string> | nullqueryFilter executions by search key as repeated entries (max 3, AND'd together). 'key:value' matches a similar value, 'key==:value' matches the exact value, a bare 'key' matches executions that have the key set at all, and 'key==' matches executions whose value for the key is null.
Responses
Successful Response
A list of workflow executions
WorkflowExecutionWithoutResultResponse
deployment_name
string | nullThe name of the deployment that ran this execution
end_time
date-time | null* requiredThe end time of the workflow execution, if available
execution_id
string* requiredThe ID of the workflow execution
parent_execution_id
string | nullThe parent execution ID of the workflow execution
root_execution_id
string* requiredThe root execution ID of the workflow execution
run_id
string | nullThe unique run identifier (database UUID)
start_time
date-time* requiredThe start time of the workflow execution
status
"RUNNING" | "COMPLETED" | "FAILED" | "CANCELED" | "TERMINATED" | "CONTINUED_AS_NEW" | "TIMED_OUT" | "RETRYING_AFTER_ERROR"* requiredThe status of the workflow execution
total_duration_ms
integer | nullThe total duration of the trace in milliseconds
user_id
string | nullThe ID of the user who triggered the execution
workflow_id
string | nullThe ID of the workflow
workflow_name
string* requiredThe name of the workflow
next_page_token
string | nullToken to use for fetching the next page of results. Null if this is the last page.
GET /v1/workflows/runs/{run_id}
Get Run
Get Run
Parameters
run_id
stringpath* requiredResponses
Successful Response
deployment_name
string | nullThe name of the deployment that ran this execution
end_time
date-time | null* requiredThe end time of the workflow execution, if available
execution_id
string* requiredThe ID of the workflow execution
parent_execution_id
string | nullThe parent execution ID of the workflow execution
result
any | null* requiredThe result of the workflow execution, if available
root_execution_id
string* requiredThe root execution ID of the workflow execution
run_id
string | nullThe unique run identifier (database UUID)
search_keys
map<string | null> | nullThe execution's search keys (metadata), if requested via include_search_keys.
start_time
date-time* requiredThe start time of the workflow execution
status
"RUNNING" | "COMPLETED" | "FAILED" | "CANCELED" | "TERMINATED" | "CONTINUED_AS_NEW" | "TIMED_OUT" | "RETRYING_AFTER_ERROR"* requiredThe status of the workflow execution
total_duration_ms
integer | nullThe total duration of the trace in milliseconds
user_id
string | nullThe ID of the user who triggered the execution
workflow_id
string | nullThe ID of the workflow
workflow_name
string* requiredThe name of the workflow
GET /v1/workflows/runs/{run_id}/history
Get Run History
Get Run History