Get a question and its answer
GET
/api/v1/questions/{id}answer, confidence and the attention fields are populated once
state reaches complete. When sufficient_context is false the
knowledge base did not hold enough to answer confidently.
Authorizations
Section titled “Authorizations”Path Parameters
Section titled “Path Parameters”NameType
id
required
string
The record’s prefixed ID
Responses
Section titled “Responses”200
The question
The question
Response body
Media typeapplication/json
object
id
string
question
string
answer
string | null
Set once state is complete
verbatim_answer
boolean
The answer was copied verbatim from a single knowledge base item
state
string
confidence
number | null
confidence_rationale
string | null
answer_detail_level
string
custom_prompt
string | null
requires_attention
boolean
attention_points
Array<string> | null
Points a human should check before relying on the answer
sufficient_context
boolean | null
Whether the knowledge base held enough to answer
created_at
string format: date-time
updated_at
string format: date-time
404
No such record in this account
No such record in this account
Response body
Media typeapplication/json
object
error
object
code
string
A stable machine-readable code
message
string
details
Array<string>
Present on validation errors; one entry per failed validation