Get analytics
get_analyticsGet a chatbot's usage and feedback over a period (default the last 30 days, at most 90): messages, conversations, thumbs up and down, active users, leads, a weekly trend, channels, locations, and the most recent rated answers with their conversationId for review_conversations.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | Last day, YYYY-MM-DD (UTC); default today. | |
| feedback | No | Which rated answers to list (default thumbs_down). | |
| chatbotId | No | The chatbot ID from list_chatbots. Omit it to use the chatbot this session is about. | |
| startDate | No | First day, YYYY-MM-DD (UTC). |