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

## Changes

- **2024-02-05** `d8bcd89ae6ed` — 1 info
  - the `header` request parameter `request_id` became optional
- **2022-12-06** `71cc25935ab4` — 2 breaking
  - added the new required `header` request parameter `request_id`
  - added the new required `query` request parameter `id`
- **2022-11-28** `0f7ec556718b` — 2 warning
  - deleted the `header` request parameter `request_id`
  - deleted the `query` request parameter `id`

[Change history](https://skmtc.dev/zilliztech/apis/milvus-backup-service/changes/get_restore/get.md)

---

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