Knowledge base
Get indexing status
GET
Returns the progress of an indexing job. Indexing usually completes within seconds. Scanned files take longer.
Jobs are retained for a limited time. After that, this request returns 404. Use the file's index_status from GET /knowledge-base/items instead.
Requires the agents:read scope.
apiKeyheader
X-API-Key<token>Your API key, from Settings → API access in the dashboard.
job_id*stringFormat
uuidThe job.
application/json- response
job_id?stringkb_item_id?stringfilename?stringstatus?stringValue in
"queued""processing""completed""failed"chunks_indexed?integer|nullerror?string|nullqueued_at?stringFormat
date-timecompleted_at?stringFormat
date-timecurl -X GET "https://example.com/knowledge-base/jobs/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "job_id": "a68caab0-a29e-47a1-a563-370928f8d03d", "kb_item_id": "6282b371-da50-4129-9115-6403b8918e1a", "filename": "Price list.pdf", "status": "completed", "chunks_indexed": 42, "error": null}