Actions22
- Server Actions
- Volume Actions
- Image Actions
- Snapshot Actions
Volume → Get
AI-generatedSummary
Retrieve a specific IONOS Cloud volume by its ID.
Inputs
- datacenterId (required) — The ID of the datacenter containing the volume.
- volumeId (required) — The ID of the volume to retrieve.
- additionalOptions — Optional query parameters such as depth to control response detail.
Output shape
a volume object (single record)
Returns the full volume JSON; optional depth parameter can adjust detail level.
Examples
Example 1: Fetch details of a volume
datacenterId: '15f67991-0f51-4efc-a8ad-ef1fb31a480c', volumeId: 'vol-1234', additionalOptions: {depth: 2}
Example 2: Get volume with minimal depth
datacenterId: '15f67991-0f51-4efc-a8ad-ef1fb31a480c', volumeId: 'vol-1234', additionalOptions: {depth: 0}
Example 3: Get all volumes in a datacenter
datacenterId: '15f67991-0f51-4efc-a8ad-ef1fb31a480c', operation: 'getAll', additionalOptions: {}