v18

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-2112360218.7 KB
Prompts

Archive a Prompt

Archives a specific prompt container, setting status to 'archived'. The prompt still exists in the system and people can call it and use it, so a prompt is never deleted. Requires Org Admin or Team Admin privileges (GitHub repo owner model). Team Editors and Team Members are not authorized to archive prompts.

post/v1/prompts/{id}/archive

Path parameters

idstring uuid required

The unique UUID of the prompt to archive.

Response

Prompt successfully archived