---
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 ontology api-key

Create, list, and revoke API keys of the deployed ontology

## Usage

Command syntax

```
segmentstream ontology api-key [OPTIONS] [COMMAND] [ARGS]...
```

## Options

- `--help`

  Show this message and exit.

## Subcommands

[**segmentstream ontology api-key create**Create a service user with roles of the deployed ontology and print its API key once. NAME names the service, for example the website. With --delegation the key holds no role and acts only for the member each request names: the credential of an external agent the workspace trusts.](https://segmentstream.com/docs/cli/ontology/api-key/create) · [**segmentstream ontology api-key list**List API keys with their roles; secrets are never shown](https://segmentstream.com/docs/cli/ontology/api-key/list) · [**segmentstream ontology api-key revoke**Revoke an API key; its service user keeps its history](https://segmentstream.com/docs/cli/ontology/api-key/revoke)

[Read as Markdown ↗](https://segmentstream.com/docs/cli/ontology/api-key.md)
