GET
/
v2
/
knowledge-bases
/
{kb_id}
/
documents
/
{document_id}
/
status
{
  "status": "processing",
  "message": "<string>",
  "document_ids": []
}

Path Parameters

kb_id
string
required
document_id
string
required

Response

200
application/json
Successful Response

Model for document processing status.

status
enum<string>
required

Current status of document processing: 'processing' while in progress, 'completed' when finished successfully, or 'failed' on error.

Available options:
processing,
completed,
failed
message
string | null

Optional message providing more details about the current processing status or any errors encountered.

document_ids
string[]

List of document IDs that were processed or are being processed.