Usage

Get usage

Usage rollups (request count, credits charged, error count) for the organization, most recent first. Rollups are bucketed monthly: date is the month's first day (YYYY-MM-01). Optionally filter by a from/to date range; each bound applies independently.

get/v1/usage

Request

  • Base URL: https://api.hotapi.ai
  • URL: https://api.hotapi.ai/v1/usage
  • Auth: HTTP bearer

Query parameters

fromstring

Start date YYYY-MM-DD (inclusive).

tostring

End date YYYY-MM-DD (inclusive).

Response

Daily usage rollups, most recent first.

Example response

{
  "data": [
    {
      "date": "2026-05-28",
      "model": "z-image-spicy",
      "request_count": 42,
      "error_count": 1
    }
  ]
}

Changes

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