GET /v1/environments.
A run is one agent doing one task in one environment. It is created, runs while the agent calls the tools, ends once, and is then evaluated.
The trace is the ordered record of every call the tools answered, reads included. Nothing from inside the agent is in it.
The evaluation compares the end state and the agent’s output with the run’s checks. The score is the share of checks that passed, from 0 to 1.
How a run ends
ended_by says how:
finish: you calledPOST /v1/runs/{id}/finish.idle_timeout: no call foridle_timeout_seconds(default 600).timeout:timeout_secondshave passed since creation (default 3600).max_calls: the run reachedmax_calls(default 500).