eks.snapshots.listList the cluster’s etcd snapshots and its backup status
Deutsche Cloud takes one every hour (kept 7 days, the first of each UTC day 30 days), before every upgrade and restore, and on deletion (kept 7 days); on-demand ones are kept 30 days, the 10 newest. Each is checked by restoring it into a scratch directory on the machine (`verifiedAt`), sealed under Deutsche Cloud’s master key in its object storage. The newest verified one is never deleted. `backup.status` is `stale` without a verified snapshot for 2 hours, `not-enabled` for a control plane built before backups (replace it to enable them). Snapshots cannot be downloaded.
Request syntax
GET /eks/api/clusters/{cluster}/snapshotsPath parameters
clusterRequiredstring
Constraints: /^(ewk-[0-9a-f]{12}|[a-z]([a-z0-9-]{0,38}[a-z0-9])?)$/
Response
200 with { backup { status (ok | stale | first-pending | not-enabled), lastSnapshot (id, takenAt, ageMinutes, revision; or null), schedule }, snapshots (newest first: id, kind, status, requestedBy, requestedAt, takenAt, revision, totalKeys, sizeBytes, sha256, verifiedAt, error, expiresAt) }. 404 when no cluster has that id or name, 403 without the permission on it (eks:ListClusterSnapshots).
A JSON response is wrapped as { "success": true, "data": … }; the CLI prints the whole body with --json.
Errors
- 400The request does not pass the schema above. The body is { "error": …, "issues": […] }, one issue per field.
- 401No credentials, or an access key that is unknown, revoked or expired.
- 403The caller's policies do not allow eks:ListClusterSnapshots on this resource. The body names the action and the resource, and the refusal is recorded in the audit log.
- 404The resource does not exist in your organization.
Examples
The required parameters only, with example values. Replace id and the other placeholders with your own.
dcloud eks snapshots list clustercurl -X GET "https://console.platform-development.deutschecloud.app/eks/api/clusters/cluster/snapshots" \
-H "Authorization: EWS-ACCESS-KEY $ACCESS_KEY"Generated from the API description, the same one the API checks requests against and the CLI is built from. MCP tool: dcloud_eks_snapshots_list.