Account status — wallet, concurrency, rate limits
curl --request GET \
--url https://api.apisale.ai/v1/account \
--header 'Authorization: <api-key>'import requests
url = "https://api.apisale.ai/v1/account"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.apisale.ai/v1/account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"organization_id": "<string>",
"api_key_id": "<string>",
"environment": "live",
"identity": {},
"wallet": {
"balance_usd": "<string>",
"reserved_usd": "<string>",
"available_usd": "<string>",
"total_spent_usd": "<string>",
"currency": "<string>"
},
"concurrency": {
"tier": "<string>",
"limit": 123,
"in_flight": 123,
"available": 123
},
"rate_limit": {
"per_minute": 123
},
"api_key_concurrency": {}
}Public Account
Account status — wallet, concurrency, rate limits
Single endpoint for balance and parallel-run capacity. Authenticate with the same API key used for inference (Authorization: Key … or Bearer …).
GET
/
v1
/
account
Account status — wallet, concurrency, rate limits
curl --request GET \
--url https://api.apisale.ai/v1/account \
--header 'Authorization: <api-key>'import requests
url = "https://api.apisale.ai/v1/account"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.apisale.ai/v1/account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"organization_id": "<string>",
"api_key_id": "<string>",
"environment": "live",
"identity": {},
"wallet": {
"balance_usd": "<string>",
"reserved_usd": "<string>",
"available_usd": "<string>",
"total_spent_usd": "<string>",
"currency": "<string>"
},
"concurrency": {
"tier": "<string>",
"limit": 123,
"in_flight": 123,
"available": 123
},
"rate_limit": {
"per_minute": 123
},
"api_key_concurrency": {}
}Authorizations
API key: Key sk-xxx or Bearer sk-xxx
Response
200 - application/json
Account wallet, concurrency, identity
Available options:
live, test Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
