Get user chat statistics via API key
Get user chat statistics via API key
Get chat statistics for the user associated with the API key. Requires CHAT scope.
GET
Get user chat statistics via API key
Authorizations
Enter your LeanMCP API key
Response
200 - application/json
Chat statistics retrieved successfully
Total number of chats
Example:
25
Total number of messages across all chats
Example:
250
Average messages per chat
Example:
10.5
Models used and their frequency
Example:
{
"claude-3-sonnet": 15,
"claude-3-haiku": 10
}Date of most active day
Example:
"2025-06-15"
Total chats created this week
Example:
5
Total messages sent this week
Example:
45

