v51

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

Reset Copilot Usage

Reset the daily CoPilot rate limit by spending credits.

Allows users who have hit their daily cost limit to spend credits to reset their daily usage counter and continue working. Returns 400 if the feature is disabled or the user is not over the limit. Returns 402 if the user has insufficient credits.

post/api/chat/usage/reset

Response

Successful Response

successboolean required
credits_chargedinteger required

Credits charged (in cents)

remaining_balanceinteger required

Credit balance after charge (in cents)