---
title: "Trials, logs and artifacts"
sidebar_label: "Trials"
description: "Inspect Agent, Sandbox and Train Trials, read run-specific logs and metrics, and download persisted outputs."
last_update:
  date: 2026-11-18
---


A Trial records one Runner run, with `type=bench|sandbox|train|inference` and a parent Job. Agent Trials execute Tasks; Sandbox Trials execute a published Runner without Dataset input; Train Trials execute independent training configurations. Training steps, futures, checkpoints and technical retries stay within their Trial. Use Trials to inspect one run and [Jobs](jobs.md) to inspect the whole submission.

The unified workflows require matching platform and client updates; an older installation may expose Agent Trials only.

An Inference Trial records one worker process lifetime. Requests reuse it; a process restart creates a new Trial,
including on the same machine. When there are no replicas, there is no active worker Trial. Send requests through the owning Job’s API.
Historical Agent/Train entries marked `unverified` lack recorded process details.

New Trial IDs use `trial_<ULID>`. Keep the complete ID returned by the platform for CLI commands and links. IDs created earlier keep their original form and remain valid; do not add, strip or change a prefix yourself.

## Find an attempt

Select the workspace and project that owns the run, then open **Experiment → Trials**. The default columns are Trial ID, Job ID, Type, Status, Created and Finished. **All columns** adds common metadata such as Name, User, Runner and Started. Task and reward belong in Agent details. Filter by type; use **Refresh**, **Next page** and **First page** to navigate.

```bash
el trial list --limit 10
el trial list --type train --job-id JOB_ID --json
el trial get TRIAL_ID
el trial snapshot TRIAL_ID
el trial result TRIAL_ID
```

The CLI command is spelled `trial`; the product and API resource are named Trial. Use a returned ID, for example `members[0].attempts[0].trial_id` in a Job receipt. `get` reads execution details, `snapshot` reads the frozen inputs, and `result` reads available outputs and reward without waiting for execution to finish.

## Common identity and type-specific views

The detail header shows Trial ID, Job ID, Type, Status, workspace, project, owner and recorded timestamps. Agent and Train share Overview, Logs, Metrics and Artifacts; Agent adds Visual, Train adds Checkpoints. Sandbox provides Overview, Logs, Metrics and Artifacts. Its Metrics tab shows recorded CPU utilization and memory observations for this Trial, with time selection, refresh and explicit missing-data states; it has no Agent Task fields, reward or evaluation metrics. Unsupported tabs fall back to Overview.

## Overview: inputs and execution

Agent **Overview** includes status, exit code, reported error, attempt number and the owning Job. Its timeline uses recorded created, started and finished timestamps; an absent event is **Not recorded**.

Expand **JobParams** to inspect effective parameter values. **Frozen profile** and **Frozen Runner** identify the versions used by this attempt, including available hashes. **Task Spec** shows the captured task definition and digest. Use these snapshots when a newer catalog version gives different behavior. The displayed workspace is the current viewing context; missing owner, tags or resource fields are not inferred.

| State | What to do |
| --- | --- |
| `pending` | Wait for dispatch; check the parent Job's progress |
| `running` | Inspect logs and refresh as output becomes available |
| `succeeded` | Execution finished successfully; separately inspect the verifier reward |
| `failed` | Read the error, exit code, stderr and available artifacts |
| `cancelled` | Execution was cancelled; inspect any retained outputs and cleanup receipt |

## Train Overview, metrics and checkpoints

Train Overview shows the recorded model, rank, seed, recipe, run/model IDs and frozen configuration. Metrics shows only actual training observations for this Trial. Training metrics and evaluation reward are shown separately. Checkpoints lists this run's saved checkpoints; keep the exact returned path, especially when runs use the same checkpoint name.

Logs and artifacts are read by Trial ID. Historical untagged output that cannot be safely attributed to one run is shown as unavailable; the reader does not reconstruct it or substitute the whole Job's output. Some historical multi-model runs also cannot be stopped individually; inspect the returned capability or use authorized Job stopping.

## Visual: screenshots, replay and rubric

Open **Visual** to inspect supported image, `result.json`, `reward.json` and judge artifacts returned for the Trial. **Outcome** separates verifier reward from auxiliary composite and shows reported steps against the budget. When available, **Rubric checks** lists individual checks, dimensions and details; select **Failed only** to focus on failures. **Model judge** shows auxiliary judgments and never changes the verifier reward.

A **Replay** appears when more than one ordered screenshot frame is available. Use **Play/Pause/Replay**, previous/next buttons, the frame slider, or speeds from **0.5× to 4×**. With the player focused, left/right arrows step, Home/End jump, and Space or `k` toggles playback. Click the displayed replay frame to zoom. Captions, step numbers and action marks depend on a readable transcript; screenshots can still play without captions. Replay timing is a presentation speed, not a measurement of original execution latency.

Initial/final images and other image artifacts can also appear under **Images**. A result not yet available produces a waiting message; a result without supported visual artifacts produces an empty-state message. Unreadable structured artifacts may leave rubric/judge sections absent. A missing or unavailable frame can remain at **Loading frame…**; inspect **Artifacts**, upload/collection state and access, then reload the page after the source is available. Use the original artifacts and **Metrics** for the result.

## Logs: choose the source and stream

