POST /v2/apps/{app_id}/snapshots — Create Snapshot
Trigger an on-demand snapshot of your application’s current state and receive a pre-signed download URL to retrieve the resulting archive immediately.
Use this endpoint to take an on-demand snapshot of your application. The API captures the current state of your application’s filesystem, compresses it into a ZIP archive, and returns a time-limited pre-signed URL you can use to download it. Snapshots are ideal for creating restore points before deploying major changes or for backing up your application data programmatically.
Each account can create up to (RAM / 256) * 2 snapshots every 24 hours. Additionally, this endpoint enforces a rate limit of one request every 5 seconds.
A fully constructed, pre-signed download URL pointing to the snapshot archive. This URL is valid for a limited time — download the snapshot promptly after receiving it.
The raw AWS pre-signed query string component of the download URL. You can use this to reconstruct the download URL using the template: https://snapshots.virtuscloud.app/applications/{accountID}/{name}.zip?{key}.
The pre-signed url expires after a short window. Download the snapshot archive as soon as possible after receiving the response. To list previously created snapshots, use the List Snapshots endpoint.