Skip to main content
GET

Query Parameters

The maximum page_size is 100. Requests exceeding this value are silently capped at 100.
Each result’s id is the collection id. The accompanying file_id is the file’s UUID — pass it to Run Uploaded File (POST /v2/workflows/{workflow_id}/files/{file_id}/run/) to start extraction on an already-uploaded file.

Possible status Values

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

page
integer
default:1
deprecated

Deprecated. Use cursor for stable keyset pagination — offset pagination can skip or repeat rows when the underlying list changes between requests.

Required range: x >= 1
page_size
integer
default:20
Required range: 1 <= x <= 100
cursor
string | null

Opaque token from a previous response's next_cursor. When present, page is ignored and pagination uses keyset order.

Response

Successful Response

results
CollectionListItem · object[]
required

List of items for the current page.

count
integer
required

Total number of items matching the query.

page
integer
required
deprecated

Deprecated. Current page number when using offset pagination. Prefer next_cursor.

page_size
integer
required

Number of results per page.

next_cursor
string | null

Opaque token to fetch the next page in keyset order. Present when the caller sent a cursor query param and more rows may follow; null on the last page. Ignore unless you're using cursor pagination — offset pagination via page is unaffected.