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"
  }
]

Path Parameters

app_id
string
required
workflow_id
string
required

Query Parameters

origin
enum<string>
Available options:
ALL,
WORKFLOW,
RECORD,
TEST
status
enum<string>
Available options:
ALL,
PENDING,
RUNNING,
COMPLETED,
SKIPPED,
FAILED
page
number
take
number

Response

200 - application/json
id
string
required
input
object | null
required
output
object[] | null
required
status
enum<string>
required
Available options:
PENDING,
RUNNING,
COMPLETED,
SKIPPED,
FAILED
origin
enum<string>
required
Available options:
WORKFLOW,
RECORD,
TEST
started_at
string | null
required
ended_at
string | null
required
workflow_id
string
required
workflow_version_draft
object | null
required
workflow_version
object | null
required
created_at
string | null
required
updated_at
string | null
required