APIChat
Chat
Chat endpoint (PUBLIC — no JWT, uses X-API-Key). Returns RAG-generated answer with source documents. Errors: 401 (invalid/missing API key), 422 (invalid question), 503 (OpenAI unavailable). Honors the optional `Idempotency-Key` header: a retry within 24h replays the original response instead of re-running the LLM pipeline.
POST
/
chatRequest Body
application/jsonRequiredquestionRequiredQuestion
User question
Maximum length:
1000session_idSession Id
Optional session ID; auto-generated if not provided
bot_public_idBot Public Id
Optional bot to address. If omitted (or empty), the tenant's default bot is used. Must belong to the authenticated tenant and be active.
Header Parameters
X-API-KeyX-Api-Key
X-Browser-LocaleX-Browser-Locale
Successful Response