POST
/
parse
/
statements
/
batch
curl --request POST \
  --url https://api.invaro.ai/api/v1/parse/statements/batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "files": [
    {
      "document_id": "uuid-of-document-1"
    },
    {
      "document_id": "uuid-of-document-2"
    }
  ]
}'
{
  "success": true,
  "data": {
    "batch_id": "batch_123",
    "status": "pending",
    "job_ids": [
      "job_1",
      "job_2"
    ],
    "created_at": "2024-01-07T10:00:00Z",
    "updated_at": "2024-01-07T10:00:00Z"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
files
object[]
required
Example:
[
  { "document_id": "uuid-of-document-1" },
  { "document_id": "uuid-of-document-2" }
]

Response

200 - application/json
Batch processing started successfully
success
boolean
Example:

true

data
object