GET
Read this run's immutable schema, current status, matched categories and evaluated page numbers. Empty categories mean no match only when completed. Requires results:read. Recovery webhooks do not signal classification completion.
Bearerheader
AuthorizationBearer <token>Send your API key in the Authorization header: Bearer <api_key>.
document_id*stringclassification_id*stringClassification status and result
application/json- response
id*stringstatus*stringValue in
"pending""processing""completed""failed"document_id*stringNull until upload confirmation creates the Document.
schema*array<>Items
1 <= items <= 20categories*array<string>|Null until completed. An empty array is a successful classification with no matches.
evaluated_pages*array<>Original page numbers evaluated. Sampled or partially recovered content cannot establish categories on other pages.
detail*|nullcreated_at*stringFormat
date-timeupdated_at*stringFormat
date-timecompleted_at*|Format
date-timeExample Response
{ "id": "string", "status": "pending", "document_id": "string", "schema": [ { "category": "string", "criteria": [ "string" ] } ], "categories": [ "string" ], "evaluated_pages": [ 1 ], "detail": { "code": "classification_failed", "message": "string" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "completed_at": "2019-08-24T14:15:22Z"}