chainabit agents runs
Published (2.2.0)
This command is not included in Published (2.2.0). It is available in Development (2.2.0).
Development (2.2.0)
Recent runs of a cloud agent
Synopsis
chainabit agents runs <id> [options]Arguments
| Argument | Description | Default |
|---|---|---|
<id> | Required. | — |
Options
| Option | Description | Default |
|---|---|---|
--run <runId> | Show a specific run | — |
Options shared by every command are described in Global options and shared behavior.
Behavior
Lists the recent runs of the cloud agent with the given ID, each with its ID and status. The list is returned in one piece as the server provides it; this command has no paging options. With --run, it shows only that run's status instead. A run that does not exist, or does not belong to this agent, is refused with an error and a non-zero exit code. The command only reads. Listing works in the selected cloud workspace; if none is selected, the command stops and asks you to choose one first.
Output
Prints a table with an ID column and a status column. With --json, the output contains data (the runs, each with id and status) and meta, which includes location (always cloud). With --run, the output is one record; with --json it contains id, status and location.
Authentication and permissions
You must be signed in. The command only reads; if the server refuses, it prints the error and exits with a non-zero code. If the connected API does not support the operation yet, the command stops before sending anything.
Examples
chainabit agents runs 00000000-0000-4000-8000-000000000001
chainabit agents runs 00000000-0000-4000-8000-000000000001 --run 00000000-0000-4000-8000-000000000002