List backups
curl --request GET \
--url https://api.brimble.io/core/v1/projects/database/{projectId}/backups \
--header 'x-brimble-key: <api-key>'import requests
url = "https://api.brimble.io/core/v1/projects/database/{projectId}/backups"
headers = {"x-brimble-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-brimble-key': '<api-key>'}};
fetch('https://api.brimble.io/core/v1/projects/database/{projectId}/backups', 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.brimble.io/core/v1/projects/database/{projectId}/backups",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-brimble-key: <api-key>"
],
]);
$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.brimble.io/core/v1/projects/database/{projectId}/backups"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-brimble-key", "<api-key>")
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.brimble.io/core/v1/projects/database/{projectId}/backups")
.header("x-brimble-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.brimble.io/core/v1/projects/database/{projectId}/backups")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-brimble-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"message": "Backup and restore history fetched",
"data": {
"data": [
{
"type": "backup",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": "6a81bed11470bfcd2a5dbcfa",
"user_id": "6a81bed11470bfcd2a5dbcfa",
"team": "6a81bed11470bfcd2a5dbcfa",
"status": "pending",
"trigger": "manual",
"object_key": "<string>",
"size_bytes": 123,
"failure_reason": "<string>",
"completed_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"billed_through": "2023-11-07T05:31:56Z",
"pending_rebaseline_gb_hours": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"totalCount": 123,
"currentPage": 123,
"totalPages": 123,
"limit": 123
}
}{
"errors": [
{
"type": "field",
"value": "<unknown>",
"msg": "Invalid value",
"path": "name",
"location": "body"
}
]
}{
"message": "Project not found",
"data": {}
}{
"message": "Project not found",
"data": {}
}{
"message": "Project not found",
"data": {}
}{
"message": "Project not found",
"data": {}
}Databases
List backups
API key scope: project.read
Team role permission: project.read
GET
/
v1
/
projects
/
database
/
{projectId}
/
backups
List backups
curl --request GET \
--url https://api.brimble.io/core/v1/projects/database/{projectId}/backups \
--header 'x-brimble-key: <api-key>'import requests
url = "https://api.brimble.io/core/v1/projects/database/{projectId}/backups"
headers = {"x-brimble-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-brimble-key': '<api-key>'}};
fetch('https://api.brimble.io/core/v1/projects/database/{projectId}/backups', 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.brimble.io/core/v1/projects/database/{projectId}/backups",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-brimble-key: <api-key>"
],
]);
$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.brimble.io/core/v1/projects/database/{projectId}/backups"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-brimble-key", "<api-key>")
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.brimble.io/core/v1/projects/database/{projectId}/backups")
.header("x-brimble-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.brimble.io/core/v1/projects/database/{projectId}/backups")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-brimble-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"message": "Backup and restore history fetched",
"data": {
"data": [
{
"type": "backup",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": "6a81bed11470bfcd2a5dbcfa",
"user_id": "6a81bed11470bfcd2a5dbcfa",
"team": "6a81bed11470bfcd2a5dbcfa",
"status": "pending",
"trigger": "manual",
"object_key": "<string>",
"size_bytes": 123,
"failure_reason": "<string>",
"completed_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"billed_through": "2023-11-07T05:31:56Z",
"pending_rebaseline_gb_hours": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"totalCount": 123,
"currentPage": 123,
"totalPages": 123,
"limit": 123
}
}{
"errors": [
{
"type": "field",
"value": "<unknown>",
"msg": "Invalid value",
"path": "name",
"location": "body"
}
]
}{
"message": "Project not found",
"data": {}
}{
"message": "Project not found",
"data": {}
}{
"message": "Project not found",
"data": {}
}{
"message": "Project not found",
"data": {}
}Authorizations
ApiKeyAuthBearerAuth
API key created in the dashboard under Settings → API keys. Each key carries permission scopes; every endpoint lists the scope it needs.
Path Parameters
Pattern:
^[a-fA-F0-9]{24}$Query Parameters
Page must be a positive integer
Required range:
x >= 1Limit must be between 1 and 100
Required range:
1 <= x <= 100Start_date must be a valid date
End_date must be a valid date
Last modified on October 10, 2026
Was this page helpful?