Skip to content

List VM Datasets

GET
/notebooks/{Instance_id}/mounted-datasets/
curl --request GET \
--url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/{Instance_id}/mounted-datasets/?project_id=<PROJECT_ID>&location=<LOCATION>&apikey=<API_KEY>' \
--header 'Authorization: Bearer <API_TOKEN>'

Returns the datasets of the project and region, newest first, each marked is_mounted when it is mounted on this Virtual Machine. is_available_to_mount is false for a disk dataset mounted on any VM, and for an object-storage dataset already mounted on this one.

Instance_id
required
integer

Instance ID

project_id
required
integer

Project ID

search_filter
string
Allowed values: mounted unmounted

Return only the mounted or only the unmounted datasets.

page_no
integer

The page number from which you want your page search results to be displayed.

per_page
integer

Number of results per page

active_iam
integer

Active IAM ID (To access contact person account) Find your Active IAM ID here

location
required
string
Allowed values: Delhi Chennai

Location

The datasets

Media typeapplication/json
object
code
integer
message
string
data
Array<object>
object
id
integer
name
string
storage_type

pvc is a disk dataset. e2e_s3 and managed are object storage.

string
is_mounted
boolean
is_available_to_mount
boolean
read_only

true for an e2e_s3 or managed dataset, which mounts read-only.

boolean
bucket

The object storage bucket behind the dataset.

object
encryption_type
string
encryption_enable
boolean
created_at
string
errors
object

Example

{
"code": 200,
"message": "Success",
"data": [
{
"id": 301,
"name": "train-data",
"storage_type": "e2e_s3",
"is_mounted": true,
"is_available_to_mount": false,
"read_only": true,
"encryption_type": "sse-s3",
"encryption_enable": false,
"created_at": "2026-10-01T08:00:00Z"
}
],
"errors": {}
}

No VM with that ID in the project and region.

Media typeapplication/json
object
code
integer
message
string
data
object
errors
string

Example

{
"code": 404,
"message": "Bad Request",
"data": {},
"errors": "Invalid Request! Notebook not found"
}