Get workflow stats
Counts each workflow’s runs over a time window, for a health view.
One row per workflow that ran in the window, with how many runs finished, failed, or were cancelled, and how long they took on average. A workflow with no runs in the window does not appear.
The window defaults to the last 24 hours. Set since and until to choose your own. A window longer than 30 days is not rejected: since is moved forward so the window ends at until and covers the 30 days before it, and nothing in the response says that happened. Ask for at most 30 days if you need the range you sent to be the range you get.
This endpoint is limited to 30 requests per minute.
Authorizations
Personal API key.
Path Parameters
ID of the app whose workflows you want to work with.
Query Parameters
Start of the window, as an ISO 8601 datetime. Defaults to 24 hours ago.
End of the window, as an ISO 8601 datetime. Defaults to now.
Response
One row per workflow that ran in the window.
ID of the workflow these counts belong to.
"68b1c0d4e7b91d003c45a1f2"
Runs that started in the window.
48
Runs that finished successfully.
44
Runs that ended in an error.
3
Runs that were cancelled before finishing.
1
Mean wall-clock duration of the runs in the window, in milliseconds.
1840.5
Status of that most recent run. Empty when no run happened in the window.
"completed"
When the most recent run in the window started, or null when none ran.
"2026-08-25T09:12:44Z"