Classify the pages of a document into classes you define.
This endpoint accepts PDFs, images, and other supported file types
(either as a document upload or document_url) together with a
list of classes, and returns a classification result for each page.
For EU users, use this endpoint:
https://api.va.eu-west-1.landing.ai/v1/ade/classify.
Your unique API key for authentication.
Get your API key here: https://va.landing.ai/settings/api-key.
If using the EU endpoint, get your API key here: https://va.eu-west-1.landing.ai/settings/api-key.
The possible classes that can be assigned to pages in the document. Each entry is an object with a class name and an optional description. Only one class is assigned per page; unclassifiable pages receive 'unknown'. Can be provided as a JSON string in form data.
A file to be classified. Either this parameter or the document_url parameter must be provided.
The URL of the document to be classified. Either this parameter or the document parameter must be provided.
Classification model version. Defaults to the latest.