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

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

Response

success
boolean
Whether processing was initiated.
callId
string
Processing job ID for status polling.
message
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.