---
title: "Get Backup Analysis"
method: GET
path: "/redis/backup-analysis/{id}/{backupid}"
tags: ["redis"]
---

# Get Backup Analysis

`GET /redis/backup-analysis/{id}/{backupid}`

## Request

- Base URL: `https://api.upstash.com/v2`
- URL: `https://api.upstash.com/v2/redis/backup-analysis/{id}/{backupid}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/upstash/apis/developer-api-upstash/docs/redis/backup-analysis/:id/:backupid/get.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint returns the state of a backup's analysis and, once completed, the report. Daily backups of databases on a Pro plan or with the Production Pack are analyzed automatically when they complete, except on regional and HIPAA databases and for backups over 200 GiB.

## Path parameters

- `id` string, required
- `backupid` string, required

## Response `200`

Analysis state retrieved successfully

- BackupAnalysis
  - `analysis_state` string: Empty when never analyzed, otherwise pending, completed or failed
  - `report` object: The analysis report, present when completed. Contains totals, per-type size and element-count distributions, the biggest keys overall and per type, and a TTL profile.

## Changes

- **2026-10-16** `b1dc731a4680`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/upstash/apis/developer-api-upstash/changes/redis/backup-analysis/:id/:backupid/get.md)

---

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