Spinrun Docs
CLI

spinrun agent test

`spinrun agent test <ref> [--prompt p]` — Run it once and wait for the result.

Run it once and wait for the result.

Usage: spinrun agent test <ref> [--prompt p]

spinrun agent test triage-bot --prompt "Triage the last three issues"

Prints the run id at once, then polls every two seconds. On finished it prints the final text and the credits spent and exits 0; on failed, aborted or waiting_approval it prints the status, the error and the run id and exits 2. After five minutes it prints the run id and exits 1 — the run keeps going, and keeps spending credits, on the server.

On this page