valkyrie run reference. To do the same from Python,
see Manage runs with Python.
In the commands on this page, replace RUN_ID with the run’s ID, which
valkyrie run start prints, and TASK_ID with a task’s
ID.
Follow a run
--connect, run fetch prints one snapshot,
and --format json prints it as JSON.
A run ends as FINISHED, ERROR, or STOPPED. The command exits with 0 whichever way the
run ends, so check the status rather than the exit code.
Follow a run from a script
event field. The first record is a snapshot, then
update records follow, and the last is one of complete, error, stopped, disconnect,
or interrupted. If the stream ends without a final record, the command exits with 1. In
these records, finished_tasks counts tasks that finished, failed, or stopped.
Check several runs at once
RUN_ID_1 and RUN_ID_2 with the runs’ IDs.
The output keeps the order you gave. IDs that don’t exist or that you can’t see are listed
under missing_run_ids, and the command then exits with 1.
Find failed tasks
--format json to any of these.
Check how long a task took
See Task time limits for what counts toward each limit.
Read logs
--follow with --task-id. For scripts, add --format jsonl.
Search your run history
--agent-name, --benchmark-name, --model, --dataset, -l for the label,
--status, and --started-by, and sort with --order-by asc or desc. Page through the
list with h and l, and quit with q. To print every match as one JSON document:
null, and times are UTC in ISO 8601.
valkyrie run filter-options lists the agents, benchmarks, models, and other values your
organization’s earlier runs used, which are the values the filters accept.
Inspect the priority queue
On a Tracker that queues tasks in shared sandbox pools, see your organization’s waiting and active tasks:--waiting-offset and --active-offset to page through each list
separately:
Browse runs in the terminal
valkyrie ui lists your recent runs with live status. It only reads: stop or retry a run
with valkyrie run. To try it on sample data, add --fake.

