Get Agent Response Dashboard
POST
/v2/api/agent-response/dashboard
Agent Response
How This Endpoint Works
Query Parameters
Parameter | Type | Description |
---|---|---|
items_per_page | int | Number of responses to return per page. Default is 50 |
page | int | The page number to retrieve. Default is 1. |
Key Features
Complete Guide on Managing Agent Responses & Chat Logs
Complete Guide on Agent Responses & Chat Logs
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v2/api/agent-response/dashboard?items_per_page&page' \
--header 'Content-Type: application/json' \
--data-raw '{
"user_ids": [
1,
2,
3
],
"agent_ids": [
1,
2,
3
],
"project_ids": [
1,
2,
3
],
"response_quality": "upvote",
"comments": true,
"query_source": "web",
"success_status": "successful",
"from_date": "2023-01-01",
"to_date": "2023-12-31",
"export": false
}'
Response Response Example
{
"success": true,
"message": "Agent Responses Found Successfully.",
"data": {
"count": 20,
"num_pages": 10,
"current_page": 2,
"chatlogs": [
{
"id": 10550,
"comments": [
"string"
],
"feedback": [
"string"
],
"agent": {
"id": 1257,
"agent_name": "Support Bot",
"agent_type": {
"name": "QnA"
},
"created_by": "user@example.com",
"created_on": "2025-01-13T17:49:26Z"
},
"question": "What is your policy on sick leave?",
"response": {
"query": "",
"answer": "Our sick leave policy allows employees to take up to 10 days off per year.",
"references": [
"string"
],
"agent_mode": ""
},
"created_by": "admin@example.com",
"created_on": "2025-01-13T17:50:07Z",
"query_source": "web",
"user": 160,
"chat_thread": 4140
}
]
}
}
Request
Query Params
items_per_page
integerÂ
required
Example:
2
page
integerÂ
required
Example:
2
Body Params application/json