---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://segmentstream.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# segmentstream agent observability

Show the agent's sessions in a window, from the app's hosting provider: sessions started by trigger and how they ended, compaction handoffs and moves to a newer deployment, and failed runs. With --series, show the same per hour

## Usage

Command syntax

```
segmentstream agent observability [OPTIONS]
```

## Options

- `--since [1h|24h|7d|30d]`

  A window ending now; 24h unless --from is given

- `--from ISO`

  Window start, at most 35 days ago

- `--to ISO`

  Window end; now by default

- `--series`

  Per hour, or per five minutes in a window of up to two hours

- `--workspace UUID`

  Override the linked workspace

- `--output [table|json]`

  Output format \[default: table]

- `--api-url URL`

  SegmentStream control-plane origin

- `--organization ORG-ID`

  Organization for this command

- `--help`

  Show this message and exit.

[Read as Markdown ↗](https://segmentstream.com/docs/cli/agent/observability.md)
