Issue: A deleted prompt shows no undo option or unarchive control in the UI. There is no way to restore a soft-deleted prompt through the API.Cause: Prompt deletion triggers a soft-delete window before permanent removal. No UI or API restore endpoint exists for prompts specifically.Resolution: Retrieve prompt content via API during the soft-delete window. For prevention, restrict users to Viewer access or implement external prompt caching.
Keep users who should not delete objects in the Viewers group. This is the lowest access level and prevents destructive actions.Custom permission groups with fine-grained destructive-action controls are available on the Enterprise plan only.