Project

Archive Prompt

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

post/prompts/{prompt_id}/archive

Request

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

Path parameters

prompt_idstring required

Response

Prompt archived successfully

object required

Prompt archived successfully

Changes

No recorded changes to this operation across all 3 revisions of this API.