Skip to main content
GET
/
workflows
/
{workflow_id}
/
runs
[Beta] List workflow runs
curl --request GET \
  --url https://api.open.cx/workflows/{workflow_id}/runs \
  --header 'Authorization: Bearer <token>'
{
  "runs": [
    {
      "id": "<string>",
      "workflow_id": 123,
      "status": "canceled",
      "trigger_cause": "automatic",
      "duration_in_seconds": 123,
      "run_started_at": "2023-11-07T05:31:56Z",
      "run_ended_at": "2023-11-07T05:31:56Z",
      "is_test_run": true,
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "total_items": 123,
  "total_pages": 123,
  "has_next_page": true,
  "current_page": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workflow_id
string
required

Query Parameters

page
number
default:1

Page number (1-based)

limit
number
default:20

Results per page (max 50)

status
string

Comma-separated statuses: completed, failed, in_progress, canceled, idle

trigger_cause
string

Comma-separated causes: manual, automatic, scheduled

Response

Default Response

runs
object[]
required
total_items
number
required
total_pages
number
required
has_next_page
boolean
required
current_page
number
required