Account

Get Usage

Get daily usage data for the authenticated user, broken down by AI platform. Returns an array of per-day entries sorted by date ascending.

SDK Usage:

const usage = await client.getUsage(30);
get/api/user/usage

Query parameters

daysinteger

Number of days to look back (default 30)

Response

Daily usage data sorted by date ascending

datestring date

Date in YYYY-MM-DD format

chatgptinteger

Number of ChatGPT prompts on this date

claudeinteger

Number of Claude prompts on this date

geminiinteger

Number of Gemini prompts on this date

Example response

[
  {
    "date": "2026-02-19"
  }
]

Changes

Changed in 2 of the 5 revisions of this API.15

  • 0e1db3b6bc7c14See the full diff
    • the items/ response's property type/format changed from / to object/ for status 200

      response-property-type-changed

    • added the optional property items/chatgpt to the response with the 200 status

      response-optional-property-added

    • added the optional property items/claude to the response with the 200 status

      response-optional-property-added

    • added the optional property items/date to the response with the 200 status

      response-optional-property-added

    • added the optional property items/gemini to the response with the 200 status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 22 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog