Classify
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The URL of the document to be classified. You can provide one of the following:
- A publicly available URL
- A presigned S3 URL
- A reducto:// prefixed URL obtained from the /upload endpoint after directly uploading a document
Force the endpoint result to be returned in URL form.
A list of classification categories and their matching criteria.
The page range to process (1-indexed). By default, the first 5 pages are used. If more than 25 pages are selected, only the first 25 (after sorting) are used. Only applies to PDFs; ignored for other document types.
Optional document-level metadata to include in classification prompts.
Response
Successful Response
Response from classify job - returned when polling /job/{job_id}
- ClassifyResponseCategory
- UrlResult
"classify"Overall confidence breakdown for classification response.
The duration of the classify request in seconds.