agents

Spend one Codex usage-limit reset of an account

Changed on
post/api/v1/agents/accounts/{accountId}/reset-credit

Request

  • Base URL
    http://127.0.0.1:3001
  • URL
    http://127.0.0.1:3001/api/v1/agents/accounts/{accountId}/reset-credit
  • Auth
    none declared

Path parameters

accountIdstring required

Agent account identifier; device-claude and device-codex are this computer's own logins.

Request body

idempotencyKeystring required

Response

OK

outcome'reset' | 'already_redeemed' | 'nothing_to_reset' required

Changes

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      endpoint added