Volumes
Retrieve available Volume offers
To be attached to an instance, volumes should be linked to the same CloudProvider
and the same region
as the Pod selected. Get all informations about Volumes into this section
Access this endpoint to explore available volume offers, which is crucial when planning storage needs for your instances.
The API Key secret should be sent through this header to authenticate the request.
Return all available volume offers
API key invalid
API key not found
GET /gpu-cloud/volumes/offers HTTP/1.1
Host:
x-api-key: text
Accept: */*
[
{
"cloudProvider": {
"_id": "668f9d8df664e3c028ce5de9",
"displayName": "SESTERCE_IMW"
},
"minSizeInGb": 10,
"pricePerGbPerHour": "0.0001",
"regions": [
"us-east-1",
"us-east-2"
]
}
]
Create a new Volume
This endpoint is used when you need to create new Volume to add a persistent storage solution to your instance, ensuring to keep your dataset stored even after the instance stops.
The API Key secret should be sent through this header to authenticate the request.
668f9d8df664e3c028ce5de9
us-east-1
my-volume
10
Return the created volume
API key invalid
API key not found
POST /gpu-cloud/volumes HTTP/1.1
Host:
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 98
{
"cloudProvider": "668f9d8df664e3c028ce5de9",
"region": "us-east-1",
"name": "my-volume",
"sizeInGb": 10
}
{
"_id": "668f9d8df664e3c028ce5de9",
"user": "668f9d8df664e3c028ce5de9",
"name": "my-volume",
"sizeInGb": 10,
"cloudProvider": {
"_id": "668f9d8df664e3c028ce5de9",
"displayName": "SESTERCE_IMW"
},
"region": "us-east-1",
"createdAt": "2023-08-08T12:34:56.789Z",
"updatedAt": "2023-08-08T12:34:56.789Z"
}
Get the list of Volumes created
Use this endpoint to get an overview of your active volumes, useful for monitoring storage usage and planning expansions.
The API Key secret should be sent through this header to authenticate the request.
Return all volumes
API key invalid
API key not found
GET /gpu-cloud/volumes HTTP/1.1
Host:
x-api-key: text
Accept: */*
[
{
"_id": "668f9d8df664e3c028ce5de9",
"user": "668f9d8df664e3c028ce5de9",
"name": "my-volume",
"sizeInGb": 10,
"cloudProvider": {
"_id": "668f9d8df664e3c028ce5de9",
"displayName": "SESTERCE_IMW"
},
"region": "us-east-1",
"createdAt": "2023-08-08T12:34:56.789Z",
"updatedAt": "2023-08-08T12:34:56.789Z"
}
]
Get details of a specific Volume
Get specific details about a particular volume when you need to verify its configuration or status.
The API Key secret should be sent through this header to authenticate the request.
Return volume by ID
API key invalid
Not found
GET /gpu-cloud/volumes/{id} HTTP/1.1
Host:
x-api-key: text
Accept: */*
{
"_id": "668f9d8df664e3c028ce5de9",
"user": "668f9d8df664e3c028ce5de9",
"name": "my-volume",
"sizeInGb": 10,
"cloudProvider": {
"_id": "668f9d8df664e3c028ce5de9",
"displayName": "SESTERCE_IMW"
},
"region": "us-east-1",
"createdAt": "2023-08-08T12:34:56.789Z",
"updatedAt": "2023-08-08T12:34:56.789Z"
}
Delete a Volume
Use this endpoint to delete volumes that are no longer needed, optimizing storage usage and reducing costs.
Ensure data backup before deleting volumes to prevent data loss.
The API Key secret should be sent through this header to authenticate the request.
Volume deleted successfully
No content
API key invalid
Not found
DELETE /gpu-cloud/volumes/{id} HTTP/1.1
Host:
x-api-key: text
Accept: */*
No content
Last updated
Was this helpful?