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

# Archive Prompt

`POST /prompts/{prompt_id}/archive`

Archive a prompt (is_archived = true) so it stops running while keeping its chats and history

## Path parameters

- `prompt_id` string, required

## Response `200`

Prompt archived successfully

- object — Prompt archived successfully

## Other responses

- `404` — Response for status 404

---

[API](https://skmtc.net/peec/apis/peec-ai-customer-api.md) · [All operations](https://skmtc.net/peec/apis/peec-ai-customer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/peec/peec-ai-customer-api/revisions/92840a1bffa7/schema)
