curl --request GET \
--url https://api.gcore.com/cloud/v3/gpu/virtual/{project_id}/{region_id}/clusters/{cluster_id}/volumes \
--header 'Authorization: <api-key>'
{
"count": 1,
"results": [
{
"bootable": false,
"created_at": "2025-03-17T13:22:23Z",
"id": "b6e58490-58d3-451c-bb77-4178157c98b2",
"name": "my-volume",
"root_fs": false,
"server_id": "ded40aad-505c-463b-aa59-8f5f455d1b6f",
"size": 100,
"status": "in-use",
"tags": [
{
"key": "task_id",
"read_only": true,
"value": "d74c2bb9-cea7-4b23-a009-2f13518ae66d"
}
],
"type": "standard"
}
]
}
List all volumes attached to servers in a virtual GPU cluster.
curl --request GET \
--url https://api.gcore.com/cloud/v3/gpu/virtual/{project_id}/{region_id}/clusters/{cluster_id}/volumes \
--header 'Authorization: <api-key>'
{
"count": 1,
"results": [
{
"bootable": false,
"created_at": "2025-03-17T13:22:23Z",
"id": "b6e58490-58d3-451c-bb77-4178157c98b2",
"name": "my-volume",
"root_fs": false,
"server_id": "ded40aad-505c-463b-aa59-8f5f455d1b6f",
"size": 100,
"status": "in-use",
"tags": [
{
"key": "task_id",
"read_only": true,
"value": "d74c2bb9-cea7-4b23-a009-2f13518ae66d"
}
],
"type": "standard"
}
]
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Project ID
1
Region ID
7
Cluster unique identifier
"1aaaab48-10d0-46d9-80cc-85209284ceb4"
OK
The response is of type object
.
Was this page helpful?