List SSH keys
curl --request GET \
--url https://api.aireserve.com/v1/gpu/ssh-keys \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aireserve.com/v1/gpu/ssh-keys"
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/ssh-keys', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"fingerprint": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"publicKey": "<string>",
"state": "active"
}
]
}GPU Compute
List SSH keys
Returns SSH public keys for your organization. Response shape: { data: ComputeSshKey[] }. Requires compute read access.
GET
/
v1
/
gpu
/
ssh-keys
List SSH keys
curl --request GET \
--url https://api.aireserve.com/v1/gpu/ssh-keys \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aireserve.com/v1/gpu/ssh-keys"
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/ssh-keys', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"fingerprint": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"publicKey": "<string>",
"state": "active"
}
]
}Authorizations
Your AI Reserve API key (aireserve_api_…) from the API Keys page in the portal (https://portal.aireserve.com/keys).
Response
200 - application/json
SSH key list.
Show child attributes
Show child attributes