---
title: "Analyze Backup"
method: POST
path: "/redis/backup-analysis/{id}/{backupid}"
tags: ["redis"]
---

# Analyze Backup

`POST /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/post.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint starts the offline analysis of a completed backup. The analysis scans the backup without touching the running database and takes minutes for large backups; poll the GET endpoint until the state is completed or failed. Available for databases on a Pro plan or with the Production Pack; other databases get 404. Not available for RDB exports, backups over 200 GiB, HIPAA databases or regional databases, nor for a backup whose analysis is already pending or completed.

## Path parameters

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

## Response `200`

Analysis started

- object
  - `analysis_state` string

## 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/post.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)
