Skip to main content
GET
/
v2
/
workflows
/
{workflow_id}
/
files
curl -X GET 'https://api.anyformat.ai/v2/workflows/550e8400-e29b-41d4-a716-446655440000/files/?page=1&page_size=20' \
  -H 'Authorization: Bearer YOUR_API_KEY'
{
  "count": 15,
  "page": 1,
  "page_size": 20,
  "results": [
    {
      "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "name": null,
      "status": "processed",
      "created_at": "2024-03-24T12:00:00.000Z",
      "updated_at": "2024-03-24T12:05:00.000Z"
    },
    {
      "id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
      "name": null,
      "status": "in_progress",
      "created_at": "2024-03-24T13:00:00.000Z",
      "updated_at": "2024-03-24T13:00:30.000Z"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.anyformat.ai/llms.txt

Use this file to discover all available pages before exploring further.

Query Parameters

ParameterTypeDefaultDescription
pageinteger1Page number (minimum: 1)
page_sizeinteger20Items per page (minimum: 1, maximum: 100)
The maximum page_size is 100. Requests exceeding this value are silently capped at 100.

Possible status Values

StatusDescription
pendingFile created, processing not yet started
queuedWaiting for an available processing slot
in_progressProcessing is actively running
processedProcessing complete, results available
errorProcessing failed
cancelledProcessing was cancelled
curl -X GET 'https://api.anyformat.ai/v2/workflows/550e8400-e29b-41d4-a716-446655440000/files/?page=1&page_size=20' \
  -H 'Authorization: Bearer YOUR_API_KEY'
{
  "count": 15,
  "page": 1,
  "page_size": 20,
  "results": [
    {
      "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "name": null,
      "status": "processed",
      "created_at": "2024-03-24T12:00:00.000Z",
      "updated_at": "2024-03-24T12:05:00.000Z"
    },
    {
      "id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
      "name": null,
      "status": "in_progress",
      "created_at": "2024-03-24T13:00:00.000Z",
      "updated_at": "2024-03-24T13:00:30.000Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

workflow_id
string
required

Query Parameters

page
integer
default:1
Required range: x >= 1
page_size
integer
default:20
Required range: 1 <= x <= 100

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

Current page number.

page_size
integer
required

Number of results per page.