Billing/AI Credits Analytics API endpoint
As a Gleap customer, I'd like programmatic access to AI credit/token usage and billing data via the REST API (or as additional MCP statistics tools), similar to what's already available for support/ticket metrics.
Currently, AI usage (tokens consumed, cost per model, billing period totals) is only visible in the Gleap dashboard under Project Settings. There's no way to pull this data via api.gleap.io/v3 or through the existing statistics MCP tools (get_raw_data_statistics, get_statistics_bar_chart, etc.), which only cover support/ticket metrics.
Use case: We want to track AI credit consumption programmatically to feed it into our internal reporting/finance workflows (e.g. cost attribution per project), instead of manually checking the dashboard each month.
Requested:
A REST endpoint (e.g. GET /v3/billing/ai-usage) returning token/credit consumption broken down by date range and/or model
Alternatively, an MCP tool (e.g. get_ai_credits_usage) exposing the same data
Happy to provide more context if useful.