Actions22
- Server Actions
- Volume Actions
- Image Actions
- Snapshot Actions
Server → Get Many
AI-generatedSummary
Retrieve a list of servers in a specified datacenter, optionally limited and paginated.
Inputs
- datacenterId (required) — The ID of the datacenter containing the servers.
- returnAll — Whether to return all results or stop after the specified limit.
- limit — Maximum number of server records to return (1‑10000). Ignored if returnAll is true.
- depth — Depth of nested relationships to include in the response (0‑10).
Output shape
a list of server objects
Pagination: limit truncates if returnAll is false; depth controls detail level of each server object.
Examples
Example 1: Fetch all servers in a datacenter
resource: Server, operation: Get Many, datacenterId: 15f67991-0f51-4efc-a8ad-ef1fb31a480c
Example 2: Retrieve a limited set with deeper detail
resource: Server, operation: Get Many, datacenterId: 15f67991-0f51-4efc-a8ad-ef1fb31a480c, limit: 50, depth: 2