curl --location -g --request POST 'https:///api/v2/agents//responses/log' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"chat_thread_id": 0,
"agent_id": 0,
"user_id": 0,
"llm_config_id": 0,
"question": "string",
"response": {
"property1": null,
"property2": null
},
"total_tokens": 0,
"prompt_tokens": 0,
"completion_tokens": 0,
"created_by": "string",
"cache_hit": true,
"query_source": "web",
"message_id": "string",
"guardrail_triggered": true
}'
{
"message": "string",
"success": true,
"data": {
"id": 0,
"question": "string",
"response": {
"property1": null,
"property2": null
},
"created_by": "string",
"created_on": "2019-08-24T14:15:22Z",
"is_deleted": true,
"total_tokens": -2147483648,
"prompt_tokens": -2147483648,
"completion_tokens": -2147483648,
"cache_hit": true,
"query_source": "string",
"message_id": "string",
"cost": "string",
"pinned": true,
"guardrail_triggered": true,
"chat_thread": 0,
"agent": 0,
"user": 0,
"llm_config": 0
}
}