Classifications
Read Classification
GET
Read a Classification. With wait, long-poll until it finishes: 200 when done or failed, 202 while it runs.
job_id*Job IdFormat
uuidwait?WaitSeconds to wait for the Job to finish. 200 when it is done or failed, 202 while it runs.
Range
0 <= value <= 30Default
0x-workspace-id?|The Workspace to act on. Required for the Root Key and global API Keys, optional for bound ones.
Successful Response
application/json- response
status?StatusDefault
"ok"data*{ "status": "ok", "data": { "id": "string", "workspaceId": "string", "createdAt": "string", "documentId": "string", "status": "idle", "credits": 0, "config": { "perimeter": "local", "parsing": { "tier": "fast", "pages": "string" }, "tier": "fast", "instructions": "string", "categories": [ { "name": "string", "description": "string" } ], "allowEmpty": true }, "output": { "value": { "category": { "name": "string", "description": "string" }, "motivation": "string" }, "truncated": false } }}List Classifications GET
List the Classifications of the workspace, newest first, optionally for one Document.
Submit Extraction POST
Submit an Extraction. Pass `documentId` for an uploaded Document, or `file` to upload it in the same call. Returns 200 when the Extraction finishes within `wait`, 202 otherwise.