What you can do
Ingest documents
Upload files or raw content via
POST /v1/documents/ingest. Knowledge Stack processes, chunks, and indexes them automatically. Ingesting a new version of an existing document is equally straightforward.Semantic search
Run natural-language queries against your knowledge base with
POST /v1/chunks/search. Results are ranked by semantic relevance, not just keyword overlap.AI threads
Create a thread and send user messages. Knowledge Stack retrieves relevant context from your documents and streams an AI-generated response — no RAG plumbing required on your end.
Multi-tenant workspaces
Every resource belongs to a tenant. You can create and manage multiple tenants, keeping each customer’s knowledge completely isolated.
Permissions & groups
Control who can read or write specific parts of your knowledge base using path-level permissions. Group users together and assign permissions to the group.
Custom workflows
Define ingestion workflows and invoke them on demand. Monitor runs, inspect status, and rerun failed jobs through the Workflows API.
Base URL
All API requests go to:/v1. A full request path looks like:
API version
The current API version is v1. The version is part of every endpoint path, not a header.Next steps
Quick Start
Make your first API call in minutes — ingest a document, run a search, and start a conversation.
Authentication
Learn how to get an API key and authenticate your requests.