v1
latestOpenAPI 3.1.02026-08-04134182237.9 KBGet Admin Stats
Get platform statistics for admin dashboard.
Query parameters
Time period: last_day, last_week, last_month, last_90_days, last_year, custom
Time period: last_day, last_week, last_month, last_90_days, last_year, custom
Start date for custom period (ISO format: YYYY-MM-DD)
Start date for custom period (ISO format: YYYY-MM-DD)
End date for custom period (ISO format: YYYY-MM-DD)
End date for custom period (ISO format: YYYY-MM-DD)
Filter by API key types (comma-separated): demo, completion, compress, or None for all
Filter by API key types (comma-separated): demo, completion, compress, or None for all
Filter by compression models (comma-separated, e.g., americano, latte) or None for all
Filter by compression models (comma-separated, e.g., americano, latte) or None for all
Filter by customer tiers (comma-separated, e.g., tier1, tier2, tier3) or None for all
Filter by customer tiers (comma-separated, e.g., tier1, tier2, tier3) or None for all
Invalidate cache and fetch fresh from DB. (Legacy alias: refresh)
Invalidate cache and fetch fresh from DB. (Legacy alias: refresh)
DEPRECATED — use skip_cache. Kept for backward compatibility.
DEPRECATED — use skip_cache. Kept for backward compatibility.
Response
Successful Response