Feature: View and unarchive archived LLM prompts
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 39.9k
- Forks
- 3.4k
- Avg merge
- 7h 27m
- Merged PRs (30d)
- 222
Description
Feature request
Once a prompt is archived, there's no way to view archived prompts in the UI or filter for them via the API. There's also no unarchive option, so archiving is effectively permanent with no recovery path.
Please describe.
- A way to view all archived prompts (e.g. a toggle or filter in the Prompt management UI, or an
archived=truequery parameter on the list API endpoint). - An unarchive action to restore an archived prompt to active use, including its versions and labels.
Duplicating the archived prompt – but this only works if the prompt is still accessible, and the content may be lost. Recreating it manually is error-prone.
Debug info
- [ ] PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables]
- [ ] PostHog Hobby self-hosted with `docker compose`, version/commit: [please provide]
- [ ] PostHog self-hosted with Kubernetes (deprecated, see [`Sunsetting Kubernetes support`](https://posthog.com/blog/sunsetting-helm-support-posthog)), version/commit: [please provide]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Prompt management UI and the prompt list API endpoint described in the issue, then trace how archived prompts, versions, and labels are represented. Done means archived prompts can be viewed or filtered, and an unarchive action restores a prompt with its versions and labels.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, react
- Domain
- full-stack
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100