Skip to main content
POST
/
api
/
v1
/
extract
/
batch
Batch Extract
curl --request POST \
  --url https://api.example.com/api/v1/extract/batch \
  --header 'Content-Type: multipart/form-data' \
  --form 'schema=<string>' \
  --form 'urls=<string>' \
  --form model=auto \
  --form use_vision=false \
  --form follow_links=false \
  --form 'webhook_url=<string>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Headers

X-API-Key
string

Body

multipart/form-data
schema
string
required

JSON schema — applied to every item

files
string[]

Files to extract data from

urls
string | null

JSON array of URLs to extract from

model
string
default:auto

Model: 'fast', 'accurate', or 'auto'

use_vision
boolean
default:false

Use vision mode

Follow internal links (URLs only)

webhook_url
string | null

URL to POST results when the entire batch completes

Response

Successful Response