user_id
as a path parameter to fetch responses linked to a particular user.user_id
, refer to this guide:curl --location -g --request GET 'https:///v2/api/user/0/agent-response' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer '
{
"success": true,
"message": "Agent Response Found Successfully.",
"data": {
"count": 191,
"num_pages": 96,
"current_page": 1,
"agent_responses": [
{
"id": 191,
"comments": [
"string"
],
"feedback": [
"string"
],
"agent": {
"id": 4,
"agent_name": "Assistant Beta",
"agent_type": {
"name": "QnA"
},
"created_by": "user@example.com",
"created_on": "2024-11-25T16:18:53.126299Z",
"agent_image": "/path/to/defaultBotImg.png",
"user": 4,
"project": 1
},
"question": "How does the system handle missing values in reports?",
"response": {
"query": "Handling missing values in system reports",
"answer": "The system handles missing values by using predefined rules...",
"references": [
{
"url": "https://docs.example.com/en",
"order": 1,
"number": 0
}
],
"agent_mode": "QnA"
},
"created_by": "user@example.com",
"created_on": "2025-01-13T15:16:13.046203Z",
"query_source": "web",
"user": 4,
"chat_thread": 4
}
]
}
}