curl --get 'https://api.anyformat.ai/v3/runs/' \
--data-urlencode 'ended_after=2026-12-01T10:00:00Z' \
--data-urlencode 'limit=500' \
-H 'Authorization: Bearer YOUR_API_KEY'
{
"items": [
{
"id": "069dcc2c-e14c-7606-8000-2ee4fb17b4f9",
"workflow_id": "0686bb97-8c30-70f0-8000-97669e000eb8",
"document_packet_id": "069dcc2c-e14c-7606-8000-2ee4fb17b4e1",
"status": "processed",
"ended_at": "2026-12-01T10:02:31.204Z"
}
],
"next_cursor": null
}
Runs
List Ended Runs
List the runs your organization ended since an instant, to poll many runs at once
GET
/
v3
/
runs
/
curl --get 'https://api.anyformat.ai/v3/runs/' \
--data-urlencode 'ended_after=2026-12-01T10:00:00Z' \
--data-urlencode 'limit=500' \
-H 'Authorization: Bearer YOUR_API_KEY'
{
"items": [
{
"id": "069dcc2c-e14c-7606-8000-2ee4fb17b4f9",
"workflow_id": "0686bb97-8c30-70f0-8000-97669e000eb8",
"document_packet_id": "069dcc2c-e14c-7606-8000-2ee4fb17b4e1",
"status": "processed",
"ended_at": "2026-12-01T10:02:31.204Z"
}
],
"next_cursor": null
}
Rate limit tier: general, 600 requests/min. See Rate limits.
Returns the runs of every workflow in your organization that reached a terminal status (
processed, error or cancelled) at or after ended_after, oldest ending first. Use it when you start many runs and want to know which finished without asking about each one: one poll covers every run in flight, whatever workflow it belongs to. Follow next_cursor until it is null. See Pagination.
Each item is slim: id, workflow_id, document_packet_id, status and ended_at. For the results envelope, fetch GET /v3/runs/{run_id}/.
Polling
Runs do not end in the order they started, so poll by time, not by run id:- Keep the latest
ended_atyou have seen. - Every minute or two, ask with
ended_afterset to a couple of minutes before it. A run’sended_atis stamped just before its ending commits, so a run can appear slightly later than itsended_atsays. - Skip the runs you already handled, keyed on
id. The overlap makes some runs appear in two polls.
curl --get 'https://api.anyformat.ai/v3/runs/' \
--data-urlencode 'ended_after=2026-12-01T10:00:00Z' \
--data-urlencode 'limit=500' \
-H 'Authorization: Bearer YOUR_API_KEY'
{
"items": [
{
"id": "069dcc2c-e14c-7606-8000-2ee4fb17b4f9",
"workflow_id": "0686bb97-8c30-70f0-8000-97669e000eb8",
"document_packet_id": "069dcc2c-e14c-7606-8000-2ee4fb17b4e1",
"status": "processed",
"ended_at": "2026-12-01T10:02:31.204Z"
}
],
"next_cursor": null
}
Authorizations
Query Parameters
Response
Successful Response

