Skip to main content
GET
Get workflow stats

Authorizations

api_key
string
header
required

Personal API key.

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 wall-clock duration of the runs in the window, in milliseconds.

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"