curl --request GET \
--url https://paradigm.lighton.ai/api/v2/reporting/chats-feedback/ \
--header 'Authorization: Bearer <token>'{
"metadata": {
"likes_count": {
"description": "<string>",
"unit": "<string>"
},
"dislikes_count": {
"description": "<string>",
"unit": "<string>"
},
"copies_count": {
"description": "<string>",
"unit": "<string>"
},
"model_responses_count": {
"description": "<string>",
"unit": "<string>"
}
},
"reporting": [
{
"company": {
"name": "<string>",
"id": 123
},
"dates": [
{
"date": "2023-12-25",
"model_responses_count": 123,
"feedbacks": {
"likes_count": 123,
"dislikes_count": 123,
"copies_count": 123
}
}
]
}
]
}This endpoint allows you to retrieve a company’s chat feedback report. The start date is required, but the end date is by default today. It is restricted to admin and company admin users. Admin users can optionally filter by company.
curl --request GET \
--url https://paradigm.lighton.ai/api/v2/reporting/chats-feedback/ \
--header 'Authorization: Bearer <token>'{
"metadata": {
"likes_count": {
"description": "<string>",
"unit": "<string>"
},
"dislikes_count": {
"description": "<string>",
"unit": "<string>"
},
"copies_count": {
"description": "<string>",
"unit": "<string>"
},
"model_responses_count": {
"description": "<string>",
"unit": "<string>"
}
},
"reporting": [
{
"company": {
"name": "<string>",
"id": 123
},
"dates": [
{
"date": "2023-12-25",
"model_responses_count": 123,
"feedbacks": {
"likes_count": 123,
"dislikes_count": 123,
"copies_count": 123
}
}
]
}
]
}Bearer token authentication
The unique identifier of the company (optional for admin users).
The end date for the report (optional, defaults to today).
The start date for the report.
Successful response
Show child attributes
Show child attributes
Show child attributes