Inference Trials also have a separate **Logs** tab. The owning Job’s **Logs** tab lets you select a Trial. Read stdout and stderr separately; a worker restart has its own logs. Historical output that was never recorded is shown as unavailable, and an unconfirmed final capture is marked partial.

1. Open **Logs**. Start with **main**, which includes task/Runner output; additional captured sources appear as separate tabs.
2. Choose **stdout** for normal output or **stderr** for diagnostics. These streams have independent ordering, so they are not a single merged timeline.
3. Use **Next page** to continue reading, **Start** to return to the beginning, and **Refresh logs** for new output. A running Trial is not a continuously streaming terminal.
4. **Copy page** copies the currently displayed text only.

The capture badge reports **Pending**, **Collecting**, **Complete**, **Partial** or **Failed**. “End of captured stream” means the end of currently captured output, not necessarily the end of a running task. Truncation reports dropped bytes. A **Saved result snapshot** warning means original streams were unavailable and retained output may be incomplete. If logs are empty, check the Trial’s state and capture badge, then refresh.

## Metrics: reward and auxiliary results

For Agent Trials, **Metrics** shows the verifier reward separately from execution status. A successful process can have reward `0`; a missing reward shows **Not provided**. When the Runner declares a supported structured result, the page also shows composite, dimension and judge summaries. These are auxiliary results; the verifier reward remains the scoring source.

The owning Job's aggregate metrics appear below when available. There are no Trial time-series charts on this page. If structured metrics cannot be parsed, inspect the original artifact in **Artifacts**. See [Evaluation](evaluation.md) for aggregate denominators and score coverage.

## Artifacts: preview and download

The **Artifacts** tab organizes returned files in a directory tree. Select a directory or file, inspect its preview, raw-byte size, SHA-256 and upload state. Selecting an uploaded text, JSON or log file loads its contents even when no inline preview was recorded. Text previews show line numbers, including JSON in Pretty/Raw display. In Pretty mode, use the arrows beside objects and arrays to collapse or expand nested content; later lines retain their displayed line numbers. TOML sections also fold independently. JSONL/NDJSON preserve one record per line with syntax highlighting. The Preview heading and display controls share a toolbar. Folding does not change copied or downloaded content; inline base64 previews are labelled explicitly. A failed read offers **Retry**. Previews show at most the first configured preview limit (default 1 MiB) with a truncation notice; use **Download** for the complete original file. Binary files remain available through download.

**Download** is enabled only for a persisted artifact with a registered artifact reference and `uploaded` state. For “Preview only — not persisted”, refresh outputs and wait for collection before downloading. A collection failure can occur even after task execution succeeded. Use **Refresh outputs** to read updated collection state.

The Artifacts file browser previews supported UTF-8 text files, including JSON and JSONL, up to configured preview limit (default 1 MiB). Select a file to load its preview; larger text is marked as truncated and binary files have no inline preview. **Download** opens a copyable `el trial artifact get ASSET_ID --output FILE` command for the selected artifact. Run it in the owning workspace and project to download and verify the complete file. For a directory artifact, the command downloads the complete output directory, including the selected file.

```bash
el trial artifact list --trial-id TRIAL_ID --with-files
el trial artifact get ASSET_ID --output ./outputs
```

The CLI downloads uploaded artifacts and checks safe paths, byte sizes and SHA-256. A failed or incomplete download returns a nonzero exit code; do not treat a preview as a substitute for the checked file. SHA-256 describes raw bytes, so re-encoding a decoded text preview is not a valid verification method for arbitrary binary artifacts.

## Stop or run again

```bash
el trial stop TRIAL_ID
```

Stopping a Train Trial affects that run only; a queued Trial is prevented from starting. A sibling failure or stop does not cancel other Trials. To stop all queued and running Trials, use the parent Job's stop action (`el job stop JOB_ID` for training). Check the response and cleanup status; contact support if stopping is unsupported or cleanup remains unconfirmed. Public Trial stop permissions remain enforced; an API Key may be rejected where a browser session is required.

To run again, submit a new Job with a new request ID. Reusing the same submission `request_id` refers to the original request; it does not create a new attempt with changed parameters. A client wait timeout also does not cancel the remote task. See [Run tasks](tasks.md) for execution timeouts and [Troubleshooting](troubleshooting.md) for recovery.

Sandbox Trials run a published Runner without Dataset input. Check the exit code and expected stdout/stderr; see [Sandbox Jobs](jobs.md#run-a-sandbox-job).

The Agent Trial overview groups execution results, Job Spec, frozen sources and
available source files. Job Spec shows the same frozen configuration as the owning
Job; the Profile and Runner links identify its inputs. Expand **Complete configuration**
to inspect every recorded setting without changing the run.

## Scheduling phases

The lifecycle uses **Scheduling** while the platform prepares execution and
**Scheduled** once preparation is complete, before **Running**. Missing historical stages show **Not recorded**.
Training log tabs use `scheduling.attempt0`, `scheduling.attempt1`, and so on for
technical retries within the same Trial. Captured log text is preserved as recorded.

Log badges explicitly identify **Log capture**. A capture failure means output
collection failed; check the Trial status separately for the execution result.
The training timeline calls its counter **Execution attempt**: it includes the
initial attempt and automatic retries, and does not create another Trial. This
counter is distinct from the scheduling attempts shown in log source names.

A Trial's summary start time and duration may include execution preparation.
The existing Trial Running row uses that summary time; only a recorded Running
phase can establish when the entrypoint actually began.
