product:chat
Query Team Usage Statistics
Retrieve team-level usage statistics from the warehouse database. Returns all 16 metrics grouped by team with cursor-based pagination.
Date Range Options (mutually exclusive):
- Use 'month' parameter (YYYY-MM format) for monthly aggregated values
- Use 'start_date'/'end_date' parameters (YYYY-MM-DD format) for daily breakdown
- If neither provided, defaults to current month (monthly mode)
Team Filter:
- Use 'team' to return a single team's stats (empty string selects users not assigned to any team)
- Mutually exclusive with the 'next' pagination cursor
This endpoint is server-side only.
post/stats/team_usage
Request body
Response
Query Team Usage Stats Response