List usage and charges
curl --request GET \
--url https://api.aireserve.com/v1/gpu/usage \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aireserve.com/v1/gpu/usage"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aireserve.com/v1/gpu/usage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"resourceType": "pod",
"resourceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "authorized",
"kind": "<string>",
"amountUsd": "<string>",
"intervalStart": "2023-11-07T05:31:56Z",
"intervalEnd": "2023-11-07T05:31:56Z"
}
],
"nextCursor": "<string>"
}GPU Compute
List usage and charges
Returns paginated compute and storage charge records for your organization. Each record is an immutable billing window with its interval, resource, and capture/authorization state. Captured charges for running hours are not automatically refunded on pod stop — only uncaptured holds are released. Response shape: { data: ComputeCharge[], nextCursor?: string }. Requires compute read access.
GET
/
v1
/
gpu
/
usage
List usage and charges
curl --request GET \
--url https://api.aireserve.com/v1/gpu/usage \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aireserve.com/v1/gpu/usage"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aireserve.com/v1/gpu/usage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"resourceType": "pod",
"resourceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "authorized",
"kind": "<string>",
"amountUsd": "<string>",
"intervalStart": "2023-11-07T05:31:56Z",
"intervalEnd": "2023-11-07T05:31:56Z"
}
],
"nextCursor": "<string>"
}Authorizations
Your AI Reserve API key (aireserve_api_…) from the API Keys page in the portal (https://portal.aireserve.com/keys).