Volume
Fetch volume details
Retrieves details for a specific volume. This endpoint returns all data associated with the requested volume, including ID, name, environment, size, type, status, bootable flag, image ID, callback URL, timestamps, and attachment metadata.
get/core/volumes/{volume_id}
Request
- Base URL: https://infrahub-api.nexgencloud.com/v1
- URL: https://infrahub-api.nexgencloud.com/v1/core/volumes/{volume_id}
- Auth: API key in header api_key
Path parameters
volume_idinteger required
ID of the volume.
Response
Success
Example response
{
"status": true,
"message": "Volume created successfully",
"volume": {
"id": 7613,
"name": "example-volume",
"environment": {
"name": "example-environment",
"region": "NORWAY-1"
},
"description": "example",
"volume_type": "Cloud-SSD",
"size": 10,
"status": "creating",
"created_at": "2026-05-06T15:18:42Z",
"updated_at": "2026-05-06T15:18:42Z",
"attachments": [
{
"id": 2058,
"device": "/dev/disk/by-id/virtio-05ff4fce-957f-486c-b",
"status": "ATTACHING",
"instance_id": 1402
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.