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

# algolia agentstudio agents get

> Get an Agent Studio agent by ID.

```txt Usage theme={"system"}
algolia agentstudio agents get <agent-id> [flags]
```

## Examples

Get an agent by ID:

```sh icon=square-terminal theme={"system"}
algolia agentstudio agents get 11111111-1111-4111-8111-111111111111
```

## Output formatting flags

**--allow-missing-template-keys**

If true, ignore errors in templates due to missing fields or map keys. This only applies to golang and jsonpath output formats.

**-o, --output**

Output format. One of: (json, jsonl, ndjson, jsonpath, jsonpath-as-json, jsonpath-file).

**--template**

Template string or path to a template file to use when --output=jsonpath, --output=jsonpath-file.
