Answer a question
Authorization
host AuthorizationBearer <token>
Checked by host({authenticate}), which maps the request to a Principal or rejects it.
In: header
Path Parameters
thread_id*string
Lowercase UUID string. Writers MUST generate UUIDv7; readers accept any lowercase UUID, so the version is not an admission rule.
Match
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$call_id*string
Tool call id; may be provider-issued. The effect key is derived: <branch_id of the tool_call event>:<call_id>.
Match
^[A-Za-z0-9_.-]{1,128}$Query Parameters
branch_id?string
Default: the thread's main branch.
Match
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
The answer to an ask_user question: text, or the chosen options.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/threads/string/questions/string/answer" \ -H "Content-Type: application/json" \ -d '{ "answer": "string" }'{ "event_id": "string"}