Monitor Train Job
Use a Job ID returned by training submission to follow the run. You need read access to the same project.
Console and CLI
el job get JOB_ID
el trial list --type train --job-id JOB_ID --json
el job log JOB_ID --follow
el job metrics JOB_ID --follow
el job result JOB_ID
el checkpoint list --job-id JOB_ID --json
The Console's Experiment pages show status, Trials, logs, metrics and checkpoint downloads. Submit and stop Jobs with the CLI or SDK.
Open the metrics dashboard
Open Metrics on a Train Job or Trial. When both metric categories use the same frozen Trackio service, Console opens its native read-only dashboard. Select the Trackio tab for training metrics or the separate System metrics tab for resource observations. Select recorded series and adjust smoothing or the horizontal axis. A Trial shows only its own observations. Select Full screen to expand the dashboard. Press Escape to return. Open Experiment records for structured records and attachments. A finished Runner Job also offers Saved trainer observations when its Trial uploaded a trainer observations file. Console verifies the file before displaying its charts. A missing final receipt leaves delivery unconfirmed. Known pending or dropped metrics trigger an incomplete-delivery warning. If the dashboard fails to open, select Retry dashboard. Recorded scalar metrics remain available as classified charts while the native dashboard is unavailable, including when the connected service needs a dashboard capability update.
API clients can read GET /v1/jobs/JOB_ID/monitor/dashboard or
GET /v1/trials/TRIAL_ID/monitor/dashboard. A ready iframe descriptor has
readonly=true and entry="content". Append /content to the descriptor path
and use the same authorized identity. Every asset and read-only query uses the
resource's project and its authorized runs. The native Trackio dashboard requires
the service capability dashboard_embed_v1. An unavailable provider or missing
capability is shown on the Metrics tab. W&B has no native adapter. Builtin and
separately configured metric categories retain their classified charts.
Select metrics and read history
Use GET /v1/jobs/JOB_ID/monitor/metrics or the corresponding
/v1/trials/TRIAL_ID/monitor/metrics path with the same project read access.
| Parameter | Meaning |
|---|---|
category | experiment for training metrics or compute for system metrics. Omit to query both. |
metric | Exact metric name; repeat for multiple names, up to 32. For example, metric=train/loss. |
start, end | Time range, using Unix seconds or supported timestamp strings. |
max_points | Chart observation limit per series, 2–2000, default 500. |
bucket_seconds | Time bucket for built-in request statistics. This does not average Trackio training steps. |
For a loss chart:
GET /v1/jobs/JOB_ID/monitor/metrics?category=experiment&metric=train%2Floss&start=1794787200&end=1794790800&max_points=500
Selecting experiment avoids reading machine observations. Names are sent to
the reporting service before history selection. Returned values and step/run/
writer/Trial identities remain recorded observations. Samples omit events rather
than average them, and truncated=true discloses omitted points. The selected
category retains its response section; the other section has no series and
missing_reason=CATEGORY_NOT_REQUESTED. Unknown metric names return no series.
For complete scalar history, use the separate unsampled endpoint:
GET /v1/jobs/JOB_ID/monitor/metrics/history?category=experiment&metric=train%2Floss&start=1794787200&end=1794790800&limit=100
The Trial equivalent is /v1/trials/TRIAL_ID/monitor/metrics/history. This endpoint
requires explicit start, end and category. limit counts events, from 1 to
500, default 100; each event contains its original identity, time, step and only
the selected metrics. Follow next_cursor as the next request's cursor, keeping
the range, category, metric selection and limit unchanged. Pages can be shorter
than limit to respect the response byte budget. A cursor is bound to the
authorized scope and query; it cannot be reused for another project or Trial.
When a Job contains several authorized runs, choose run_id from
experiment_run_ids in the chart response. Raw history is supported for Trackio;
another provider returns METRICS_HISTORY_UNAVAILABLE. History is a live
chronological read: late observations inserted before an already consumed cursor
require rereading that time range. It is not an immutable snapshot export.
The page contains resource_id, run_id, start, end, items, next_cursor
and truncated. Each event contains event_id, run_id, writer_id, trial_id,
observed_at, step, category and metrics. Sampling several sparse metrics
together can omit observations for one of them; select a single metric for its
curve or page through raw history when every recorded observation is required.
Selected queries extend the existing reporting-service endpoint. The platform
checks the Trackio service's metric_query_v1 readiness capability before sending filters. An
older service reports TRACKIO_QUERY_UNSUPPORTED on the chart rather than silently
ignoring filters. The scalar history endpoint is independent of structured
monitor/records; native training scalars do not need to be duplicated as records.
These parameters apply to the HTTP monitoring API, not to el job metrics flags.
Experiment reporting
When your environment enables Trackio, a published immutable Recipe can report experiment metrics, system observations, tables, images and traces to the same Train Job. The platform selects the reporting service and supplies the recipe's scoped connection. Submission does not accept a reporting provider or service credential. Existing Jobs keep their original reporting service when project configuration changes.
The Recipe records observations at its own training steps. The platform supplies the fixed reporting SDK and a connection scoped to the Job and Trial through the Runner worker. It does not edit the Recipe or supply training algorithms. Older Jobs without an admitted reporting binding do not acquire credentials when a project enables reporting later.
The Train Job's Metrics tab shows training curves, compute observations, availability, structured experiment records and tables. Load an attachment to preview supported images, audio or video, or download it. HTML and other documents are downloads rather than executable previews. Download these records exports the current page; use Next records to inspect later pages. These views require read access to the Job's project and do not modify the Job.
An unavailable service or a gap is shown explicitly. Reporting retries can leave unacknowledged data in a bounded worker buffer; loss of that buffer can leave a gap. A reporting failure does not determine the training outcome. Check the Job status and durable checkpoints separately. A comparison of Jobs with different reporting providers is unavailable rather than silently mixing their histories.
Trackio artifacts are experiment attachments. Use the platform's Checkpoint workflow for trained model assets and their fixed ANS references.
Live progress
Follow the actual Job status and original worker output:
el job get JOB_ID
el job log JOB_ID --follow
el job metrics JOB_ID --follow
Current Runner training records the Recipe's explicitly numbered observations. It preserves step zero and does not infer a step, total, percentage or ETA from progress bars or from text in another stream. Missing observations stay missing; check status, results, checkpoints and cleanup separately.
Historical Jobs retain their recorded training.progress and trainer_output
semantics. Their existing progress summaries do not establish steps for a new
Runner Job. Metrics observation does not determine whether training succeeded.
Per-step metrics
A compatible immutable Recipe emits each actual observation as a single stdout
line with the envloop.training-metric/v1 schema and its real training step.
Builtin reporting needs no Trackio installation, context file or SDK. The
platform keeps this scoped step history even when the environment selects
Trackio; the selected provider's Metrics view keeps its own availability state.
el job metrics JOB_ID
el job metrics JOB_ID --follow
el job metrics JOB_ID --json
Builtin GET /v1/jobs/JOB_ID/metrics and
GET /v1/trials/TRIAL_ID/metrics expose observed steps in loss.per_step:
{
"step": 0, "model_id": "MODEL_ID", "at": 1793710800.0, "loss": 0.2118,
"learning_rate": 0.0001315, "grad_norm": 0.8851, "epoch": 0,
"tokens_seen": 681376, "seconds_per_step": 40.1, "source": "runner_stdout"
}
- Steps and token counts are nonnegative integers; other reported values must be finite numbers. Only the six metric fields shown above are accepted.
atis the first platform observation time. Repeated reads and restart keep it; another observation for the same step updates supplied fields without clearing the others. Job and Trial identity come from the owning worker, never its text.- Raw stdout stays available through Job logs. Stderr, progress bars, lines without a step, unknown metadata and malformed or oversized records do not create steps.
- Capture and observation pages have fixed bounds. A missed window or storage failure is reported as truncated or unavailable; missing steps are not invented.
- Historical Jobs retain their existing step records and checkpoint-summary fallback. A new Runner Job without an actual step has no step history.
The decision recipe records one observation per optimizer step. Its loss is
the training objective you selected. For option_ce this includes the Brier and
label-mass terms, and for full_vocab_nll it is the label-token loss. It also
records learning_rate, grad_norm, epoch and tokens_seen. The recipe does
not compute an evaluation loss or accuracy while it trains. Measure decision
quality separately on held-out rows.
Experiment metrics
The Train Job Metrics tab follows Logs and combines training quality, saved trainer observations, experiment records and runtime metrics. Loss comes first; actual learning rate, gradient norm and epoch appear only when recorded in history. The model selector includes every recorded model and keeps unbound records separate. Show data and keyboard chart inspection preserve the same raw steps and values, including zero, negative values, sparse steps and gaps. Request optimizer indices and checkpoint indices stay separate by source; they are not a unified trainer global step.
Built-in recipes chart their per-step metrics while they run, labelled
Trainer output, with the learning rate and gradient norm the trainer reported.
Checkpoint loss remains readable by step without individual timestamps. Checkpoint
learning rates are labelled configuration values and never plotted as observed
rates. The last observation is shown separately. This Job-level snapshot
is independent of the selected model; an unknown metrics_step is explicit and
never replaced by current progress. The browser does not accumulate snapshots into
history. A missing value was not recorded. After the Job ends, refresh once to see
late checkpoints.
History and last observations show independent errors. Read-time labels are omitted. One failed read preserves the other source; failed refreshes identify retained old values, while access denial clears both. Truncation and conflicts remain visible. Active nonterminal views refresh about every 30 seconds and pause when hidden. This first view has no smoothing, time filtering, best-loss summary, cross-Job comparison or execution controls. Metrics includes other recorded quality metrics, compute metrics, runtime time ranges, Perfetto and trace downloads. Request utilization counts requests; GPU utilization is a separate chart.
Job and Trial metrics
A Job contains one or more independent training Trials. Select a Trial to inspect its losses and saved checkpoint metadata. Historical output that was not captured is shown as unavailable. For a completed run, inspect the result and download the weights you need using Checkpoints.
Interruptions
job log --follow drains captured output and exits when capture ends. Ctrl-C stops
the reader without stopping training. If the Job fails, keep its ID and error code,
inspect job result, and contact support with sanitized diagnostics; omit Keys and
private training samples. After an uncertain submission response, retry the original
request with the same ID instead of creating a second experiment.
Client exit
A Train Job continues under platform control after the submitting client exits. Public heartbeat/future/optimizer calls are removed. Use Job queries for history. Do not expose credentials or private training data in diagnostics.
Use the console
Open Jobs in the intended project and select Job type → Train. The default columns are Name, Job ID, Job Type, Status, Created, Finished and Action; All columns adds Queue and User. Finished is — when it has not been recorded. Filter by type, refresh or page through Jobs, then open a Job to inspect:
- Overview: model, owner, LoRA rank, last training request, error code, live progress and latest checkpoint. Open Trials for each run’s model ID and frozen configuration.
- Logs: select a Trial by name and ID, then read its captured output using the same process tabs and stdout/stderr controls as Bench Jobs. Refresh, page through or copy the selected output.
- Checkpoints: registered artifacts with type, size, full path and download actions.
- Trials: this Job's runs, with links to each Trial.
- Metrics: recorded loss, actual learning rate and gradient norm by model, the independent last Job observation, saved trainer observations, experiment records and runtime charts with time ranges and trace download.
- Events: recorded event details; the header workflow shows the lifecycle.
- tag: values the run actually supplied. An empty field means nothing was recorded.
The console may show the requested rank before the backend reports it; read the label. — and “Not provided” mean the value was not reported.
Inspect one Trial
Open Trials inside a Job, or filter Type → Train in project Trial history, and select a Trial. The common header identifies its parent Job and scope. Overview shows its training configuration, Logs reads attributable output, Metrics shows actual recorded training observations, and Checkpoints and Artifacts contain this run's outputs. Historical logs without a Trial tag show unavailable.
el trial list --type train --job-id JOB_ID --json
el trial get TRIAL_ID
el trial result TRIAL_ID
A Trial stop affects only that run; Job stop also prevents queued Trials from starting. Failed siblings do not cancel other Trials. Historical runs without safe per-model stopping retain an unavailable capability. Keep checking cleanup separately. The shared Trials guide covers type-specific tabs and stopping.
Read Train Job logs
Open the Train Job in Jobs → Logs and choose a Trial. The selector includes every page of this Job’s Trials; unnamed Trials display their ID. Logs come from the selected Trial, and switching Trials resets the process, stream and page.
Use the Job ID from the CLI to read Job-level logs:
el job log YOUR_JOB_ID
el job log YOUR_JOB_ID --source system --tail 200
el job log YOUR_JOB_ID --source runtime --follow
el job log YOUR_JOB_ID --tail 200 --json
el job log YOUR_JOB_ID --cursor YOUR_CURSOR --limit 200 --json
el job log YOUR_JOB_ID --follow --json
envloop job log behaves identically. The default reads the last 200 retained records. --source all|system|runtime selects platform diagnostics, runtime output or both. System diagnostics cover preparation, startup, checkpoints and cleanup; Runtime contains captured training output. Runtime holds only your task's own streams: setup, run, trainer, per-node and Runner output, shown as captured apart from removed credentials, signed URLs and the scheduler's task prefix at the start of a line. Scheduler output is not part of your logs, including the scheduler's lines that connect a node to its cluster. System shows the platform's progress as fixed status lines built from the Job's state, such as state changes, recovery attempts, checkpoints and resource release. Each line is one sentence, for example Training request accepted., Preparing GPU resources., Training started., Recovering GPU resources (recovery 1)., Training resumed., Training finished. and Resource release confirmed. A state line is written when the Job enters that state: Training request accepted. for PLANNED and Preparing GPU resources. for LAUNCHING. Waiting for GPU resources. is written only for QUEUED. Current recipes go from PLANNED to LAUNCHING without QUEUED, so while a Job waits to start, its system log shows only Training request accepted. A backend may not expose runtime output; its availability is reported separately. A combined stream means stdout and stderr were combined when captured.
In the console, process tabs show the sources recorded for the selected Trial. Training initially selects all processes; choose a process and stdout or stderr to narrow the output. Refresh logs reloads the current page, Start reads from the beginning and Next page continues when more captured output is available. Copy page copies the displayed text. Capture status, captured bytes and truncation are shown separately from the log text. Missing historical output is labeled Not recorded.
--json returns a complete page with next_cursor, has_more, eof and capture completeness. --follow --json emits one JSON page per line (NDJSON). Follow resumes from the last successful cursor; Ctrl-C exits without cancelling training. --cursor and --tail are mutually exclusive; --limit is 1–1000. Logs require project training.read permission. The SDK equivalent is client.training_jobs.logs(job_id, source="all", tail=200, limit=200).
Logs are retained for 7 days after the job ends. Some historical jobs have no captured logs. collection_status, missing_reason, truncated and dropped_bytes tell you whether a capture is complete. An expired cursor returns LOG_CURSOR_EXPIRED; refresh or omit the cursor to read retained output again. A temporary storage error is a read failure, distinct from unavailable historical logs. Reading a failed job's logs does not retry the job.
For built-in recipes, each runtime line's at is the time the GPU node wrote it, also when the line is collected only after the Job ends. Other output is timed when it is collected.
A line that has no write time and was collected only after the Job ended has backfilled: true. Its at is the collection time, so it is later than the time the line was written. el job log marks such a line with (backfilled) after its time. Lines collected while the Job runs, and lines that carry their write time, have backfilled: false.
Find the failure stage
When a record includes a diagnostic code, the CLI shows it before the message, for
example [BATCH_INPUTS_UNAVAILABLE; phase=prepare]. Keep that code and phase with
the Job ID, then run el job get JOB_ID to read training.error_code.
Use el job log JOB_ID --json to inspect the original fields if your installed
client does not display them in text.
The separate Log collection: message on stderr describes gaps in captured output.
For example, PROVIDER_JOB_NOT_FOUND means the collector could not find the provider
Job to read; the training failure cause is in training.failure. While a Job runs, repeated slow
reads show collection=collecting with COLLECTION_DELAYED: output is still being
collected and later reads catch up. COLLECTION_FAILED appears only after the Job ended
and its final collection could not complete. Check the Job's error code and
system logs before retrying. Share those diagnostics with support, keeping private
training samples and credentials out of the report.
Read status from the CLI
el auth status --check
el job list --type train --limit 25
el job list --type train --status running --json
el job get YOUR_TRAIN_JOB_ID
el job result YOUR_TRAIN_JOB_ID
Use the returned Job ID, not a parsed training-run URI. Listing is paginated: continue with --cursor and next_cursor. A Train Job has one public status: the Job's status (pending, starting, running, recovering, cancelling, completed, failed, cancelled or unknown); training has no separate status. phase describes the corresponding execution stage, and training.state keeps the training controller's own state name (for example PLANNED or LAUNCHING) for diagnosis:
| Phase | Meaning |
|---|---|
PLANNED | Accepted and not yet released to a provider |
QUEUED | Accepted and waiting; recorded by older Jobs |
LAUNCHING | Released to a provider; waiting for a GPU and preparing it |
STARTING | Preparing resources/model; capacity may still be pending before GPU allocation |
RUNNING | Active; inspect actual metrics for completed steps |
RECOVERING | Recovery in progress; inspect later transitions |
CANCELLING | Stop requested, release still in progress |
SUCCEEDED | Execution succeeded; verify requested steps and artifacts |
FAILED | Inspect the failure and last confirmed checkpoint |
CANCELLED | Inspect partial artifacts and cleanup separately |
Each Trial has two time limits; see Run-time limits. Time in PLANNED, or QUEUED in older Jobs, counts only toward the queue limit, limits.queue_timeout_seconds from GET /v1/training-models. A Trial still waiting when it passes ends failed with EXECUTION_QUEUE_TIMEOUT, and no GPU is allocated. The training limit, limits.timeout_seconds, starts when the Trial leaves the queue and covers GPU allocation, setup, training and saving. A Trial that reaches it ends failed with TRAINING_TIMEOUT. In a Job with several Trials, a later Trial stays queued until the Trial before it ends. Its queue limit starts then, and it gets the whole training limit from its own start.
A wait timeout leaves the Job running. To stop it, run el job stop JOB_ID, then query its state until it is terminal and its cleanup is done.
Metrics, trace and interruptions
For HTTP requests, supply your project Key as ENVLOOP_API_KEY using your shell’s secret input or secret manager (Authentication). Replace JOB_ID with the same training Job ID. Then read its metrics and trace:
curl -H "Authorization: Bearer $ENVLOOP_API_KEY" "https://api.envloop.ai/v1/jobs/JOB_ID/metrics"
curl -H "Authorization: Bearer $ENVLOOP_API_KEY" -o JOB_ID.trace.json "https://api.envloop.ai/v1/jobs/JOB_ID/trace"
For built-in recipes, loss.per_step holds the per-step metrics. Recorded panels may include tokens, loss, latency percentiles, throughput and resource observations. A trace covers captured backend requests, and throughput can be estimated. Inspect downloaded traces locally and redact them before sharing.
Preserve recorded training.timeline, training.failure and the last durable checkpoint after a fault. GPU capacity waiting is distinct from startup after allocation. Do not assume automatic machine migration or continuation of unsaved optimizer state. Resume only through the supported weights-initialized Qwen path, with a new Job and fresh optimizer; otherwise a restart trains again.
Legacy interactive records may report SESSION_RECLAIMED, TRAINING_HEAD_LOST, GPU_HARDWARE_FAULT or finish reason abandoned. Their former heartbeat/reclaim behavior is historical; a Train Job does not depend on the submitting process remaining alive. Old interactive clients cannot heartbeat through removed public routes. Inspect existing Jobs and release outcomes rather than trying to revive a removed session.
Group loop Jobs and check usage
el loop list --json
el loop get LOOP_ID --json
el job list --type inference --json
el loop get groups the Train Jobs a loop launched by their supplied rsi_loop and rsi_iteration tags; reading it does not start a loop or training. Jobs without these tags are not grouped. For supported text recipes, record tags when submitting.
Keep any supported temporary scope ID, cleanup Operation ID and final outcome in the receipt. Historical native serving resources remain queryable and stoppable; see Inference lifecycle.
Gather a useful support report
Record UTC window, installed client revision, public API origin, project selection, Job/Trial ID, failed stage, sanitized error code, last completed step and checkpoint path. Include reproducibility and cleanup outcome. Keep raw private logs local; remove Keys, cookies, signed URLs, sample data and personal information before sharing.
| Symptom | Investigate first |
|---|---|
| 401 | Key expiry/revocation, API origin and connection/environment overrides |
403 / ACCESS_DENIED | Membership, Key scope, project and training policy |
| Long startup | Original status/timeline and capacity; avoid duplicate submissions |
| Slow training | Actual metrics, latency and trace |
| Timeout | Whether the original request was accepted and completed |
TRAINING_TIMEOUT / EXECUTION_QUEUE_TIMEOUT | Which limit was reached: the Trial's training time, or its wait to start |
| Failed save/download | Artifact registration, durable publication and file verification |
| Inference failure | Separate endpoint status, alias and compatibility |
TRAINING_DATA_UNAVAILABLE | Pev snapshot ownership and every imported reference field |
| Cleanup incomplete | Persisted Operation, dependency blockers and explicit authorized retry |
Next: Checkpoints and Python SDK reference.