Account
Get Usage History
Returns your request history with per-request details: model used, token counts, cost, and response time. Defaults to the last 30 days, supports up to 90 days via days, or exact day/week/month periods via granularity and period. Supports JSON and CSV export. Each response is capped at 50,000 rows. Use before with before_event_id for stable cursor-based pagination. API keys require the read-only account:usage permission.
get/account/usage
Request
- Base URL: https://gen.pollinations.ai
- URL: https://gen.pollinations.ai/account/usage
- Auth: HTTP bearer
Query parameters
format'json' | 'csv'
limitinteger
before_event_idstring
daysinteger
granularity'day' | 'week' | 'month'
periodstring
api_key_idsstring
modelsstring
Response
Usage records
Changes
No recorded changes to this operation across all 1 revision of this API.