Gateway
Get remaining credits
Returns remaining credits and usage statistics for the authenticated workspace. Management API key required.
get/credits
Request
- Base URL: https://api.phaseo.app/v1
- URL: https://api.phaseo.app/v1/credits
- Auth: HTTP bearer
Query parameters
workspace_idstring uuid
Optional workspace override. Must match the authenticated workspace unless using an internal control caller.
Response
Credit information
Example response
{
"credits": {
"remaining": 15000000000,
"balance_nanos": 15000000000,
"reserved_nanos": 1000000000,
"available_nanos": 14000000000,
"thirty_day_usage": -250000000,
"thirty_day_requests": 1250
}
}Changes
No recorded changes to this operation across all 1 revision of this API.