List Runs
Page through your account's run history, filtered by status or workflow.
curl --fail-with-body --silent --show-error 'https://api.edgaze.ai/v1/runs' \ -H "Authorization: Bearer $EDGAZE_API_KEY"
Developers building a run history view.
https://api.edgaze.ai/v1/runsOverview#
Returns the runs owned by the API key's account, newest first. Every run counts: those started by any key on the account and those started from the web UI both appear here.
The list response omits outputs and reason to stay compact. Read Get Run when you need a single run in full.
Runs are scoped to the API key owner, so this endpoint never returns another account's runs.
Authorization#
run:readParameters#
Headers
AuthorizationstringheaderrequiredBearer token with run:read scope.
Example: Bearer edgaze_sk_live_…
Query parameters
statusstringqueryFilter by status: pending (not started yet, including runs waiting for capacity), running, completed, failed, or cancelled.
Example: completed
workflowstringqueryOnly return runs of this workflow id.
Example: 550e8400-e29b-41d4-a716-446655440000
cursorstringquerypagination.nextCursor from the previous page. Recommended over offset. Cannot be combined with offset.
Example: eyJ2IjoxLCJzIjoi…
offsetintegerqueryPagination offset. Defaults to 0. Prefer cursor.
Example: 0
limitintegerqueryPage size from 1 to 50. Defaults to 24.
Example: 24
Response#
Example payloads are in the request/response panel above.
Each row carries id, status, workflowId, workflowVersionId, startedAt, completedAt, displayedChargeUsd, billingStatus, and outcome (completed or completed_with_issues for a completed run, otherwise null). A run waiting for capacity lists as pending and matches ?status=pending until it starts. The pagination object reports the offset and limit that were applied, hasMore, and nextCursor.
Paging#
Pass pagination.nextCursor as cursor to fetch the next page, and stop when it is null:
curl -s "https://api.edgaze.ai/v1/runs?limit=50" -H "Authorization: Bearer $EDGAZE_API_KEY" curl -s "https://api.edgaze.ai/v1/runs?limit=50&cursor=$NEXT_CURSOR" -H "Authorization: Bearer $EDGAZE_API_KEY"
Prefer cursor to offset. The list is newest first, so every run created while you page shifts the offsets by one, and offset paging can then show a run twice or skip one. A cursor continues after the last run you received, however many runs arrive in the meantime. Treat the cursor as opaque: do not parse or build it. cursor and offset cannot be combined, and a cursor this endpoint did not issue returns 400 invalid_cursor. offset keeps working, and offset pages also return nextCursor, so you can switch at any point.
Edge cases#
An offset shifts by one row for every run created while you page, so offset paging can repeat or skip runs. A cursor continues after the last run you received, however many runs arrive meanwhile.
A suspended run is reported as running in this list. GET /runs/{id} reports the precise state.
Only runs belonging to the API key's account are returned, including runs started from the web UI.
Rows omit outputs and reason to keep the query flat. Fetch GET /runs/{id} for those fields.
Was this useful?
Your response helps us improve the documentation.