---
title: "spinrun agent get"
description: "`spinrun agent get <ref>` — Print one as JSON (id or slug)."
url: https://docs.spinrun.ai/cli/agent-get
markdown_url: https://docs.spinrun.ai/cli/agent-get.md
---

# spinrun agent get

{/* GENERATED from @spinrun/cli/commands.ts — do not edit by hand. */}

Print one as JSON (id or slug).

Usage: `spinrun agent get <ref>`

```bash
spinrun agent get triage-bot > agent.json
```

## Related [#related]

* [CLI](https://docs.spinrun.ai/cli.md)
* [Build](https://docs.spinrun.ai/build.md)
