Threads

Ask a choice question in a thread; persists both turns and returns the selected option indices

post/v1/threads/{threadId}/ask/choices

Path parameters

threadIdstring uuid required

Request body

questionstring required
choicesstring[] required
isMultipleChoiceboolean required

Response

Default Response

requestIdstring required
{"stackTrail":"paths:/v1/threads/{threadId}/ask/choices:post:responses:200:content:application/json:schema:properties:error","oasType":"schema","type":"unknown"}

Changes

Changed in 1 of the 2 revisions of this API.1