Skip to main content
POST
Parse a Batch
Send up to 50 documents in one request, mixing:
  • files: one or more multipart file parts;
  • urls: an array of links, or a JSON array string in a multipart request;
  • fileIds: an array of fileIds.
The options are the same as POST /parse and apply to every document. Each document becomes its own job. One that can’t be fetched or read is reported on its own and doesn’t stop the others.

Check a batch

GET /api/parse/batch/{batchId} returns status (running or completed), counts per status, creditsUsed and each document’s status and progress. Add ?include=results to get each finished document’s Markdown.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

files
file[]
urls
string

JSON array of links.

fileIds
string

JSON array of fileIds.

options
string

Options as a JSON string.

Response

202 - application/json

Queued

batchId
string
documents
object[]