Credits
Retrieves the current credit balance for the user.
Authorizations
AuthorizationstringRequired
Enter your API key or JWT with the 'Bearer ' prefix
Responses
200
Successfully retrieved credit balance
application/json
Response model for the user credits endpoint. Contains the current credit balance.
num_creditsnumber ยท floatRequired
Current credit balance for the user
401
Not authenticated
application/json
404
User not found
application/json
get/api/credits
curl -X GET "https://app.morphware.com/api/credits" \
-H "Authorization: Bearer <YOUR_TOKEN>"
{
"num_credits": 1000
}Last updated