Classify
Run Classify
Classifies a document into predefined categories
POST
This API endpoint processes a document (either a file or a URL) and assigns it a classification based on predefined categories. If the document does not match any predefined category, the response will return NO_MATCH
as the classification result.
Body Parameters
Unique identifier of the classification to use.
URL of the document to classify. Required if a file is not provided.
A file to classify. Use multipart/form-data
as the Content-Type header.
Required if a URL is not provided.
Response
The classification result containing the selected category.