Agent credentials

Get subscription usage

Reads live from Anthropic and OpenAI how much of each connected Claude and ChatGPT subscription's 5-hour and weekly limits is used. Muse Code and OpenCode Go do not report usage. Without scope, returns your personal subscriptions followed by the organization's, each in the order workspaces use them.

get/v1/agents/subscription-usage

Request

  • Base URL
    https://api.replicas.dev
  • URL
    https://api.replicas.dev/v1/agents/subscription-usage
  • Auth
    HTTP bearer

Query parameters

scope'user' | 'org'

Only user (needs a personal API key) or only org subscriptions.

Headers

X-Replicas-Api-Version'2026-10-07'

API version. 2026-10-07 returns snake_case responses. See versioning.

Response

Success

Changes

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