Skip to main content
Use this page to decode the values you read from sessions, events, outcomes, and setup runs. For how these fit together, see How it works.

Session status

status is the coarse state of a session.

Execution state

execution_state says what the agent loop is doing right now. It’s the authoritative signal: the event stream is written separately and can lag it.

Stop reasons

stop_reason is set whenever execution_state is idle or completed.

Event types

Each event has an event_type. Events are append-only and ordered. See Events to list, stream, and resume events.

Outcomes

Outcome status

Results

Each grading pass has a result. The outcome’s terminal_result is the final one.

Criterion verdicts

Session failures

A failed session has a failure object.

Environment setup

Setup verification

An environment’s setup_verification.status says whether sessions can use it. stale: true means the environment changed after its last test, so the result no longer applies. Changing the name, description, or metadata doesn’t make it stale.

Setup-run status and phase

phase is the stage the run reached: provision, gpu_check, setup, profile, commit, or cleanup. A failure in setup points at your script. A failure in another phase is usually temporary, so retry once before changing the script.

Account states

Next steps

Errors

Every HTTP error code and session failure code.

Limits

Every size, count, and time limit.

Events

List, stream, and resume session events.

Glossary

Definitions of every term.