Upload and manage knowledge sources for RAG pipelines.
Knowledge Base API
Base path: /api/v1/knowledge · Requires Authorization: Bearer <jwt>
GET /api/v1/knowledge
Returns all knowledge sources for the authenticated user.
POST /api/v1/knowledge
Rate limit: 5 req/min
Content-Type: multipart/form-datafile: <binary> # .pdf or .txt, max 50MBname: "Refund Policy"type: "pdf" # pdf | txt | url
Response 202:{ "id": "uuid", "status": "processing", "message": "File received. Chunking and embedding in progress." }Poll GET /api/v1/knowledge/:id every 3 seconds until status === "ready".