Account
Get Daily Usage
Returns aggregated usage for the requested time window, grouped by date, API key, model, and billing source. Use days for rolling windows or granularity and period for exact day/week/month periods. Useful for dashboards and spending analysis. Supports JSON and CSV export. Requires account:usage permission when using API keys.
get/account/usage/daily
Request
- Base URL: https://gen.pollinations.ai
- URL: https://gen.pollinations.ai/account/usage/daily
- Auth: HTTP bearer
Query parameters
format'json' | 'csv'
daysinteger
granularity'day' | 'week' | 'month'
periodstring
api_key_idsstring
Response
Usage records aggregated by date/API key/model/source
Changes
No recorded changes to this operation across all 1 revision of this API.