Account

Get API Key Usage

Returns usage history for the API key used in the request. No scope required — a key can always read its own usage. Use before with before_event_id for stable cursor-based pagination. For account-wide usage across all keys, use /account/usage with account:usage.

get/account/key/usage

Request

  • Base URL: https://gen.pollinations.ai
  • URL: https://gen.pollinations.ai/account/key/usage
  • Auth: HTTP bearer

Query parameters

format'json' | 'csv'
limitinteger
string
OR
string date-time
before_event_idstring
daysinteger
granularity'day' | 'week' | 'month'
periodstring
api_key_idsstring
modelsstring

Response

Usage records for this key

countnumber required

Number of records returned

Changes

No recorded changes to this operation across all 1 revision of this API.