# Agent Conversation sorting and filters by cost, tokens, and tool calls

Published: 2026-10-16

Source: https://sentry.io/changelog/agent-conversation-sorting-and-filters-by-cost-tokens-and-tool-calls

---

You can now filter and sort [conversations ](https://docs.sentry.io/product/agents/conversations/) in Explore > Agents on totals for the whole conversation, not only on individual spans. Want conversations that cost over $10? Conversations with more than 50 tool calls? Type the condition in the search bar and you’ll get them.

Conversations support these aggregate fields:

- conversation.totalCost
- conversation.totalTokens
- conversation.inputTokens
- conversation.outputTokens
- conversation.toolCalls
- conversation.errors
- conversation.messages
- conversation.duration
- conversation.generationDuration
- conversation.age

Column headers sort too, so you can order by cost or errors to see which conversations need attention first.

Some queries to try:

- Find conversations that cost over $10 and called the tool X (add your tool call here)
- See which conversations cost the most
- See which conversations have the most errors
- Find conversations that used more than 1M tokens
- Find conversations with a lot of tool calls

![sorting 1 .png](https://cslswue7zohm4cat.public.blob.vercel-storage.com/sorting%201%20-Ht9rAWMs5UbRATWn2dF0k0Rwxg0c7j.png)

![sorting 2.png](https://cslswue7zohm4cat.public.blob.vercel-storage.com/sorting%202-dx2W8sK2n7sZReUeha6VgI3jl7Fp0s.png)

![sorting 3.png](https://cslswue7zohm4cat.public.blob.vercel-storage.com/sorting%203-ehH0eUMxmKYpwiKUmBOrrxRo5ccNjp.png)

Conversation sorting and filtering is generally available now in Explore > Agents.

Get started by going to [Explore > Agents](https://sentry.io/orgredirect/organizations/:orgslug/explore/agents/) or check out [docs](https://docs.sentry.io/product/agents/) for supported frameworks and platform-specific setup.
