Classify
Classify a document inline
Classifies a document into one of the categories provided in the request body. No saved Classifier required. The document must already be uploaded and OCR-processed (see Run Extract) before it can be classified.
post/v1/classify
Request
- Base URL: https://api.documentpro.ai
- URL: https://api.documentpro.ai/v1/classify
- Auth: API key in header x-api-key
Request body
Example request
{
"classification_schema": [
{
"label": "invoice",
"description": "A document requesting payment for goods or services rendered"
}
],
"page_range": "1-3"
}Response
Classification result.
Changes
No recorded changes to this operation across all 1 revision of this API.