Skip to main content
POST
Ask the brain a grounded question

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Body

application/json
question
string
required

The question to answer.

Maximum string length: 4000
knowledge_base_id
string<uuid>

Knowledge base to scope to; defaults to the company default.

session_id
string

Thread id to continue a conversation.

Maximum string length: 128
filters
object

Restrict retrieval by source or recency.

Response

Grounded answer.

answer
string
citations
object[]
knowledge_base_id
string
answer_mode
enum<string>
Available options:
grounded,
synthesized
session_id
string