---
title: "spinrun agent put"
description: "`spinrun agent put [--file f]` — Create, or replace when it has updated_at."
url: https://docs.spinrun.ai/cli/agent-put
markdown_url: https://docs.spinrun.ai/cli/agent-put.md
---

# spinrun agent put

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

Create, or replace when it has updated\_at.

Usage: `spinrun agent put [--file f]`

```bash
spinrun agent put --file edited.json
```

A document over 64 KiB is refused with exit 1 before anything is sent; the server would answer 413 to the same body.

## Related [#related]

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