Skip to main content

Classification API

Purpose

The classification API identifies the most likely document type before extraction.

Request Guidance

  • Authenticate with a platform token or API key.
  • Provide the document identifier or upload reference expected by the endpoint.
  • Route low-confidence or unexpected results to review.
  • Use the classification result to select the correct extraction template.
caution

Some xTrakt backend responses are returned with Content-Type: text/plain while the body contains JSON. API clients should parse the response body as JSON even when the content type is not application/json.

Generated Reference