Skip to main content
PUT
Error

Authorizations

Authorization
string
header
required

API token obtained from the Tokens endpoint or CLI device login. Include as Authorization: Bearer <token>. Requests made with a managed CLI session also include X-Strix-Workspace: <organization_id> to pin a process to the workspace it started in; recovery endpoints report the current workspace after a concurrent switch.

Body

application/json
enabled
boolean
required
topup_credits
integer
required
Required range: 1 <= x <= 10000
monthly_cap_credits
integer | null

Maximum automatically purchased credits per calendar month. An omitted field keeps the stored cap. An explicit null removes the cap.

Response

Updated settings.

enabled
boolean
required

True when automatic top-up is active.

topup_credits
integer
required

Credits purchased for each automatic top-up.

Required range: 1 <= x <= 10000
monthly_cap_credits
integer | null
required

Maximum automatically purchased credits per calendar month. Null removes the cap.

used_this_month
integer
required

Credits already purchased automatically this month.