OpenAI is partnering with Hacktron to find vulnerabilities in its systems. Read the announcement.

Skip to content Hacktron Sign in [S]
Hacktron Sign in [S] Customers Docs Contact Sign in

Get automation credit balance

1 min
, View, ChatGPT, Claude, Perplexity, OpenAPI

Copy page

Get automation credit balance

View MarkdownOpen in ChatGPTOpen in ClaudeOpen in PerplexityDownload OpenAPI

Returns the organisation’s automation credits, which Remediation runs are charged to, with the totals purchased, used, and granted. balance can be negative. is_unlimited is true for organisations whose runs are never charged.

For Whitebox credits, use GET /credits.

Request

GET /credits/automation

Send an API key with the read scope in the X-Api-Key header.

Responses

200 OK

FieldDescription
organization_id
string, required
Organisation UUID.
balance
number, required
Current automation credit balance (may be negative).
total_purchased
number, required
Total automation credits purchased across all time.
total_used
number, required
Total automation credits deducted for completed runs.
total_granted
number, required
Total automation credits granted.
used_this_period
number, required, nullable
Credits deducted since the start of the current billing period, null when the organisation has no billing period.
is_unlimited
boolean, required
Whether runs are exempt from automation credit charges.
[↓] [↑] [enter] to visit
Menu
[M]
Next in menu
[J]
Previous in menu
[K]
Find
[F]
Ask
[A]
Sign in
[S]
Copy page
[C]
Listen
[L]
Justification
[R]
Language
[G]
Dark mode
[D]
High contrast
[H]
Shortcuts
[I]
Close
[Esc]