Endpoint
POST
/v1/session/metrics/queryAuthentication
This endpoint requires API key authentication. Include your API key in the request headers:Request Body
Filter sessions by name substring
Timezone offset in minutes
Percentile size for metrics calculation. Options: “p50”, “p75”, “p95”, “p99”, “p99.9”
Whether to use interquartile range for outlier detection
Advanced filter for sessions
Response
Session metrics data
Average cost per session
Average tokens per session
Average number of requests per session
Total number of sessions
Sum of all session costs
Sum of all tokens used
Sum of all requests
Error message if the request failed, null otherwise