Get GPU cluster connections
curl --request GET \
--url https://api.aireserve.com/v1/gpu/clusters/{clusterId}/connections \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aireserve.com/v1/gpu/clusters/{clusterId}/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/clusters/{clusterId}/connections', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"available": true,
"primary": {
"rank": 0,
"ssh": {
"command": "<string>",
"user": "<string>",
"host": "<string>",
"port": 0
}
},
"nodes": [
{
"rank": 0,
"role": "<string>",
"overlayIp": "<string>",
"ssh": {
"command": "<string>",
"user": "<string>",
"host": "<string>",
"port": 0
}
}
],
"network": {
"cidr": "<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 GPU cluster connections
SSH for the primary node and every member, plus each node’s address on the private interconnect. Empty until the cluster is running. Requires compute manage access.
GET
/
v1
/
gpu
/
clusters
/
{clusterId}
/
connections
Get GPU cluster connections
curl --request GET \
--url https://api.aireserve.com/v1/gpu/clusters/{clusterId}/connections \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aireserve.com/v1/gpu/clusters/{clusterId}/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/clusters/{clusterId}/connections', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"available": true,
"primary": {
"rank": 0,
"ssh": {
"command": "<string>",
"user": "<string>",
"host": "<string>",
"port": 0
}
},
"nodes": [
{
"rank": 0,
"role": "<string>",
"overlayIp": "<string>",
"ssh": {
"command": "<string>",
"user": "<string>",
"host": "<string>",
"port": 0
}
}
],
"network": {
"cidr": "<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
Where to connect. Empty until the cluster is running.
True once the primary node accepts SSH.
The rank-0 node: MASTER_ADDR host, Slurm controller or Ray head.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
The private interconnect's address block.
Show child attributes
Show child attributes