Chat with knowledge bases
Knowledge Base
Chat with knowledge bases
OpenAI-compatible chat endpoint with knowledge base RAG support (stateless)
POST
Chat with knowledge bases
Authorizations
Bearer token authentication. Supports two token types:
- JWT Access Token — obtained via
POST /v1/auth/login - Personal Access Token (PAT) — created via
POST /v1/api-tokens, format:cmnd_<tokenId>.<secret>
Body
application/json
Example:
"gpt-4o-mini"
Knowledge base IDs to use for context
Example:
["kb_abc123", "kb_def456"]Required range:
0 <= x <= 2Required range:
x >= 1Required range:
0 <= x <= 1
