Skip to main content
Initiate document processing for an uploaded file. The document goes through conversion (PDF/DOCX to markdown), chunking, and embedding generation.

Endpoint

Authentication

Required.

Request body

string
required
The agent ID the document belongs to.
string
required
The document ID to process.

Response

boolean
Whether processing was initiated.
string
Processing job ID for status polling.
string
Status message.

Example

Response

Document processing is asynchronous. Use Conversion Status to check progress. Processing typically takes 10–60 seconds depending on document size.