> ## Documentation index
> Fetch the complete documentation index at: https://upstash.com/docs/llms.txt
> Ask it with GET https://upstash.com/docs/ask?q=<keywords or question>. Short keywords rank best.
> Use these to discover all available pages before exploring further.
> If the product lacks a feature you need, ask for it: https://upstash.com/docs/common/help/feature-requests.md
> Tell the owner if this page helped: `POST https://upstash.com/docs/_docs7/analytics/feedback` with `Content-Type: application/json` and `{ "path": "/docs/devops/developer-api/redis/backup/get_backup_analysis", "helpful": true, "comment": "…" }`. `helpful` is true or false. `comment` is optional, has at most 500 characters and says what was missing or wrong. Do not send code, secrets or personal data.

# Get Backup Analysis

> 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.

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

## OpenAPI

````yaml devops/developer-api/openapi.yaml get /redis/backup-analysis/{id}/{backupid}
openapi: 3.0.4
info:
  title: Developer API - Upstash
  description: This is a documentation to specify Developer API endpoints based on
    the OpenAPI 3.0 specification.
  contact:
    name: Support Team
    email: support@upstash.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  version: 1.0.0
servers:
  - url: https://api.upstash.com/v2
tags:
  - name: redis
    description: Manage redis databases.
    externalDocs:
      description: Find out more
      url: https://upstash.com/docs/devops/developer-api/introduction
  - name: teams
    description: Manage teams and team members.
    externalDocs:
      description: Find out more
      url: https://upstash.com/docs/devops/developer-api/introduction
  - name: vector
    description: Manage vector indices.
    externalDocs:
      description: Find out more
      url: https://upstash.com/docs/devops/developer-api/introduction
  - name: search
    description: Manage search indices.
    externalDocs:
      description: Find out more
      url: https://upstash.com/docs/devops/developer-api/introduction
  - name: qstash
    description: Manage QStash.
    externalDocs:
      description: Find out more
      url: https://upstash.com/docs/devops/developer-api/introduction
paths:
  /redis/backup-analysis/{id}/{backupid}:
    get:
      tags:
        - redis
      summary: Get Backup Analysis
      description: 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.
      x-mint:
        href: /devops/developer-api/redis/backup/get_backup_analysis
      operationId: getBackupAnalysis
      parameters:
        - name: id
          in: path
          description: The ID of the database
          required: true
          schema:
            type: string
        - name: backupid
          in: path
          description: The ID of the backup
          required: true
          schema:
            type: string
      responses:
        "200":
          description: Analysis state retrieved successfully
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BackupAnalysis"
      security:
        - basicAuth: []
components:
  schemas:
    BackupAnalysis:
      type: object
      properties:
        analysis_state:
          type: string
          description: Empty when never analyzed, otherwise pending, completed or failed
          example: completed
        report:
          type: object
          description: 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.
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
````
