Skip to content
Discussion options

You must be logged in to vote

Hi @jsedlak, thread sprawl is concern, especially when you're iterating fast or testing multiple agents. Currently, the Azure AI Agent Service only supports deleting threads one at a time via the REST API using the DELETE /threads/{threadId} endpoint. There’s no built-in bulk deletion or multi-select UI yet.

Thanks for raising this [feature request](https://github.com/orgs/azure-ai-foundry/discussions/127)

Workaround Options You Might Consider

Here’s a modular workaround you could script for now:

Batch Delete via REST API
You can automate deletion using a script that:

  • Lists all threads via GET /threads
  • Filters by agent ID or timestamp
  • Iterates through the thread IDs and calls DELETE /thr…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by amynic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea New feature idea or request ai-agents
2 participants