Account

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

Request

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

    • breaking

      the response's property type changed from no type to object for status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      endpoint added