Flow Runs
Read Flow Run Graph V1
APIs & SDK
- Overview
- Python SDK Overview
- REST API
- REST API overview
- Cloud API
- Server API
- Server API Overview
- Root
- Flows
- Flow Runs
- POSTCreate Flow Run
- GETRead Flow Run
- DELDelete Flow Run
- PATCHUpdate Flow Run
- POSTCount Flow Runs
- POSTAverage Flow Run Lateness
- POSTFlow Run History
- GETRead Flow Run Graph V1
- GETRead Flow Run Graph V2
- POSTResume Flow Run
- POSTRead Flow Runs
- POSTSet Flow Run State
- POSTCreate Flow Run Input
- POSTFilter Flow Run Input
- GETRead Flow Run Input
- DELDelete Flow Run Input
- POSTRead Flow Runs
- GETDownload Logs
- PATCHUpdate Flow Run Labels
- POSTRead Flow Run History
- POSTCount Task Runs By Flow Run
- POST
- Task Runs
- Flow Run States
- Task Run States
- Flow Run Notification Policies
- Deployments
- SavedSearches
- Logs
- Concurrency Limits
- Concurrency Limits V2
- Block types
- Block documents
- Work Pools
- Task Workers
- Work Queues
- Artifacts
- Block schemas
- Block capabilities
- Collections
- Variables
- GETCreate Csrf Token
- Events
- Automations
- UI
- Admin
Flow Runs
Read Flow Run Graph V1
Get a task run dependency map for a given flow run.
GET
/
api
/
flow_runs
/
{id}
/
graph
Copy
[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"upstream_dependencies": [
{
"input_type": "task_run",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"state": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "SCHEDULED",
"name": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"message": "Run started",
"data": "<any>",
"state_details": {
"flow_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"task_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"child_flow_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scheduled_time": "2023-11-07T05:31:56Z",
"cache_key": "<string>",
"cache_expiration": "2023-11-07T05:31:56Z",
"deferred": true,
"untrackable_result": false,
"pause_timeout": "2023-11-07T05:31:56Z",
"pause_reschedule": false,
"pause_key": "<string>",
"run_input_keyset": {},
"refresh_cache": true,
"retriable": true,
"transition_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"task_parameters_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"traceparent": "<string>"
}
},
"expected_start_time": "2023-11-07T05:31:56Z",
"start_time": "2023-11-07T05:31:56Z",
"end_time": "2023-11-07T05:31:56Z",
"total_run_time": 123,
"estimated_run_time": 123,
"untrackable_result": true
}
]
Headers
Path Parameters
The flow run id
Response
200 - application/json
Represents the state of a run.
Enumeration of state types.
Available options:
SCHEDULED
, PENDING
, RUNNING
, COMPLETED
, FAILED
, CANCELLED
, CRASHED
, PAUSED
, CANCELLING
Data associated with the state, e.g. a result. Content must be storable as JSON.
Was this page helpful?
Copy
[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"upstream_dependencies": [
{
"input_type": "task_run",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"state": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "SCHEDULED",
"name": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"message": "Run started",
"data": "<any>",
"state_details": {
"flow_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"task_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"child_flow_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scheduled_time": "2023-11-07T05:31:56Z",
"cache_key": "<string>",
"cache_expiration": "2023-11-07T05:31:56Z",
"deferred": true,
"untrackable_result": false,
"pause_timeout": "2023-11-07T05:31:56Z",
"pause_reschedule": false,
"pause_key": "<string>",
"run_input_keyset": {},
"refresh_cache": true,
"retriable": true,
"transition_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"task_parameters_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"traceparent": "<string>"
}
},
"expected_start_time": "2023-11-07T05:31:56Z",
"start_time": "2023-11-07T05:31:56Z",
"end_time": "2023-11-07T05:31:56Z",
"total_run_time": 123,
"estimated_run_time": 123,
"untrackable_result": true
}
]