Actions22
- Server Actions
- Volume Actions
- Image Actions
- Snapshot Actions
Server → Get
AI-generatedSummary
Fetch a server by its ID.
Inputs
- datacenterId (required) — The ID of the datacenter containing the server
- serverId (required) — The ID of the server to retrieve
- additionalOptions — Optional query parameters; currently includes a
depthnumber (0‑10) to control response detail
Output shape
a single server object
The response is the full server JSON returned by IONOS; depth can limit fields but the shape remains a server record.
Examples
Example 1: Retrieve a specific server
Set datacenterId to the target datacenter, serverId to the server’s UUID, optionally set depth to 2.