---
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 eval

Run the agent's evals (agent/evals) with \`eve eval --url\` against the preview NAME's agent, as the test member EMAIL: a member that exists only in the preview's data, never in production, holding exactly the --role ROLE roles (repeatable) its ontology declares. An address a production member has is refused; use an invented one. The session's token works for 30 minutes (--minutes, at most 60) and reaches eve only through its environment. Arguments after -- go to \`eve eval\`.

## Usage

Command syntax

```
segmentstream agent eval [OPTIONS] [EVE_ARGUMENTS]...
```

## Options

- `--preview NAME`

  The preview \[required]

- `--as EMAIL`

  The test member's invented address \[required]

- `--role ROLE`

  A role the test member holds

- `--participant NAME EMAIL`

  Add an independently authenticated test member for a multi-person eval.

- `--participant-role NAME ROLE`

  Give a named participant a declared preview role. Repeat for several roles.

- `--minutes N`

  How long the session's token works; 30 by default \[1<=x<=60]

- `--workspace UUID`

  Override the linked workspace UUID

- `--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/eval.md)
