v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01302395850.8 KB
v2
chat
chat

Get Copilot Usage

Get CoPilot usage status for the authenticated user.

Returns the percentage of the daily/weekly allowance used — not the raw spend or cap — so clients cannot derive per-turn cost or platform margins. Global defaults sourced from LaunchDarkly (falling back to config). Includes the user's rate-limit tier.

get/api/chat/usage

Response

Successful Response

tier'NO_TIER' | 'BASIC' | 'PRO' | 'MAX' | 'BUSINESS' | 'ENTERPRISE'

Subscription tiers with increasing cost allowances.

Mirrors the SubscriptionTier enum in schema.prisma. Once prisma generate is run, this can be replaced with::

from prisma.enums import SubscriptionTier
reset_costinteger

Credit cost (in cents) to reset the daily limit. 0 = feature disabled.