---
title: "Get restore interface"
method: GET
path: "/get_restore"
tags: ["Restore"]
---

# Get restore interface

`GET /get_restore`

Get restore task state with the given id

## Query parameters

- `id` string, required

## Headers

- `request_id` string

## Response `200`

OK

- BackuppbRestoreBackupResponse
  - `code` 0 | 1 | 2 | 3 | 400 | 404
  - `data` BackuppbRestoreBackupTaskResponse
    - `collection_restore_tasks` BackuppbRestoreCollectionTaskResponse[]
      - `end_time` integer
      - `errorMessage` string
      - `id` string
      - `progress` integer
      - `start_time` integer
      - `state_code` 0 | 1 | 2 | 3 | 4
      - `target_collection_name` string
      - `target_db_name` string
    - `end_time` integer
    - `errorMessage` string
    - `id` string
    - `progress` integer
    - `start_time` integer
    - `state_code` 0 | 1 | 2 | 3 | 4
  - `msg` string — error msg if fail
  - `requestId` string — uuid of the request to response

---

[API](https://skmtc.net/zilliztech/apis/milvus-backup-service.md) · [All operations](https://skmtc.net/zilliztech/apis/milvus-backup-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zilliztech/milvus-backup-service/revisions/f9b1b1989810/schema)
