Skip to main content
GET
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.

Scopes

billing:read

Response

Credit balance.

balance
integer
required

Current top-up credit balance for the organization. Scans reserve whole credits from this balance.

chat_balance
integer
required

Whole credits that Chat can still spend. This value is balance, or balance plus one while Chat holds the unspent part of a credit that it started to use.

price_per_credit_cents
integer
required

List price of one credit in USD cents, before the volume discount.

volume_discount
object
required

Volume discount on a single top-up. The discount is 0% up to start_credits, grows with the logarithm of the amount, and reaches max_discount_percent at max_credits and above. The price of a top-up is credits * price_per_credit_cents * (1 - discount), rounded to the cent.