Skip to main content
The balance endpoint returns your current credit balances, plan caps, and billing window. Call it any time to check how many credits you have left and when your base balance next refreshes. For how the buckets and credit system work, see Plans and credits.

Request

curl
string
required
Your Kyara Intelligence API key, formatted as Bearer YOUR_API_KEY.

Response

A successful request returns a JSON object with your balances, caps, and the active billing window.
string
Always "balance".
boolean
true while you have credits remaining. Becomes false when your total balance is fully exhausted.
string
Your current Kyara plan identifier (e.g. "lite").
object
Your remaining credits broken down by type.
object
The maximum credit limits for your plan.
object
The current billing window for your base credit allocation.
object
The current billing window for your overage credit allocation.

Errors

Errors follow the standard OpenAI error format:
  • 401 authentication_error: your API key is missing, malformed, or invalid.
  • 500 server_error: the key is valid but Kyara hit missing or invalid balance data.
This endpoint never blocks on an empty balance. It always reports the current state and returns available: false when credits are exhausted rather than refusing the request.