tinyfish agent run
Execute a browser automation. By default the output streams as newline-delimited JSON — one object per event.
Flags
| Flag | Description |
|---|---|
--url <url> | Target URL to automate (required) |
--sync | Wait for the run to complete and return the full result |
--async | Submit only — return the run_id immediately without waiting |
--pretty | Human-readable output instead of JSON |
Output modes
- Streaming (default)
- Sync (--sync)
- Async (--async)
One JSON object per line as events arrive. Use this when you want live progress or are piping to another tool.
Pressing Ctrl+C during a streaming run cancels the run server-side before exiting.
tinyfish agent run list
List recent runs.
Flags
| Flag | Description |
|---|---|
--status <status> | Filter by status: PENDING, RUNNING, COMPLETED, FAILED, or CANCELLED |
--limit <n> | Number of runs to return (default 20, max 100) |
--cursor <cursor> | Pagination cursor from a previous response |
--pretty | Human-readable output |
Examples
tinyfish agent run get <run_id>
Get the full details of a specific run.
Flags
| Flag | Description |
|---|---|
--pretty | Human-readable output |
Example
tinyfish agent run cancel <run_id>
Cancel a run that is PENDING or RUNNING.
Flags
| Flag | Description |
|---|---|
--pretty | Human-readable output |
Auth commands
| Command | Description |
|---|---|
tinyfish auth login | Open the API keys page and save a key interactively |
tinyfish auth set | Read an API key from stdin and save it |
tinyfish auth status | Check whether a key is configured and where it comes from |
tinyfish auth logout | Remove the saved API key |