Skip to main content
GET
/
v1
/
get_credit_balance
{
  "credit_balance": 123,
  "plan": "<string>",
  "unlimited": true,
  "next_reset": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

API key for authentication. Get your API key at https://app.heytessa.ai/settings

Response

Credit balance retrieved successfully

User's credit balance and subscription information

plan
string
required

Current subscription plan: 'free', 'pro', 'enterprise'

unlimited
boolean
required

Whether the user has unlimited credits (enterprise plan)

credit_balance
integer | null

Number of credits remaining. NULL for enterprise users with unlimited usage

next_reset
string | null

ISO 8601 timestamp when credits reset (for non-enterprise plans)

message
string | null

Additional information about the credit status

I