Ask a question
/api/v1/questionsAnswering runs asynchronously: the response is 202 Accepted with the
question in its initial state. Poll GET /api/v1/questions/{id} until
state is complete. Rate limited to 10 per minute. Consumes credits.
Viewers may ask questions; this is the one write that a read-only role
is allowed, though the token still needs the write scope.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
object
Extra instructions for the model
0 = low, 1 = normal, 2 = high
Responses
Section titled “Responses”202
Accepted; poll for the answer
Accepted; poll for the answer
object
Set once state is complete
The answer was copied verbatim from a single knowledge base item
Points a human should check before relying on the answer
Whether the knowledge base held enough to answer
403
Out of credits, or no active subscription (usage_blocked)
Out of credits, or no active subscription (usage_blocked)
object
object
A stable machine-readable code
Present on validation errors; one entry per failed validation
422
The record could not be saved
The record could not be saved
object
object
A stable machine-readable code
Present on validation errors; one entry per failed validation