Skip to main content
GET
Rate limit tier: general, 600 requests/min. See Rate limits. Returns one keyset page of a workflow’s runs, newest first. Follow next_cursor until it is null. See Pagination. Each item is slim: id, document_packet_id, status, timestamps and usage. For the results envelope, fetch GET /v3/runs/{run_id}/.

Pages and credits

usage gives {pages, credits}: the pages the run billed and the credits it spent, the same numbers as results.usage on the run and as the usage page. The key is absent until the run has a charge. A packet run again is billed again, so each run counts its own pages.

Filter by upload day

Two optional ISO 8601 datetime query params narrow the page to runs whose document packet was created inside the half-open interval [after, before):
  • document_packet_created_after is the inclusive lower bound.
  • document_packet_created_before is the exclusive upper bound.
Adjacent day-buckets tile without overlap. after=2026-07-17T00:00:00 & before=2026-07-18T00:00:00 returns exactly July 17. That is the shape a daily-batch workflow wants: upload on day N, let cron enqueue the runs, fetch the results on day N+1. Timezones. Both bounds accept any ISO 8601 offset, such as Z, +02:00 or -05:00. A value with no offset counts as UTC. Use your local offset when “one day” means a day in your timezone. The examples below cover UTC and Madrid summer time.

Authorizations

Authorization
string
header
required

API key issued from app.anyformat.ai/api-key. Send as Authorization: Bearer <key>.

Path Parameters

workflow_id
string
required

Query Parameters

limit
integer
default:20

Page size, capped at 100.

Required range: 1 <= x <= 100
cursor
string | null

Opaque token from a previous response's next_cursor.

document_packet_created_after
string | null

Include only runs whose document packet was created at or after this ISO 8601 datetime (inclusive lower bound). Combine with document_packet_created_before to fetch one day's uploads.

document_packet_created_before
string | null

Include only runs whose document packet was created before this ISO 8601 datetime (exclusive upper bound). Adjacent day-buckets tile without overlap: after=2026-07-17T00:00:00 & before=2026-07-18T00:00:00 is exactly July 17.

Response

Successful Response

One keyset page of runs.

Fixed (-created_at, -id) order. No totals or page numbers — iterate by following next_cursor until it is null.

items
RunSummaryV3 · object[]
required

Runs on this page, newest first.

next_cursor
string | null

Opaque token to fetch the next page; pass it back as ?cursor=. null on the last page.