---
title: "ezgh obs traces get"
description: "Show every span of a trace, oldest first."
---

> 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 traces 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 traces get <trace-id> [flags]
```

Show every span of one trace in a dataset, oldest first. Without `--from`, spans that started in the last 7 days; the range spans at most 31 days.

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

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--all` | boolean |  | follow nextCursor through every page |
| `--cursor` | string |  | start from this page (a previous page's nextCursor) |
| `--dataset` | string |  | the dataset: its ID, slug or environment (required) |
| `--from` | string |  | spans that started from this time (default 7 days ago) |
| `--limit` | int | `1000` | items per page, 1 to 10000 |
| `--to` | string |  | spans that started before this time |

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

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