Skip to main content
GET
Get AI credit controls

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Response

Current credit controls. Thresholds are null when the corresponding control is off.

accountCreditLimit
number
required

Monthly AI credit limit for the whole Omni account, which is shared across every organization associated with the account. 0 when no limit is configured.

Required range: x >= 0
Example:

2000

creditsUsed
number
required

This organizations's credit usage for the current billing period.

Required range: x >= 0
Example:

450

downgradeCredits
number | null
required

Downgrade threshold, or null if the downgrade control is off.

Required range: x >= 0
Example:

800

periodEnd
integer
required

End of the current billing period as a Unix ms timestamp (UTC calendar-month boundary).

Required range: x >= 0
periodStart
integer
required

Start of the current billing period as a Unix ms timestamp (UTC calendar-month boundary).

Required range: x >= 0
shutoffCredits
number | null
required

Shutoff threshold, or null if the shutoff control is off.

Required range: x >= 0
Example:

1200

userDefaultCredits
number | null
required

Default per-user AI credit limit, or null when users are unlimited by default.

Required range: x >= 0
Example:

100