Skip to main content
POST
/
api
/
v2
/
classify
/
async
Batch Classification
curl --request POST \
  --url https://extraction-api.nanonets.com/api/v2/classify/async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "input": [
    "file://a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "file://c3d4e5f6-a7b8-9012-cdef-a12345678901"
  ]
}
'
{
  "success": true,
  "message": "<string>",
  "total": 123,
  "items": [
    {
      "input": "<string>",
      "status": "queued",
      "record_id": "<string>",
      "file_id": "<string>",
      "error": "<string>"
    }
  ],
  "batch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

API key as Bearer token: Authorization: Bearer YOUR_API_KEY

Body

application/json
input
required

file://<uuid> URI or public URL. Async accepts a list (max 50).

config_id
string

config://<uuid> of a saved classify config

classification_config
object

Response

Batch classification queued

success
boolean
required
message
string
required
total
integer
required
items
object[]
required
batch_id
string<uuid>