Skip to main content
POST
Get the next questions

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
required
Required string length: 8 - 128

Path Parameters

session_id
string
required
Required string length: 1 - 128

Body

application/json
state_version
integer
required
Required range: x >= 0
previous_turn
object
context_update
object
client_updates
object
selection
object

Response

Successful response.

request_id
string
required
session_id
string
required
decision_id
string | null
required
action
enum<string>
required
Available options:
ask,
stop
stop_reason
enum<string> | null
required
Available options:
no_question_available
candidates
object[]
required
Maximum array length: 10
progress
object
required
turn_count
integer
required
Required range: x >= 0
turns_remaining
integer
required
Required range: x >= 0
warnings
enum<string>[]
required
Available options:
max_turns_reached,
objective_achieved,
eligibility_exhausted_fallback,
constraints_relaxed
degraded
boolean
required
degraded_reasons
enum<string>[]
required
Available options:
missing_user_text,
summary_only_context,
semantic_service_unavailable,
unresolved_previous_turn
versions
object
required