GPU
Cached GPU availability with single-flight refresh
GET
/
v1
/
gpu
/
availability
/
cached
Cached GPU availability with single-flight refresh
curl --request GET \
--url https://api.veri.studio/v1/gpu/availability/cached \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.veri.studio/v1/gpu/availability/cached"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.veri.studio/v1/gpu/availability/cached', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "<string>",
"refreshed": true,
"refreshing": true,
"availability": [
{
"provider": "<string>",
"gpu_type": "<string>",
"region": "<string>",
"gpu_count": 1,
"status": "<string>",
"available": 1,
"spot_score": 123,
"price_per_hr": 123,
"detail": "<string>"
}
],
"checked_at": "2023-11-07T05:31:56Z",
"age_seconds": 123
}Authorizations
Query Parameters
Response
200 - application/json
Availability snapshot with probe timestamp; at most one live probe runs at a time
Cached GPU availability with single-flight refresh
curl --request GET \
--url https://api.veri.studio/v1/gpu/availability/cached \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.veri.studio/v1/gpu/availability/cached"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.veri.studio/v1/gpu/availability/cached', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "<string>",
"refreshed": true,
"refreshing": true,
"availability": [
{
"provider": "<string>",
"gpu_type": "<string>",
"region": "<string>",
"gpu_count": 1,
"status": "<string>",
"available": 1,
"spot_score": 123,
"price_per_hr": 123,
"detail": "<string>"
}
],
"checked_at": "2023-11-07T05:31:56Z",
"age_seconds": 123
}
