Credits
Get credits
Retrieve the authenticated user's credit balances.
Requires an API key with the read scope.
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication. Create a key in your Account settings.
Pass the full key in the Authorization header:
Authorization: Bearer vsl_...Keys are shown only once at creation. Treat them like passwords.
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/credits"{ "payPerUseBalance": 12.5, "subscriptionBalance": 0}{ "error": { "code": "missing_api_key", "message": "string" }}{ "error": { "code": "missing_api_key", "message": "string" }}{ "error": { "code": "missing_api_key", "message": "string" }}