rwx results
Get results for a run.
Usage
rwx results [run-id | run-id --task <key>] [flags]
Arguments
[run-id]
The ID of the run to get results for. You can find the run ID in the URL when viewing a run in the RWX UI.
If not provided, the CLI will infer the most recent run for the current repository/branch.
Alternatively, pass a run ID with --task <key> to resolve the task by key.
Options
--task <key>
Resolve the task by key (e.g. ci.checks.lint) instead of ID. Use with a run ID as the first argument.
--wait
Poll until the run completes or reaches its first failure, then report additional details.
--fail-fast
Stop waiting when failures are available. Only has an effect when used with --wait.
--branch <branch>
Get results for a specific branch instead of the current git branch.
--repo <repo>
Get results for a specific repository instead of the current git repository.
--commit <sha>
Get results for a specific commit SHA.
--definition <path>
Get results for a specific definition path.
--open
Open the run in a browser.
Global Options
--format <format>
Output format: text or json. Defaults to text.
In json mode, rwx results returns a structured view of the run and its tasks. See Results for a description of every field.
Example JSON output (task-scoped, truncated):
{
"ID": "f068b078bca8b14180335cde89859698",
"TaskID": "f068b078bca8b14180335cde89859698",
"ResultStatus": "succeeded",
"Completed": true,
"Key": "write-artifact",
"TaskType": "command",
"Status": {
"Result": "succeeded",
"Execution": "finished",
"AbortedSubStatus": "not_applicable",
"FinishedSubStatus": "executed",
"WaitingSubStatus": "not_applicable"
},
"CacheHitFromTaskID": null,
"CompletedAt": "2026-06-02T13:05:28.873Z",
"Outputs": { "Values": [], "Links": [] },
"Subtasks": []
}
--json
Output JSON data to stdout. Equivalent to --format json.
--access-token <token>
The access token for RWX. Defaults to the value of the $RWX_ACCESS_TOKEN environment variable.