Quickstart
Upload a document, wait for processing, and retrieve structured data.
1. Create an API key
Create a key in the Kita dashboard with
document:write and document:read scopes. Keep it on your backend.
2. Upload a document
Replace the file path and choose a document type enabled for your organization.
The response is 202 Accepted. Save document_id:
Response abbreviated. Poll with document_id, not the queue job_id.
3. Wait for completion
Poll every few seconds with backoff and a client-side timeout. Continue while
status is pending or processing. Stop on completed or failed;
a failed job includes an error and can still return HTTP 200.
4. Retrieve the result
The response contains document.status and, after completion, document.result.
For bank statements, transactions and metrics are in document.result.extracted_data.
See Results.


