---
title: "POST /model-hub/annotations-labels/{id}/restore/"
method: POST
path: "/model-hub/annotations-labels/{id}/restore/"
tags: ["model-hub"]
---

# POST /model-hub/annotations-labels/{id}/restore/

`POST /model-hub/annotations-labels/{id}/restore/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/model-hub/annotations-labels/{id}/restore/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Restore a soft-deleted (archived) annotation label.

## Request body

- EmptyRequest

## Response `200`

OK

- AnnotationLabelRestoreResponse
  - `status` boolean
  - `result` AnnotationsLabels, required
    - `id` string, uuid
    - `name` string, required
    - `type` 'text' | 'numeric' | 'categorical' | 'star' | 'thumbs_up_down', required
    - `organization` string, uuid
    - `settings` object
    - `project` string, uuid
    - `description` string, nullable
    - `allow_notes` boolean
    - `created_at` string, date-time
    - `trace_annotations_count` integer
    - `annotation_count` integer
    - `archived` boolean

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
