Skip to main content
GET
Get workflow stats

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Path Parameters

app_id
string
required

ID of the app whose workflows you want to work with.

Query Parameters

since
string | null

Start of the window, as an ISO 8601 datetime. Defaults to 24 hours ago.

until
string | null

End of the window, as an ISO 8601 datetime. Defaults to now.

Response

One row per workflow that ran in the window.

workflow_id
string
required

ID of the workflow these counts belong to.

Example:

"68b1c0d4e7b91d003c45a1f2"

total
integer
required

Runs that started in the window.

Example:

48

completed
integer
required

Runs that finished successfully.

Example:

44

failed
integer
required

Runs that ended in an error.

Example:

3

cancelled
integer
required

Runs that were cancelled before finishing.

Example:

1

avg_duration_ms
number
required

Mean duration of the runs in the window, in milliseconds, including time spent in wait tasks.

Example:

1840.5

last_run_status
string
required

Status of that most recent run. Empty when no run happened in the window.

Example:

"completed"

last_run_at
string | null

When the most recent run in the window started, or null when none ran.

Example:

"2026-08-25T09:12:44Z"