Get pod
curl --request GET \
--url https://api.aireserve.com/v1/gpu/pods/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aireserve.com/v1/gpu/pods/{id}"
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/pods/{id}', 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",
"createdAt": "2023-11-07T05:31:56Z",
"desiredState": "running",
"gpuTypeId": "<string>",
"gpuCount": 123,
"dataCenterId": "<string>",
"containerDiskGb": 123,
"networkVolumeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"imageName": "<string>",
"rateUsdPerHour": "<string>",
"envKeys": [
"<string>"
],
"paidThroughAt": "2023-11-07T05:31:56Z",
"lastError": "<string>"
}GPU Compute
Get pod
Returns the current state of a pod owned by your organization. Returns 404 for unknown IDs and for pods owned by other organizations.
GET
/
v1
/
gpu
/
pods
/
{id}
Get pod
curl --request GET \
--url https://api.aireserve.com/v1/gpu/pods/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aireserve.com/v1/gpu/pods/{id}"
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/pods/{id}', 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",
"createdAt": "2023-11-07T05:31:56Z",
"desiredState": "running",
"gpuTypeId": "<string>",
"gpuCount": 123,
"dataCenterId": "<string>",
"containerDiskGb": 123,
"networkVolumeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"imageName": "<string>",
"rateUsdPerHour": "<string>",
"envKeys": [
"<string>"
],
"paidThroughAt": "2023-11-07T05:31:56Z",
"lastError": "<string>"
}Authorizations
Your AI Reserve API key (aireserve_api_…) from the API Keys page in the portal (https://portal.aireserve.com/keys).
Path Parameters
Pod ID.
Response
Pod detail.
A GPU pod managed by AI Reserve Compute. All fields are camelCase to match the service DTO.
Current observed pod state.
Available options:
requested, provisioning, starting, running, stopping, stopped, terminating, terminated, failed Control-plane target state. The pod converges asynchronously.
Available options:
running, stopped, terminated Ephemeral container disk in GiB. Lost on stop or termination.
Locked hourly rate (GPU + container disk) in USD, six-decimal precision.
Names of injected environment variables. Values are never returned.
End of the current prepaid compute coverage window. Null when stopped or not yet running.