---
title: "ezgh obs ai runs get"
description: "Show an agent run and its steps."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh obs ai runs get

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh obs ai runs get <trace-id> --dataset d [--content] [flags]
```

Show one agent run: its totals and every model and tool call in order. Without `--from`, spans that started in the last 7 days; the range spans at most 31 days. `--content` adds each step's prompts, completions and tool arguments and results, as sent (JSON text, up to 1 MiB per span); it needs permission to read content (obs.genai.readContent).

Part of [`ezgh obs ai runs`](/cli/reference/obs-ai-runs).

## Examples

```sh
ezgh obs ai runs get 5b8efff798038103d269b633813fc60c --dataset production --content
```

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--content` | boolean |  | also read the run's prompts and completions |
| `--dataset` | string |  | the dataset: its ID, slug or environment (required) |
| `--from` | string |  | spans that started from this time (default 7 days ago) |
| `--to` | string |  | spans that started before this time (the range spans at most 31 days) |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/obs-ai-runs-get/index.mdx
