---
title: "Get backup statistics"
method: GET
path: "/v1/graphs/{graph_id}/backups/stats"
tags: ["Backup"]
---

# Get backup statistics

`GET /v1/graphs/{graph_id}/backups/stats`

## Request

- Base URL: `https://api.robosystems.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.robosystems.ai/v1/graphs/{graph_id}/backups/stats`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

## Path parameters

- `graph_id` string, required

## Response `200`

Successful Response

- BackupStatsResponse: Response model for backup statistics.
  - `graph_id` string, required
  - `total_backups` integer, required
  - `successful_backups` integer, required
  - `failed_backups` integer, required
  - `success_rate` number, required
  - `total_original_size_bytes` integer, required
  - `total_compressed_size_bytes` integer, required
  - `storage_saved_bytes` integer, required
  - `average_compression_ratio` number, required
  - `latest_backup_date` string, nullable, required
  - `backup_formats` object, required

## Other responses

- `400`: Invalid request
- `401`: Authentication required
- `403`: Access denied
- `404`: Resource not found
- `422`: Validation Error
- `429`: Rate limit exceeded
- `500`: Internal server error

---

[API](https://skmtc.dev/robosystems/apis/robosystems-api.md) · [All operations](https://skmtc.dev/robosystems/apis/robosystems-api/llms.txt) · [OpenAPI document](https://skmtc.dev/robosystems/apis/robosystems-api/revisions/e661e2d5ca6a?raw)
