API ReferenceKnowledge base documents
Delete document from Knowledge Base
Deletes a specific document from the Knowledge Base.
Authorization
ApiKeyAuth AuthorizationBearer <token>
Bearer token for API authentication
In: header
Path Parameters
id*string
Unique ID of the Knowledge Base
documentId*string
Unique ID of the document
Response Body
curl -X DELETE "https://app.docutray.com/api/knowledge-bases/string/documents/string"Empty
Empty
Empty
Empty
Empty
Empty
Empty
Bulk upload documents with real-time progress POST
Uploads multiple documents to a Knowledge Base using Server-Sent Events (SSE) to provide real-time progress updates during the process. The endpoint processes documents in batches and provides: - Initial validation - Text preparation - Embedding generation - Database insertion - Final results
Get specific document from Knowledge Base GET
Retrieves a specific document by its ID within a Knowledge Base.