Traces
A Trace records everything a request did. Use a Trace to debug instructions, tool use, memory and grounding.
Quick Reference
Trace List
| Field | Purpose | Guidance |
|---|---|---|
| Search traces | Find a trace | Free-text search over the list. Columns are Conversation ID, Status, Mesh and Created. |
Trace Viewer
| Field | Purpose | Guidance |
|---|---|---|
| Graph pane | Shows which agents ran | The mesh graph with the agents and links the request used. |
| Request navigation | Move between requests | A conversation has one trace with one entry per request. Select a request to see its timeline. |
| Timeline | Step by step record | Items are Request, Context, Identity, Prompt, Task instructions, Tool definitions, Conversation history, Memories, Model, Thinking, Response text, Tool use, Tool output and Resource. Tool calls and outputs are matched and linked. The header shows the mesh version and model set. |
| Controls | Viewer options | Open all items, Close all items, Follow playback (scrolls as a live request runs), Auto-refresh, and Evaluate. |
| Evaluation runs | Score this trace | Add run with Target (All requests or One request), Rubric and Judged by (a model set; not needed when all metrics are computed). Results appear per request in the timeline. See Evaluations. |
Reading a timeline
Each item in the timeline is one step of the request. Open an item to see its full content.
The Context, Memories and Conversation history items show what the Interaction Profile added to the request. Read these items to check that the agent had the information you expected.
A Resource item shows a tool result that the tool returned as a resource. The agent receives a handle for the resource, for example r1, and not the full content.
Tokens and cost
Each Model item shows the tokens the call used and what it cost in US dollars. Open the token breakdown to see cache reads, cache writes and reasoning tokens. Open the cost breakdown to see the price of each kind of token. The header of the trace shows the total cost of the conversation, and the request navigation shows the cost of each request.
The cost is worked out from the list prices of the model. It is an estimate, not your provider’s bill: discounts and credits are not counted. The cost shows N/A when the price of a model isn’t known, for example a model behind an OpenAI compatible endpoint. A self-hosted Partite Mesh records tokens but not cost.
How long traces are kept
In the hosted service, older traces are deleted, with their conversations. A self-hosted Partite Mesh keeps traces until you set TRACE_RETENTION. See Self-Hosting.
Turning tracing off for a conversation
To turn tracing off for one conversation, set "tracing": false when you create the conversation. For details, see Conversation API. A boundary can also decide whether a new conversation is traced.
Related
- Evaluations – score a trace with a rubric.
- Interaction Profiles – control what context and memories an agent receives.
- MCP Tunnel and Resources – how tools return resources.