Get pod connections
curl --request GET \
--url https://api.aireserve.com/v1/gpu/pods/{podId}/connections \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aireserve.com/v1/gpu/pods/{podId}/connections"
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/{podId}/connections', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"available": true,
"sshConnectString": "<string>",
"sshUser": "<string>",
"sshHost": "<string>",
"sshPort": 0,
"appUrls": {},
"proxyUrl": "<string>"
}{
"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 pod connections
SSH command and public proxy URLs for a running pod. { available: false } until running. Requires compute manage access.
GET
/
v1
/
gpu
/
pods
/
{podId}
/
connections
Get pod connections
curl --request GET \
--url https://api.aireserve.com/v1/gpu/pods/{podId}/connections \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aireserve.com/v1/gpu/pods/{podId}/connections"
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/{podId}/connections', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"available": true,
"sshConnectString": "<string>",
"sshUser": "<string>",
"sshHost": "<string>",
"sshPort": 0,
"appUrls": {},
"proxyUrl": "<string>"
}{
"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
Connection details for a running pod. Requires compute manage access.
False until the pod is running.
Full ssh command.
Required range:
-9007199254740991 <= x <= 9007199254740991Show child attributes
Show child attributes
Public proxy URL. Not authenticated by the portal; the workload must enforce its own auth.