Feature request: Batch purge for archived threads (thread/purge)

Resolved 💬 2 comments Opened Feb 6, 2026 by cola-runner Closed Feb 6, 2026

What variant of Codex are you using?

Codex App + CLI

What feature would you like to see?

Please add a v2 API to permanently delete archived threads in batch, e.g. thread/purge.

  • Params: threadIds: string[]
  • Per-item result: purged | notFound | notArchived | inUse | failed

This is a clear complement to archive: archive is reversible, purge is final cleanup.

Additional information

I understand external PRs are invitation-only, so I’m opening this issue first.

I implemented a working prototype in my fork for reference:

If this aligns with your roadmap, I’m happy to submit an invited PR.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