Get volume
curl --request GET \
--url https://api.aireserve.com/v1/gpu/volumes/{volumeId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aireserve.com/v1/gpu/volumes/{volumeId}"
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/volumes/{volumeId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"status": "requested",
"region": "<string>",
"dataCenterId": "<string>",
"datacenter": "<string>",
"sizeGb": 0,
"attachedPodId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"attachedInstanceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"hourlyRateUsd": "<string>",
"rateUsdPerHour": "<string>",
"billsUntilDeleted": true,
"survivesStop": true,
"survivesTerminate": true,
"multiAttach": false,
"paidThroughAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"attachedClusterId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"delinquency": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>",
"unpaidAmountUsd": "<string>",
"graceEndsAt": "2023-11-07T05:31:56Z"
}
}{
"error": {
"message": "<string>",
"type": "invalid_request_error",
"param": "<string>",
"code": "<string>",
"details": {}
}
}{
"error": {
"message": "<string>",
"type": "invalid_request_error",
"param": "<string>",
"code": "<string>",
"details": {}
}
}{
"error": {
"message": "<string>",
"type": "invalid_request_error",
"param": "<string>",
"code": "<string>",
"details": {}
}
}{
"error": {
"message": "<string>",
"type": "invalid_request_error",
"param": "<string>",
"code": "<string>",
"details": {}
}
}GPU Infrastructure
Get volume
State, size, billing status, and any active delinquency episode. Requires compute read access.
GET
/
v1
/
gpu
/
volumes
/
{volumeId}
Get volume
curl --request GET \
--url https://api.aireserve.com/v1/gpu/volumes/{volumeId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aireserve.com/v1/gpu/volumes/{volumeId}"
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/volumes/{volumeId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"status": "requested",
"region": "<string>",
"dataCenterId": "<string>",
"datacenter": "<string>",
"sizeGb": 0,
"attachedPodId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"attachedInstanceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"hourlyRateUsd": "<string>",
"rateUsdPerHour": "<string>",
"billsUntilDeleted": true,
"survivesStop": true,
"survivesTerminate": true,
"multiAttach": false,
"paidThroughAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"attachedClusterId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"delinquency": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>",
"unpaidAmountUsd": "<string>",
"graceEndsAt": "2023-11-07T05:31:56Z"
}
}{
"error": {
"message": "<string>",
"type": "invalid_request_error",
"param": "<string>",
"code": "<string>",
"details": {}
}
}{
"error": {
"message": "<string>",
"type": "invalid_request_error",
"param": "<string>",
"code": "<string>",
"details": {}
}
}{
"error": {
"message": "<string>",
"type": "invalid_request_error",
"param": "<string>",
"code": "<string>",
"details": {}
}
}{
"error": {
"message": "<string>",
"type": "invalid_request_error",
"param": "<string>",
"code": "<string>",
"details": {}
}
}Authorizations
bearerAuthapiKeyAuth
Your AI Reserve API key (aireserve_api_…) from the API Keys page in the portal (https://portal.aireserve.com/keys).
Path Parameters
Response
OK
A network volume. Storage bills hourly regardless of pod state until deleted.
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Available options:
requested, provisioning, ready, reconciling, deleting, deleted, failed Normalized region. Instances that mount this volume are placed here.
Legacy provider location identifier for the Pods API. Prefer region.
Alias for dataCenterId.
Required range:
-9007199254740991 <= x <= 9007199254740991Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Alias for attachedPodId.
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Current total hourly storage charge.
Pattern:
^\d+(?:\.\d{1,6})?$Alias for hourlyRateUsd.
Pattern:
^\d+(?:\.\d{1,6})?$Available options:
true Available options:
true Available options:
true Available options:
false Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$Cluster currently mounting this volume.
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Active delinquency episode. Present on GET /v1/gpu/volumes/{id} only.
Show child attributes
Show child attributes