Get Application Snapshots
curl --request GET \
--url https://api.vertracloud.app/v1/users/{id}/snapshotsimport requests
url = "https://api.vertracloud.app/v1/users/{id}/snapshots"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.vertracloud.app/v1/users/{id}/snapshots', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vertracloud.app/v1/users/{id}/snapshots",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vertracloud.app/v1/users/{id}/snapshots"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.vertracloud.app/v1/users/{id}/snapshots")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vertracloud.app/v1/users/{id}/snapshots")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"response": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"resource_id": "550e8400-e29b-41d4-a716-446655440001",
"size": "1.23 MB",
"date": "2026-03-14T21:00:00.000Z",
"resource_name": "api-staging"
}
]
}
Snapshots
Get Application Snapshots
Retrieves a list of snapshots for a specific application or database.
GET
/
v1
/
users
/
{id}
/
snapshots
Get Application Snapshots
curl --request GET \
--url https://api.vertracloud.app/v1/users/{id}/snapshotsimport requests
url = "https://api.vertracloud.app/v1/users/{id}/snapshots"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.vertracloud.app/v1/users/{id}/snapshots', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vertracloud.app/v1/users/{id}/snapshots",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vertracloud.app/v1/users/{id}/snapshots"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.vertracloud.app/v1/users/{id}/snapshots")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vertracloud.app/v1/users/{id}/snapshots")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"response": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"resource_id": "550e8400-e29b-41d4-a716-446655440001",
"size": "1.23 MB",
"date": "2026-03-14T21:00:00.000Z",
"resource_name": "api-staging"
}
]
}
string
required
The ID of the application or database to retrieve snapshots for.
string
required
The resource type to filter snapshots by. Possible values:
applications, databases.Response
array
An array of snapshot objects.
Show Toggle object
Show Toggle object
string
The snapshot ID.
string
The ID of the resource this snapshot belongs to.
string
The formatted size of the snapshot (e.g.
"1.23 MB").string
The timestamp when the snapshot was created.
string | null
The name the resource had at the moment this snapshot was taken. Frozen: it does not follow
later renames, and it survives the resource being deleted.
null for snapshots taken before
this field existed — no backfill was performed, since writing today’s name onto an old date
would record something that was not true then.{
"response": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"resource_id": "550e8400-e29b-41d4-a716-446655440001",
"size": "1.23 MB",
"date": "2026-03-14T21:00:00.000Z",
"resource_name": "api-staging"
}
]
}
Error Responses
string
The error code indicating the reason for failure. Possible values:
UNAUTHORIZED: The user is not authenticated.USER_NOT_FOUND: The authenticated user was not found.INTERNAL_SERVER_ERROR: An unexpected server error occurred.
{
"code": "UNAUTHORIZED"
}
{
"code": "USER_NOT_FOUND"
}