Objects
AnswerResponse
The assistant's answer (POST /v1/ask, POST /v1/chat without streaming, and the done event of the stream). There are several forms: a regular answer; “no documents” (empty: no_hits, without provenance); a refusal on a restricted topic (empty: restricted with restricted); and a guardrail refusal (empty: guardrail with guardrail, where the text is the organization's standard refusal message). A cached answer has cached: true and cache_hit (an exact repeat or an answer to a similar question). An answer based only on verified cards (VERIFIED_ONLY) has verified_only: true.
Fields
answerstringrequiredquestion_idintegerrequiredquerystringcollectionstringrequiredprovenancearray of NumberProvenanceemptystringAllowed values:
no_hitsrestrictedguardrailno_data_for_periodbasisAnswerBasisverificationAnswerVerificationalt_periodsarray of AnswerAltPerioditems ≤ 6
drilldownarray of AnswerDrilldownitems ≤ 20
restrictedRestrictedInfoguardrailGuardrailVerdictverified_onlybooleancachedbooleancache_hitAnswerCacheHitout_of_scopeAnswerOutOfScopeattachmentsarray of Attachmentexport_errorstringtoolsstring | nullWhy tools were used for this answer:
request(asked for explicitly);compare,compute,action(based on the question);needs_calc(a calculation over tables is needed);summary(an overview of a collection or documents);mcp(the organization has connected external MCP servers).Allowed values:
requestcomparecomputeactionneeds_calcsummarymcpnulltool_callsarray of ToolCallInfocalculationsarray of Calculationpending_actionsarray of PendingActionconversation_idstringOnly for
POST /v1/chatwith a conversation.answer_idstringID of the answer object.