Skip to content

Get the billing summary

GET
/api/v1/billing

Requires the admin role.

200

Billing summary

Response body
Media typeapplication/json
object
subscription
object
active
boolean
credit_billed
boolean
credits_remaining
number | null
seats
object
purchased
integer
used
integer
available
integer
questions_this_month
integer
monthly_usage
Array<object>
object
label
string
key
string
credits_used
number
questions
integer

403

Insufficient scope, role, or credits

Response body
Media typeapplication/json
object
error
object
code
string

A stable machine-readable code

message
string
details
Array<string>

Present on validation errors; one entry per failed validation