Skip to main content
GET
List Snapshots
Authorization
string
required
The API key for your account. You can find this in your account settings.
List Snapshots returns every snapshot stored for an application, each with its size, last-modified date, and a signed key for downloading it. Use it to build a restore picker, or to confirm a snapshot from Create Snapshot has finished generating after a 202 SNAPSHOT_PROCESSING response, poll this endpoint rather than re-posting to create. The result is cached for 30 minutes per owner/application pair, so a snapshot that just finished generating in the background may take a short while to show up here even after the cluster has written it. Once you have a snapshot’s name and key, pass them to Restore Snapshot to roll the application back to that point. Snapshots are only available on paid plans, the daily snapshot quota scales with the application’s RAM allocation. On workspace-shared applications the caller needs the Administrator role.

Parameters

app_id
string
required
The ID of the application. You can find this in the URL of your application’s dashboard.

Response

status
string
Indicates whether the call was successful.. success if successful, error if not.
response
object
The contents of the response.
The format of the URL to download the desired snapshot is: https://snapshots.squarecloud.app/applications/{accountID}/{name}.zip?{key}

Common errors