Skip to main content

aiCreditWalletBalance

Requires permission billing:ai_credit:read.

The org's AI-credit wallet balance for the settings page.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query AiCreditWalletBalance {
aiCreditWalletBalance {
balanceCents
balanceDollars
}
}

Response:

{
"data": {
"aiCreditWalletBalance": {
"balanceCents": 0,
"balanceDollars": "string"
}
}
}
aiCreditWalletBalance: AiCreditWalletBalance!

Type​

AiCreditWalletBalance object​

The organization's AI credit balance.