Create classification request
POST/v1/classification-requests
Submit a document for classification. Returns the type (one of 17 catalog values or UNKNOWN). Supports sync and async modes. Optionally chains validation with auto_validate=true.
Request
Responses
- 200
- 202
- 401
- 403
- 409
- 413
- 422
- 429
- 502
- 504
Sync mode result
Async mode accepted
Missing or invalid Bearer token
Lacks authority, tenant mismatch, or document_type not allowed
Idempotency mismatch or state conflict
Inline file exceeds size limit
Body validation error (Pydantic), SSRF block, MIME issue, agreement ambiguous, unknown document_type, etc.
Daily quota or rate limit exceeded. additional_information.retry_after_seconds indicates wait time.
Upstream engine failed after DVS retries
Sync request exceeded processing budget. The resource continues processing — poll the GET endpoint with the returned id.