PostHog / PostHog/posthog

Feature: View and unarchive archived LLM prompts

Open
#73,702 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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.

  1. A way to view all archived prompts (e.g. a toggle or filter in the Prompt management UI, or an archived=true query parameter on the list API endpoint).
  2. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.