---
title: "Unarchive Prompt"
method: POST
path: "/prompts/{prompt_id}/unarchive"
tags: ["Project"]
---

# Unarchive Prompt

`POST /prompts/{prompt_id}/unarchive`

## Request

- Base URL: `https://api.peec.ai/customer/v1`
- URL: `https://api.peec.ai/customer/v1/prompts/{prompt_id}/unarchive`
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in query parameter `api_key`
  - HTTP bearer

Unarchive a prompt (is_archived = false), reactivating it. Subject to the project's active-prompt plan limit

## Path parameters

- `prompt_id` string, required

## Response `200`

Prompt unarchived successfully

- object: Prompt unarchived successfully

## Other responses

- `402`: Response for status 402
- `404`: Response for status 404

---

[API](https://skmtc.dev/peec/apis/peec-ai-customer-api.md) - [All operations](https://skmtc.dev/peec/apis/peec-ai-customer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/peec/apis/peec-ai-customer-api/revisions/9d774600c8eb?raw)
