Account

Get usage history

Credits and export rows used per time bucket.

get/api/usage-history

Request

  • Base URL: https://api.xpoz.ai
  • URL: https://api.xpoz.ai/api/usage-history
  • Auth: HTTP bearer

Query parameters

range'today' | '7d' | 'current_month' | 'lifetime'

Time range.

granularity'hour' | 'day'

Bucket size.

Response

Usage history.

range'today' | '7d' | 'current_month' | 'lifetime' required
granularity'hour' | 'day' required
generatedAtstring date-time required

Changes

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