---
title: "spinrun workflow"
description: "`spinrun workflow list|get|validate|put|test|delete` — The same, for workflows."
url: https://docs.spinrun.ai/cli/workflow
markdown_url: https://docs.spinrun.ai/cli/workflow.md
---

# spinrun workflow

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

The same, for workflows.

Usage: `spinrun workflow list|get|validate|put|test|delete`

```bash
spinrun workflow list
```

`workflow test <ref> --file input.json` sends the file's JSON as the run's input (`{"input": {…}}` on the wire) and polls `GET /api/build/workflow-runs/{runId}` the way `agent test` does, with the same five-minute wait.

## Related [#related]

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