Skip to main content
Upload and manage PDF documents in your knowledge base.

Upload

REST API

curl -X POST http://localhost:9100/knowledge/documents \
  -H "Authorization: Bearer $TOKEN" \
  -F "file=@report.pdf"

CLI

kioku knowledge-upload ./report.pdf
# Uploaded report.pdf

Response

{
    "id": "doc-1",
    "filename": "report.pdf",
    "status": "processing"
}
Processing happens asynchronously — the PDF text is extracted, chunked, and embedded on the server.

List Documents

kioku knowledge-documents

Delete Document

kioku knowledge-delete doc-1
# Deleted document doc-1
Deleting a document removes it and all its embeddings from Qdrant. The knowledge search will no longer return results from that document.