cURL
curl --request GET \ --url https://api.loova.ai/api/v1/credits \ --header 'Authorization: Bearer <token>'
{ "code": 200, "trace_id": "45c30d76f06549b199a3775544515689", "message": null, "data": { "api_available_credits": 47995, "api_total_credits": 51000 } }
Return the current API credit balance for the authenticated user.
Authorization: Bearer <api_key>
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
Show child attributes