Skip to main content
GET
List database snapshots
string
required
The API key for your account. You can find this in your account settings.
Requires an API key with the snapshots:read scope. Lists every snapshot stored for a database, most recent first, with size and last-modified date for each. Use it to build a restore picker in a dashboard, or to poll after a Create Snapshot call returned 202 SNAPSHOT_PROCESSING and confirm the file has landed. Each item carries a signed download url, valid for 30 days, and a version_id to pass as versionId when restoring. Responses are cached for 30 minutes per user and database, so a snapshot that just finished generating may take a short while to show up here. To restore one of these snapshots, see Restore Snapshot.

Parameters

string
required
The ID of the database.

Response

string
Indicates whether the call was successful: success if it was, error if not.
array
The contents of the response.
Download a snapshot from its url. The link stays valid for 30 days.

Common errors