project_id
as a path parameter to fetch responses related to a specific project.project_id
, refer to this guide:curl --location -g --request GET 'https:///v2/api/project/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": 2,
"agent_responses": [
{
"id": 101,
"comments": [
"string"
],
"feedback": [
"string"
],
"agent": {
"id": 5,
"agent_name": "Support Bot",
"agent_type": {
"name": "QnA"
},
"created_by": "admin@example.com",
"created_on": "2024-11-12T01:48:44.959126Z",
"agent_image": "https://example.com/default-agent.png",
"user": 3,
"project": 2
},
"question": "Hello, how can I reset my password?",
"response": {
"query": "Hello, how can I reset my password?",
"answer": "You can reset your password by clicking 'Forgot Password' on the login page.",
"references": [
"string"
],
"agent_mode": "QnA"
},
"created_by": "user@example.com",
"created_on": "2025-01-02T21:55:50.071072Z",
"query_source": "web",
"user": 4,
"chat_thread": 3
}
]
}
}