Workflows
Get Workflow Runs
API Reference
Collections
Records
Workflows
- GETDiscover Workflows
- GETGet Discoverable Workflow
- GETGet Discoverable Workflow Version
- POSTRun Discoverable Workflow
- POSTCancel a Discoverable Workflow Run
- GETGet Workflows
- GETGet a Workflow
- GETGet Workflow Runs
- POSTRun a Workflow
- POSTReplay a Workflow Run
- GETGet a Workflow Run
- POSTCancel a Workflow Run
- GETGet Workflow Versions
- GETGet a Workflow Version
Tests
Variables
Workflows
Get Workflow Runs
Retrieve a list of runs for a specific workflow.
GET
/
apps
/
{app_id}
/
workflows
/
{workflow_id}
/
runs
curl --request GET \
--url https://api.withcortex.ai/apps/{app_id}/workflows/{workflow_id}/runs
[
{
"id": "<string>",
"input": {},
"output": [
{
"status": "RUNNING",
"key": "<string>",
"output": "<any>",
"start": 123
}
],
"status": "PENDING",
"origin": "WORKFLOW",
"started_at": "2023-12-25",
"ended_at": "2023-12-25",
"workflow_id": "<string>",
"workflow_version_draft": {
"key": "<string>",
"input": {},
"input_default": {},
"steps": [
{
"type": "code",
"key": "<string>",
"conditional": "<string>",
"loop": "<string>",
"code": "<string>"
}
]
},
"workflow_version": {
"id": "<string>",
"description": "<string>",
"version": 123,
"created_at": "2023-12-25",
"key": "<string>",
"input": {},
"input_default": {},
"steps": [
{
"type": "code",
"key": "<string>",
"conditional": "<string>",
"loop": "<string>",
"code": "<string>"
}
]
},
"created_at": "2023-12-25",
"updated_at": "2023-12-25"
}
]
Query Parameters
Available options:
ALL
, WORKFLOW
, RECORD
, TEST
Available options:
ALL
, PENDING
, RUNNING
, COMPLETED
, SKIPPED
, FAILED
Response
200 - application/json
Available options:
PENDING
, RUNNING
, COMPLETED
, SKIPPED
, FAILED
Available options:
WORKFLOW
, RECORD
, TEST
Available options:
file
Available options:
file
Was this page helpful?
curl --request GET \
--url https://api.withcortex.ai/apps/{app_id}/workflows/{workflow_id}/runs
[
{
"id": "<string>",
"input": {},
"output": [
{
"status": "RUNNING",
"key": "<string>",
"output": "<any>",
"start": 123
}
],
"status": "PENDING",
"origin": "WORKFLOW",
"started_at": "2023-12-25",
"ended_at": "2023-12-25",
"workflow_id": "<string>",
"workflow_version_draft": {
"key": "<string>",
"input": {},
"input_default": {},
"steps": [
{
"type": "code",
"key": "<string>",
"conditional": "<string>",
"loop": "<string>",
"code": "<string>"
}
]
},
"workflow_version": {
"id": "<string>",
"description": "<string>",
"version": 123,
"created_at": "2023-12-25",
"key": "<string>",
"input": {},
"input_default": {},
"steps": [
{
"type": "code",
"key": "<string>",
"conditional": "<string>",
"loop": "<string>",
"code": "<string>"
}
]
},
"created_at": "2023-12-25",
"updated_at": "2023-12-25"
}
]