Skip to main content
POST
/
agent
/
v1
/
chat
/
{id}
/
question
/
{requestID}
/
reply
Reply to agent question
curl --request POST \
  --url https://api.case.dev/agent/v1/chat/{id}/question/{requestID}/reply \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "answers": [
    [
      "<string>"
    ]
  ]
}
'
{
  "statusCode": 123,
  "statusMessage": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

Chat session ID

requestID
string
required

Pending question request ID

Body

application/json
answers
string[][]
required

Answer selections for each prompt element in the pending question

Response

Question answered successfully