Get Credits
GET/v1/credits
Returns the number of credits remaining in your account.
Responses
- 200
- 401
- 429
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
credits_remaining string
The number of credits remaining in your account.
{
"credits_remaining": 42
}
The authentication token is missing or invalid.
- application/json
- Schema
- Example (from schema)
Schema
error string
error_code string
Possible values: [invalid_auth_token
]
{
"error": "API Token not found",
"error_code": "invalid_auth_token"
}
Rate limit exceeded
- application/json
- Schema
- Example (from schema)
Schema
error string
error_code string
Possible values: [rate_limit_exceeded
]
{
"error": "Too many requests",
"error_code": "rate_limit_exceeded"
}
Internal service error
Loading...