Skip to content
Software capabilities
MongoDB Atlas

List MongoDB Atlas backup snapshots

List cloud backup snapshots for a cluster with Atlas CLI or the Atlas Admin API. Both routes require project-level read access.

Documentation reviewed · 2 methods with sources

Ways to do it

  1. CLI: atlas backups snapshots list <clusterName>
  2. API: GET /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots
CLI

atlas backups snapshots list <clusterName>

List snapshots for the selected Atlas cluster and optionally return JSON output.

Read source: MongoDB Atlas CLI snapshot list
Requirements
An authenticated Atlas CLI profile and a user, service account, or API key with the Project Read Only role.
Limitations
The CLI returns at most 500 results per page. Use --page to request another page.

Example shell

atlas backups snapshots list "$CLUSTER_NAME" --projectId "$PROJECT_ID" --output json
API

GET /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/backup/snapshots

List snapshots for one cluster in an Atlas project using the Atlas Admin API.

Read source: MongoDB Atlas Admin API snapshots
Requirements
Atlas Admin API authentication, the project ID (groupId), cluster name, and at least Project Read Only access.
Limitations
The API returns snapshots for one cluster at a time. Use pageNum and itemsPerPage to request up to 500 snapshots per page.

Example shell

curl --fail --digest --user "$ATLAS_PUBLIC_KEY:$ATLAS_PRIVATE_KEY" \
  -H "Accept: application/vnd.atlas.2025-03-12+json" \
  "https://cloud.mongodb.com/api/atlas/v2/groups/$PROJECT_ID/clusters/$CLUSTER_NAME/backup/snapshots"