GPUs

get
Get List of GPUs

https://sharedcloud.io/api/v1/gpus/
This endpoint allows you to get the list of GPUs
Request
Response
Headers
Authorization
required
string
Authentication token
200: OK
List of GPUs successfully retrieved.
[
{
"uuid": "caf01aeb-ba13-4499-14f9-8b4961714366",
"current_server_time": "05-10-2018 16:51:18",
"is_available": false,
"created_at": "25-09-2018 12:07:42",
"name": "Nvidia Titan V 12GB",
"codename": "titanv",
"cuda_cores": 5120
}
]
401: Unauthorized
Invalid credentials.
{
"detail": "Invalid token."
}

get
Get GPU

https://sharedcloud.io/api/v1/gpus/:uuid/
This endpoint allows you to get a single GPU
Request
Response
Path Parameters
uuid
required
string
uuid of the GPU
Headers
Authorization
required
string
Authentication token
200: OK
List of GPUs successfully retrieved.
{
"uuid": "c1f0daeb-ba13-4199-b1f9-814965714366",
"current_server_time": "05-10-2018 16:51:18",
"is_available": false,
"created_at": "25-09-2018 12:07:42",
"name": "Nvidia Titan V 12GB",
"codename": "titanv",
"cuda_cores": 5120
}
401: Unauthorized
Invalid credentials.
{
"detail": "Invalid token."
}
404: Not Found
GPU not found.
{
"detail": "Not found."
}