---
title: "mirror trace"
summary: "A run's timeline: every source in one ordered list. --json prints the raw events."
read_when: "the arguments or options of mirror trace are needed"
url: https://mirrordimensions.com/docs/reference/trace/
---

# mirror trace

A run's timeline: every source in one ordered list. --json prints the raw events.

```sh
mirror trace <run_id> [options]
```

| Argument | Needed | What it is |
| --- | --- | --- |
| `run_id` | Yes | A run id from mirror runs, or latest. |

| Option | Takes | What it does |
| --- | --- | --- |
| `--source` | text | Only these sources, comma-separated: runner, gateway, model, mcp, dns, egress, browser, host, state, evaluator. |
| `--type` | text | Only these event types, comma-separated: http.exchange, or browser.*. |
| `--grep` | text | Only events containing this text (any case). |
| `--follow` | nothing (a switch) | Stream events while the run is in progress (JSON lines with --json). |
| `--full-hosts` | nothing (a switch) | Show whole host names, not just the app. |

## The same, from an AI agent

The operator MCP server offers these tools for it:

- [`search_timeline`](https://mirrordimensions.com/docs/reference/mcp-tools/#search_timeline): A page of a run's timeline: each event's time, source, type and one-line summary. Filter by source (comma-separated), type, or text anywhere in an event.
