Skip to main content

List Network Volumes API

Overview

This API endpoint allows you to retrieve a list of all network volumes for a user, without needing to provide any request body.

Example

  • Method: GET

Endpoint

 https://api.gpulab.ai/nas-servers

Headers

HeaderDescriptionType
api-keyYour API key for request authorization.string

Request Body

There is no request body for this endpoint.

Response Example

A successful response will return a list of network volumes with details such as volume identifier, space, template name, and user ID. Here is an example of the response:

[
{
"id": 631,
"volume_server_identifier": "f68182a6e19c4bb",
"unit": null,
"notes": null,
"volume_space": 200,
"template_name": "[email protected]",
"region_type": null
},
{
"id": 782,
"volume_server_identifier": "add3af31e4c14f0",
"unit": null,
"notes": null,
"volume_space": 150,
"template_name": "[email protected]{flux}",
"region_type": null
}
]