Credits API
This API allows you to retrieve the total number of credits available on your account, including credits linked to your subscription and additional credits.Authentication (required)
Since the migration to the App Router, authentication is required for this endpoint:- Header
x-api-key: Your API key (generated in the Developer Space) - Request body
user_id: The user identifier associated with this API key
Retrieve your credits
This endpoint allows you to obtain detailed information about your available credits.Request Parameters
string
required
The unique user identifier (UUID) that you can retrieve from your Developer Space
Response
number
The total number of credits available on your account
number
The number of credits from your subscription
number
The number of additional credits purchased separately
