Get Credit Balance
credits
Get Credit Balance
Get current user’s credit balance and package information.
Returns comprehensive credit information including:
- Total credits available
- Credits used
- Current active package
- List of all active credit packages
Args: current_user: Authenticated user from JWT supabase_service: Supabase service instance
Returns: CreditBalanceResponse with complete credit information
Raises: HTTPException: If unable to retrieve credit balance
GET
Get Credit Balance
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
200 - application/json
Successful Response
User credit balance response model.