curl --location -g --request POST 'https:///api/v2/agents//responses' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"history": [
{
"user": "string",
"bot": "string"
}
],
"model": "string",
"chat_thread_id": 0,
"overrides": {
"sources": true,
"corpus_ids": [
0
]
},
"query_source": "string"
}'
{
"message": "string",
"success": true,
"data": {
"answer": "string",
"sources": "string",
"followup_questions": [
"string"
],
"indexes": [
"string"
],
"query": "string",
"total_tokens": 0,
"prompt_tokens": 0,
"completion_tokens": 0,
"cache_hit": true,
"history": [
{
"user": "string",
"bot": "string"
}
],
"prompt_prefix": "string",
"instructions": [
"string"
],
"agent_mode": "string",
"references": [
{
"number": 0,
"url": "string",
"order": 0
}
],
"success": true,
"corpus_ids": [
0
],
"run_id": "string",
"chat_thread_name": "string",
"thread_id": 0,
"agent_response_id": 0
}
}