---
title: "Restore an archived eval prompt set"
method: POST
path: "/api/v1/ai/eval/prompt-sets/{promptSetId}/unarchive"
tags: ["AI Eval"]
---

# Restore an archived eval prompt set

`POST /api/v1/ai/eval/prompt-sets/{promptSetId}/unarchive`

Restore an archived prompt set.

## Path parameters

- `promptSetId` string, uuid, required — The unique identifier of the eval prompt set.

## Response `200`

Prompt set restored successfully.

- EvalPromptSetsUnarchiveResponse
  - `prompt_set` EvalPromptSet, required
    - `created_at` string, nullable, required — ISO 8601 timestamp when the prompt set was created.
    - `description` string, nullable, required — Optional human-readable description of the prompt set.
    - `id` string, uuid, required — Unique identifier for the prompt set.
    - `is_archived` boolean, required — Whether the prompt set has been archived.
    - `model_id` string, uuid, required — The shared model this prompt set is bound to.
    - `name` string, required — Human-readable name for the prompt set.
    - `prompts` EvalPrompt[], required — Prompts that make up the set.
      - `created_at` string, nullable, required — ISO 8601 timestamp when the prompt was created.
      - `expectation` string, nullable, required — The expectation the analysis judge scores the analysis against, or null when none was set.
      - `id` string, uuid, required — Unique identifier for the prompt.
      - `prompt_text` string, required — The natural language prompt text the AI is evaluated on.
      - `updated_at` string, nullable, required — ISO 8601 timestamp when the prompt was last updated.
    - `slug` string, required — URL-safe identifier for the prompt set. Unique per `model_id`.
    - `updated_at` string, nullable, required — ISO 8601 timestamp when the prompt set was last updated.

## Other responses

- `400` — Invalid `promptSetId` — must be a UUID.
- `401` — Missing or invalid API key.
- `403` — Insufficient permissions.
- `404` — Prompt set not found.

---

[API](https://skmtc.net/omniapp/apis/omni-api.md) · [All operations](https://skmtc.net/omniapp/apis/omni-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/omniapp/omni-api/versions/de7cac8b5983/schema)
