Skip to main content

Documentation Index

Fetch the complete documentation index at: https://orbit-docs.devotel.io/llms.txt

Use this file to discover all available pages before exploring further.

Knowledge Bases API

Upload documents (PDFs, Word, plain text, web pages) into per-tenant vector stores. AI agents query these stores at run time to ground their responses. Each knowledge base is an independent index — you’d typically have one per topic (“Product manuals”, “HR policies”, “Refund flow”). Base path: /v1/knowledge-bases Authentication: API key (X-API-Key) or session JWT. Upload limits: 10 MB per document. PDF, DOCX, TXT, MD, and HTML supported.

Knowledge bases

MethodPathPurpose
GET/v1/knowledge-basesList knowledge bases
POST/v1/knowledge-basesCreate a knowledge base
GET/v1/knowledge-bases/{id}Get a knowledge base
PUT/v1/knowledge-bases/{id}Update name / description
DELETE/v1/knowledge-bases/{id}Delete (purges all documents)

Documents

MethodPathPurpose
GET/v1/knowledge-bases/{id}/documentsList documents
POST/v1/knowledge-bases/{id}/documentsUpload (multipart)
DELETE/v1/knowledge-bases/{id}/documents/{docId}Remove a document
POST/v1/knowledge-bases/{id}/documents/{docId}/retryRetry a failed indexing job
Indexing happens asynchronously. A document goes through processingready (or failed); poll GET /:id/documents or subscribe to the kb.document.ready webhook.
MethodPathPurpose
POST/v1/knowledge-bases/{id}/searchSemantic search across documents
curl -X POST https://orbit-api.devotel.io/api/v1/knowledge-bases/kb_abc/search \
  -H "X-API-Key: dv_live_sk_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{ "query": "How do refunds work for international orders?", "top_k": 4 }'

See also