Skip to main content
POST
AI-powered question answering

Authorizations

x-api-key
string
header
required

Optional API key for authentication (enabled via application.yaml)

Body

application/json
query
string
required

The question to answer

context
string
required

Context text to base the answer on (e.g., retrieved document chunks)

sources
object[]

Optional provenance handles for the context (e.g. find_data results or datris* fields from search hits). Echoed back unchanged on the response; never fed to the model.

Response

AI-generated answer

answer
string
sources
object[]

The request's sources array, echoed unchanged