API Reference
Workflows
Runs
Knowledge Bases
- GETGet Knowledge Base
- POSTAdd Knowledge Base
- GETGet Knowledge Bases
- DELDelete Knowledge Base
- PATCHUpdate Knowledge Base
- POSTAdd Knowledge Base Document
- GETGet Knowledge Base Document
- GETGet Knowledge Base Documents
- PATCHUpdate Knowledge Base Document
- DELDelete Knowledge Base Document
- POSTUpload Train Knowledge Base
- POSTGeneric Train Knowledge Base
- POSTRetry Reingesting all Documents with Errors
- GETGet Knowledge Base Running Jobs
Conversations
Knowledge Bases
Delete Knowledge Base Document
Delete a document from a knowledge base
DELETE
/
v1
/
knowledge-bases
/
{knowledge_base_id}
/
document
/
{document_id}
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"summary": "<string>",
"short_summary": "<string>",
"doc_type": "<string>",
"source_type": "Document",
"source_metadata": {},
"content_type": "<string>",
"has_conversion": true,
"status": "trained",
"doc_metadata": {},
"error": {},
"name": "<string>",
"prefix": "<string>",
"uri": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"size": 123,
"file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Authorizations
Response
200
application/json
Successful Response
The response is of type object
.
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"summary": "<string>",
"short_summary": "<string>",
"doc_type": "<string>",
"source_type": "Document",
"source_metadata": {},
"content_type": "<string>",
"has_conversion": true,
"status": "trained",
"doc_metadata": {},
"error": {},
"name": "<string>",
"prefix": "<string>",
"uri": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"size": 123,
"file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Assistant
Responses are generated using AI and may contain mistakes.