Skip to content
Docs menu

runs

Training runs: submitted here and executed by an executor, either a self-hosted worker or Modal (modal)

28 operations · 117 schemas

GET /v1/runs

List training runs

listRuns · scope key:read

Runs visible to the caller (created by them or owned by an org they belong to), newest first. A self-hosted runner discovers its work here with status=queued&executor=worker.

Parameters

listRuns parameters
NameInTypeDescription
statusqueryJobStatus
executorqueryRunExecutor

Filter by executor (worker | modal).

ownerqueryHandle

Filter by billing owner handle (username or org slug).

kindqueryRunKind

Filter by kind: external (imported), orchestration (a plan's run), cloud (executed; narrow further with executor), job (a command from an uploaded project).

robotquerystring

length ≤ 128

Filter by the robot the recipe names (owner/slug, exact), or the literal none for runs whose recipe names no robot.

gatedqueryboolean

true: only runs that were tested in simulation. That is a run with a scorecard (scorecard_key set), or one with a finished sim test of a checkpoint while it trained (best_gate non-null). false: only runs with neither.

parent_run_idqueryId

The direct forks of one run (its lineage children).

import_keyquerystring

length 1–255

Only the imported run that importRun recorded with this import_key (exact). An importer finds its earlier import with it.

templatequerystring

length 1–64

Only runs whose recipe names this template (Recipe.template, exact): a method page's Runs tab. Part of the query.

facetsqueryboolean

default false

true adds facets to the page. They show how the caller's whole visible set splits by kind, executor, status, robot and gate. This request's filters are NOT applied to them. A filter rail can then print a count beside every choice. Default false. The CLI never pays for it.

limitqueryinteger

default 20 · ≥ 1 · ≤ 100

Page size.

cursorquerystring

length ≤ 512

Opaque cursor from the previous page's next_cursor.

Responses

listRuns responses
StatusDescriptionBody
200

Page of runs.

RunPage
401

Missing or invalid credentials.

Problemapplication/problem+json

POST /v1/runs

Create a training run

createRun · scope key:train

Queues a training run from a recipe. The API validates the recipe envelope and the dataset ref URI format (lucen://, hf://, github://). The executor resolves external refs. owner defaults to the caller. Pass an org slug to bill an org. parent_run_id records lineage (fork / retrain attribution). The coach's resolved-config diff runs against it.

Executor. recipe.executor picks the backend. Absent means worker. A worker run is recorded as queued and stays there until a self-hosted runner claims it. The runner is lucen worker run, holding a train key for this owner. The hub does not track connected runners, so a run with no runner waits. A modal run is recorded queued. The hub then spawns the template's deployed Modal function on the tier's GPU (modal_call_id / dispatched_at on the run). The container claims and reports like a runner. On a deployment without MODAL_APP_NAME, the submit answers 503 naming it. It records no run, because that run would never start. A spawn that fails after the commit leaves the run failed with the reason. The run is not left queued forever.

The cloud. A cloud run is launched on the hub's own AWS and Azure accounts as a SkyPilot managed job (RunCloud on the run). The VM claims and reports like a runner. Spot is used when the work resumes from its newest checkpoint: a VM the cloud takes back is replaced, and the run resumes. It is billed at the instance's price × 1.1, per VM. Without a SkyPilot server, or without an image for the run, the submit answers 503 and records nothing. A CPU template and an Isaac Lab job that must run behind Lucen cloud's network allowlist are 422 there. A hub may send a tier's modal runs to the cloud. It does so for work of at least CLOUD_MIN_HOURS with a cloud image, and the stored recipe then says cloud.

Jobs. recipe.template: custom with a recipe.job block runs any command from an uploaded project (createJobSnapshot). The run's kind is job. It keeps what a run has: logs, metrics, checkpoints, cancel, the budget and the ledger. With modal it runs on Lucen cloud, billed at the provider's cost × 1.1. A hosted job needs budget_usd, and max_hours of at most JOB_MAX_HOURS (default 24). It is open to owners in HOSTED_OWNERS, and to workspaces with a payment method once the hub takes payments. Anyone else gets 402. An isaaclab3-newton job on Lucen cloud runs without NVIDIA's assets for an owner outside HOSTED_OWNERS. NVIDIA's licence for its Isaac Sim assets does not let the hub fetch them for others. Such a job runs in a sandbox whose network reaches only the package indexes, Hugging Face, GitHub and this hub, and its command does not run as root. A job that asks for an asset fails, and its error names the file and the reason. Such a job runs on own_modal or worker. Every hosted isaaclab3-newton job is priced at that sandbox's host: 2 cores and 8 GiB, or 4 cores and 16 GiB with job.large_host. Its default GPU is a10g; another job's is l4. With own_modal it runs in the owner's own Modal workspace, connected in Settings, and the hub bills nothing. At most JOB_MAX_CONCURRENT (default 2) jobs per owner may be queued or running on Lucen cloud and on the owner's Modal together. One more is 429.

Idempotency. Send an Idempotency-Key header to make retries safe. Idempotency keys are scoped per credential. The same key with the same body within 24 h returns the run created the first time (200, same id). The same key with a different body is 422.

GPU-hour quota. The GPU hours an account may reserve on priced executors (modal, cloud) are capped. The hub sums max_hours (service default 4) over the priced runs the user created in the last 24 h. Runs that are canceled are left out. Runs created through ANY credential count: a session, any key, an agent session's keys. That sum plus this run must stay within the deployment's RUN_DAILY_GPU_HOUR_QUOTA (default 24 h). Otherwise the answer is 429 with Retry-After, X-GPU-Quota-Limit / -Used and a problem body naming the numbers. An API key's own daily_gpu_hour_quota, when set, narrows that further for the runs the key created. worker runs are unpriced and never count.

Planned templates. The hardware planner knows some templates that no executor implements yet (pi0_lora, groot_lora, openvla_lora). Such a template is 503 naming the missing template, on every executor, and nothing is recorded. POST /v1/runs/recommend still answers for it. Ask recommend before create: it picks the GPU tier from the model family, the method and the dataset's shape.

Isaac Lab on Modal. ppo_isaac with executor: modal runs the owner's Isaac Lab task on a hosted L40S or L4 / A10G. L40S is the default when recipe.gpu is null. NVIDIA's Isaac Sim licence covers a company training its own robots. It does not cover a service training other people's robots. So the hosted template is 403 for any owner not in the deployment's ISAAC_HOSTED_OWNERS (default lucen), naming the reason. Its errors[].type is forbidden.isaac_license. A worker run of ppo_isaac (on the owner's own machine) is never restricted. Isaac Sim renders through RTX, so gpu: a100 | h100 is 422 for it. recipe.parent_checkpoint_step starts a child from a parent's published checkpoint (422 if the parent does not list that step). A modal run that Modal preempts is re-claimed by its own call. It resumes from its last published checkpoint (claimRun).

A hosted Isaac Lab customer. An owner on ISAAC_HOSTED_OWNERS and not on ISAAC_OPERATOR_OWNERS (default lucen) is a customer. A hosted ppo_isaac run for a customer may set only task, num_envs, max_iterations, seed and policy_name in recipe.hyperparams. The task is Lucen-Legs-Stand, Lucen-Legs-Walk or Lucen-Legs-Omni with a version, for example Lucen-Legs-Omni-v0. overrides must be empty. An override could change the robot's gains or model, and the policy's stamp would not record it. A warm start (parent_checkpoint_step) needs a parent that was itself a hosted ppo_isaac run, or an operator's run. Anything else is 422 with errors[].type: value_error.isaac_customer_hyperparam. Each key is one error, and its loc names the key. The run's outputs then hold no training recipe: config.yaml has no env or agent, and metrics.jsonl has no Episode_Reward/, Episode_Termination/, Episode/ or Curriculum/ keys. A worker run is never limited.

Hosted Isaac Lab values, for every owner. policy_name names the policy file. It is 1 to 64 lowercase letters, digits, _ or -, and starts with a letter or digit. num_envs is a whole number from 1 to 16384. max_iterations is one from 1 to 100000. seed is one from 0 to 2147483647. true and false are not numbers. Null leaves a value unset. Anything else is 422 with errors[].type: value_error.isaac_hyperparam, one error per key. The template refuses the same values on the owner's own machine.

Hosted execution. There is no payment system, so executor: modal runs only for owners in the deployment's HOSTED_OWNERS (default lucen; * = everyone). Anyone else gets 403 with errors[].type: forbidden.hosted_owner and a sentence naming the setting and the self-hosted way. Nothing is recorded or dispatched. A worker run is never restricted. A recipe.gate whose rollouts would be hosted is still asked the same question. On a deployment with no Modal app, the 503 answers instead.

An AI agent's key. A key marked as an agent's may spend only the free hosted allowance on its own. Hosted work beyond it is not refused. It is held: the answer is 202 with a SpendHold, nothing is recorded as a run, and nothing is reserved. A person approves or denies the hold from the Inbox. The same key asking the same thing again while the hold is pending gets the same hold.

A motion learned from a video. A motion_tracking_isaac or motion_tracking_mjlab run passes trainMotionJob's own checks. Its motion job needs its preview in, no blocking note and no training waiting for a person (409 otherwise). hyperparams holds only motion_job_id, speed, profile and iterations (200 to 20000), and dataset is empty. speed and profile must be the job's (422 otherwise). An AI agent's key may not create one here (403, forbidden.motion_agent_key), and neither may a key the hub made for a job or a robot. Such a key asks with trainMotionJob, which files a hold that a person approves. The approval creates the run.

The spend cap. An account's cap counts the month's recorded cloud spend plus what queued and running cloud work could still cost, plus this run's own most possible cost. In stop mode a run that would carry the month past the cap is 429 (quota.spend_cap). In warn mode it starts, and the Usage page and the Inbox warn.

Parameters

createRun parameters
NameInTypeDescription
Idempotency-Keyheaderstring

length 1–255

Client-chosen key that makes a create retry-safe. It is scoped to the credential (API key, or session user). Within 24 h, the same key with the same body returns the original resource with 200. The same key with a different body is 422. Keys are opaque to the hub. A UUID is a fine choice.

Request body

application/json · required · RunCreate

createRun request body
FieldTypeDescription
reciperequiredRecipe
ownerHandle | null

Billing owner handle; defaults to the caller's username.

parent_run_idstring | null

Lineage: the run this one forks/retrains from.

Responses

createRun responses
StatusDescriptionBody
200

Replay: this Idempotency-Key already created a run with this body. That run is returned unchanged.

Run
201

Run queued.

Run
202

Held for a person's confirmation. The key is marked as an AI agent's, and the work would spend beyond the free hosted allowance. Nothing started, and nothing is reserved yet. A person approves or denies the hold from the Inbox. Poll getSpendHold with the hold's id.

SpendHold
401

Missing or invalid credentials.

Problemapplication/problem+json
402

A job on Lucen cloud needs a payment method, and this owner has none. Nothing was recorded. The problem's errors[].type is payment_required.job.

Problemapplication/problem+json
403

Not allowed, and nothing was recorded. A hosted refusal says why in errors[].type. forbidden.hosted_owner: the owner is outside HOSTED_OWNERS. forbidden.hosted_allowance: the free allowance cannot cover the run. forbidden.agent_key_spend: an AI agent's key asked for GPU work. forbidden.isaac_license: the owner is outside ISAAC_HOSTED_OWNERS for a hosted ppo_isaac run. forbidden.key_limits: the key is limited to repos, and the robot or the owner is not among them. forbidden.motion_agent_key: a motion's training was asked for directly by an AI agent's key, or by a key the hub made for a job or a robot. A caller who may not act for the owner gets a 403 without a type.

Problemapplication/problem+json
409

A motion-tracking run whose motion job cannot train now: no preview yet, a blocking note, a training already running, or one waiting for a person. Nothing was recorded.

Problemapplication/problem+json
422

The request failed validation. A hosted ppo_isaac customer's hyperparameter outside the allow-list is value_error.isaac_customer_hyperparam, one error per key. A hosted ppo_isaac value no owner may send is value_error.isaac_hyperparam. Nothing was recorded.

Problemapplication/problem+json
429

The account's (or the key's own) daily GPU-hour quota would be exceeded (priced executors only). Or the account's spend cap is in stop mode and this month's Lucen cloud spend has reached it (errors[].type is quota.spend_cap). Or the owner already has JOB_MAX_CONCURRENT jobs queued or running (quota.job_concurrency). Retry-After says when to try again; nothing was recorded.

Problemapplication/problem+json
503

The requested executor cannot run on this deployment (modal with no MODAL_APP_NAME, or a template no deployed function carries). The same answer comes when the template is registered for planning only (pi0_lora, groot_lora, openvla_lora). Nothing was recorded.

Problemapplication/problem+json

POST /v1/jobs/snapshots

Upload a project folder for a job

createJobSnapshot · scope key:write

Uploads the project a job runs from. tree is the folder as a gzipped tar, then base64. sha256 is the digest of the gzipped bytes. The CLI leaves out what .gitignore names, and .git itself.

No credentials. The hub reads every file. A file that looks like a credential is left out and named in refused[]. That covers .env files, private keys, tokens and passwords written into the code. The rest is kept, rewritten in a fixed order with plain file modes.

Content-addressed. The answer's sha256 names the snapshot as the hub stores it. A job names it in recipe.job.snapshot. Uploading the same files again answers 200 with deduplicated: true and stores nothing new. A snapshot belongs to one owner and is not shared.

Size. The gzipped tar is at most 16 MiB. It unpacks to at most 256 MiB and 20,000 files. Larger is 413. Keep data and weights out of the project. A job downloads them itself when it starts.

Request body

application/json · required · JobSnapshotUpload

createJobSnapshot request body
FieldTypeDescription
treerequiredstring

length ≤ 22369624

The project as a gzipped tar, base64-encoded.

sha256requiredSha256

SHA-256 of the gzipped bytes. A mismatch is 422.

ownerHandle | null

Who the snapshot belongs to. Defaults to the caller. Pass an organization's slug for that organization's jobs.

Responses

createJobSnapshot responses
StatusDescriptionBody
200

The owner already holds these files. Nothing new was stored.

JobSnapshot
201

The snapshot, stored.

JobSnapshot
401

Missing or invalid credentials.

Problemapplication/problem+json
403

Authenticated but not allowed (visibility, membership or scope).

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
413

The project is over its size cap. Nothing was stored.

Problemapplication/problem+json
422

Request failed validation.

Problemapplication/problem+json

GET /v1/jobs/snapshots/{sha256}

Look up an uploaded project

getJobSnapshot · scope key:read

Says whether an owner already holds a snapshot. The CLI asks before it uploads, so an unchanged project is sent once. A snapshot that does not exist, or belongs to another owner, is 404.

Parameters

getJobSnapshot parameters
NameInTypeDescription
sha256requiredpathSha256

The snapshot's digest, or the digest of the upload that made it.

ownerqueryHandle

The owner to look in. Defaults to the caller.

Responses

getJobSnapshot responses
StatusDescriptionBody
200

The snapshot.

JobSnapshot
401

Missing or invalid credentials.

Problemapplication/problem+json
403

Authenticated but not allowed (visibility, membership or scope).

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json

POST /v1/runs/import

Import a training run trained off-platform

importRun · scope key:write

Records a run that trained somewhere else (kind: external). The Training Coach can then read it, and it appears on /runs beside cloud runs. The three artifacts (resolved config, metrics summary, scorecard) are sent inline and stored as objects. parent_run_id records lineage. It makes the coach's resolved-config diff possible, which is the coach's first piece of attribution evidence. Importing spends no GPU dollars, so this operation needs key:write. It does not need key:train. Imported runs have no live logs: logs_key is always null.

output_model_repo links the run to a model repo that holds its checkpoints under checkpoints/step_N/. The hub resolves it like reportRun does. It must be a model repo the caller may write, else 422. A child run may then name one of those steps as recipe.parent_checkpoint_step. import_key makes the import repeatable. A second import under the same owner with the same key answers 200 with the first run and records nothing new.

Request body

application/json · required · RunImport

importRun request body
FieldTypeDescription
artifactsrequiredRunImportArtifacts
ownerHandle | null

Owner handle; defaults to the caller's username.

parent_run_idId | null

Lineage. Set it whenever one exists. The coach's first piece of attribution evidence is this run's resolved config diffed against the parent's.

templatestring | null

length ≤ 64

What produced the run, free text. Defaults to external.

datasetarray of DatasetRef

items ≤ 16

Dataset refs the run trained on, if any. A simulator-only RL run legitimately has none.

robotstring | null

length ≤ 128

statusJobStatus
hyperparamsobject | null
codeRunCodeIdentity | null

The code the run trained from. lucen runs import --code DIR reads it from a git checkout. Send the archive afterwards with putRunCode.

output_model_repostring | null

length ≤ 130

owner/slug of a model repo the caller may write. The run is linked to it, so listRunCheckpoints lists its checkpoints/step_N/ folders and a child may resume from one. Resolved against the repo table like reportRun's field. An unknown repo, one the caller may not write, or a repo of another kind is 422.

import_keystring | null

length 1–255

Where the run trained, as an identity the importer chooses. It is stored on the run. lucen runs import --rsl-rl sends the run folder's name and a digest of its resolved config. The same key under the same owner answers 200 with the first run.

Responses

importRun responses
StatusDescriptionBody
200

An earlier import under the same owner sent the same import_key. This is that run. Nothing new was stored. A run with no output repo yet is linked to the one this request names.

Run
201

Run imported.

Run
401

Missing or invalid credentials.

Problemapplication/problem+json
403

Authenticated but not allowed (visibility, membership or scope).

Problemapplication/problem+json
409

The run with this import_key is already linked to another output repo.

Problemapplication/problem+json
413

An artifact is over the per-artifact size limit, or the owner's storage quota would be exceeded (imports count toward it).

Problemapplication/problem+json
422

Request failed validation.

Problemapplication/problem+json

POST /v1/runs/estimate

Price a training run before submitting it

estimateRun · scope key:train

Takes the same body as createRun and validates it the same way (owner, dataset refs, parent). Nothing is created. The answer is the most the run can cost. That is the tier's billed hourly rate × the wall-clock cap (recipe.max_hours, else the service default of 4 h). The result is then capped by recipe.budget_usd when one is set. Rates are the ones GET /v1/hardware_tiers publishes. A worker run executes on the owner's own machine and costs the hub nothing. So its estimate is cost_usd_max: 0, priced: false. The coach applies the same rule to an unknown model id. A modal estimate is priced whether or not this deployment can run it. The price list exists on every deployment. The backend exists only where MODAL_APP_NAME is set. For ppo_isaac, the rate is the tier's plus host_rate_usd_per_hour (the CPU cores and memory ppo_isaac's function reserves). A hosted ppo_isaac estimate for an owner outside ISAAC_HOSTED_OWNERS is the same 403 (forbidden.isaac_license) createRun answers. A price for something the owner may not buy would be a false answer. A customer's hyperparameter outside the allow-list is the same 422 (value_error.isaac_customer_hyperparam). So is a value no owner may send (value_error.isaac_hyperparam).

Hosted execution. A modal estimate for an owner outside HOSTED_OWNERS is the same 403 (forbidden.hosted_owner) createRun answers.

Request body

application/json · required · RunCreate

estimateRun request body
FieldTypeDescription
reciperequiredRecipe
ownerHandle | null

Billing owner handle; defaults to the caller's username.

parent_run_idstring | null

Lineage: the run this one forks/retrains from.

Responses

estimateRun responses
StatusDescriptionBody
200

The estimate.

RunEstimate
401

Missing or invalid credentials.

Problemapplication/problem+json
403

The same 403 createRun answers, with the same errors[].type: forbidden.hosted_owner, forbidden.hosted_allowance, forbidden.agent_key_spend, forbidden.isaac_license or forbidden.key_limits.

Problemapplication/problem+json
422

The same 422 createRun answers, including value_error.isaac_customer_hyperparam and value_error.isaac_hyperparam.

Problemapplication/problem+json

POST /v1/runs/recommend

Recommend a GPU tier for a training run (deterministic planner)

recommendRun · scope key:read

Takes the same body as createRun and validates it the same way. Nothing is created. The answer is which hardware_tiers entry the run needs. Deterministic: no model is in this path. The hub computes it in three steps:

  • It looks the recipe's template up in its training_policies registry. The registry holds the model family, parameter count, method lora | full | rl, control class, per-sample activation cost and published requirements. Each row carries the URL it was read from.
  • It reads the first lucen:// dataset ref's meta/info.json with the episode viewer's parser. That gives the cameras and their resolution, fps, episodes, frames, and state and action width.
  • It computes vram_estimate_gb = runtime floor + params × bytes × (lora ? 1.6 : 6) + samples × activations(cameras, resolution, action chunk). Here samples is hyperparams.batch_size for imitation learning and hyperparams.num_envs for RL.

A published floor (GR00T: "40 GB+ VRAM") raises the estimate when the arithmetic lands below it. The smallest tier whose VRAM covers the estimate plus 20 % headroom is tier. Every tier that does is fits_on. est_hours comes from the registry's reference throughput, scaled by the tier's relative BF16 tensor throughput. cost_usd_est / cost_usd_max come from the tier's billed rate. A worker recipe is unpriced, and the tier then names the GPU class the owner's own machine needs.

Measured beats modelled: every succeeded reportRun that carried peak_vram_gb / samples_per_s updates a rolling value per (template, tier, batch size). When one exists for this recipe's batch size, it replaces the arithmetic. basis says which was used, and why[] shows the sums either way.

A template registered for planning only (implemented: false) is answered here and refused by createRun with 503. An unknown template is 422 naming the registered ones. A dataset ref the caller cannot read, or one that is not a LeRobotDataset, gives a warning. The registry's defaults are used instead. Such a ref never causes a 404, because a planner must not be an existence oracle. explanation is reserved for the planner and is always null today.

Request body

application/json · required · RunCreate

recommendRun request body
FieldTypeDescription
reciperequiredRecipe
ownerHandle | null

Billing owner handle; defaults to the caller's username.

parent_run_idstring | null

Lineage: the run this one forks/retrains from.

Responses

recommendRun responses
StatusDescriptionBody
200

The recommendation, with its arithmetic.

RunRecommendation
401

Missing or invalid credentials.

Problemapplication/problem+json
403

Authenticated but not allowed (visibility, membership or scope).

Problemapplication/problem+json
422

Request failed validation.

Problemapplication/problem+json

GET /v1/runs/{run_id}

Get a training run

getRun · scope key:read

Parameters

getRun parameters
NameInTypeDescription
run_idrequiredpathId

Training run id (run_...).

Responses

getRun responses
StatusDescriptionBody
200

The run.

Run
401

Missing or invalid credentials.

Problemapplication/problem+json
403

Authenticated but not allowed (visibility, membership or scope).

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json

GET /v1/runs/{run_id}/logs

Stream run logs (SSE)

streamRunLogs · scope key:read

Server-Sent Events stream (text/event-stream). Each event is event: log with a JSON LogEvent payload ({ts, stream, line}). Replays existing logs from tail. With follow=true, the stream stays open while the run is active, then closes with event: end.

What is on the wire. The log is the sequence of chunks a runner sent through reportRun, one object per report under logs_key. The stream emits one log event per line. ts is the chunk's arrival time. A runner batches ~5 s of output per report, so lines inside one chunk share a stamp. stream is stdout for the runner's output. It is stderr for a notice the hub wrote into the log itself (a lease re-queue, a cancel request). The same stream also carries event: metric: one MetricEvent per metrics.jsonl line, all of them, unaffected by tail. This lets a client draw the loss curve from the same connection. event: end always closes the stream, with the run's status at that moment as its payload. With follow=true, it comes once the run is terminal. Otherwise it comes right after the replay. An imported (external) run has no log and answers end at once. Same visibility as getRun: a run you may not see is 404.

Parameters

streamRunLogs parameters
NameInTypeDescription
run_idrequiredpathId

Training run id (run_...).

followqueryboolean

default false

Keep the stream open while the run is queued/running.

tailqueryinteger

≥ 0

Replay only the last N log lines (default = all). Metric events are never tailed.

strip_ansiqueryboolean

default false

Remove ANSI escape sequences (colour, bold, cursor control) from every log line before it is sent. Off by default: the log is the trainer's bytes, and a terminal pane renders rsl_rl's bold header from them. An agent reading text sets it (the MCP get_run_logs tool does).

Responses

streamRunLogs responses
StatusDescriptionBody
200

SSE log stream.

stringtext/event-stream
401

Missing or invalid credentials.

Problemapplication/problem+json
403

Authenticated but not allowed (visibility, membership or scope).

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json

GET /v1/runs/{run_id}/logs/download

Download a run's whole log as text

downloadRunLogs · scope key:read

Returns every log chunk of the run concatenated, in arrival order, as one text/plain; charset=utf-8 body. The Terminal tab's Download button uses it, and so does curl … > run.log. The body holds exactly the bytes the runner reported and the hub's own [lucen <iso>] … notices. Nothing is added between chunks. The chunks come in the order streamRunLogs replays them. ANSI SGR sequences (rsl_rl's bold ESC[1m header) are kept unless strip_ansi=true. Sent with Content-Disposition: attachment; filename="<run_id>.log" and streamed chunk by chunk, so a long run's log never sits in the API's memory. Same visibility as getRun (404 when invisible). A run with no log yet (queued, or imported) answers an empty body.

Parameters

downloadRunLogs parameters
NameInTypeDescription
run_idrequiredpathId

Training run id (run_...).

strip_ansiqueryboolean

default false

Remove ANSI escape sequences (colour, bold, cursor control) from every log line before it is sent. Off by default: the log is the trainer's bytes, and a terminal pane renders rsl_rl's bold header from them. An agent reading text sets it (the MCP get_run_logs tool does).

Responses

downloadRunLogs responses
StatusDescriptionBody
200

The whole log.

stringtext/plain
401

Missing or invalid credentials.

Problemapplication/problem+json
403

Authenticated but not allowed (visibility, membership or scope).

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json

POST /v1/runs/{run_id}/cancel

Cancel a training run

cancelRun · scope key:train

Requests cancellation. Queued runs cancel immediately. Running jobs move to canceled once the worker acknowledges (billing stops within 60 s). Terminal runs return 409.

Mechanism. A queued run becomes canceled in this request. Nothing ran, so nothing is billed and no ledger row is written. A running worker run stays running, because the hub has no process to kill. The hub sets its cancel_requested_at. The runner sees that field on its next reportRun response. It kills the template and reports status: canceled. That is the terminal report, and it writes the ledger (cost 0 for a worker run). Until then the response is 202 with the run still running. Asking again is idempotent. Anyone who can see the run may cancel it (the owner, an org member, or the runner's own credential). A modal run is stopped on Modal in this request and billed to the second. A cloud run's managed job is cancelled the same way. Checkpoints it had not uploaded yet are lost. stopRun ends a run and keeps every checkpoint the template wrote. Writes a run.cancel audit row and a stderr notice into the run's log.

Parameters

cancelRun parameters
NameInTypeDescription
run_idrequiredpathId

Training run id (run_...).

Responses

cancelRun responses
StatusDescriptionBody
202

Cancellation requested; current run snapshot returned.

Run
401

Missing or invalid credentials.

Problemapplication/problem+json
403

Authenticated but not allowed (visibility, membership or scope).

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
409

State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...).

Problemapplication/problem+json
501

The run's executor cannot cancel on this deployment (modal).

Problemapplication/problem+json

POST /v1/runs/{run_id}/stop

Stop a training run early and keep its checkpoints

stopRun · scope key:train

Ends a run before its iterations do and keeps everything it trained. A running run gets cancel_requested_at on every executor. The hub never kills its process. The runner reads the field off its next reportRun response. It stops the template and uploads every checkpoint the template wrote that has not reached the hub yet. Then it reports canceled. On modal the container keeps running for those seconds, and billing continues. cancelRun instead shuts it down at once and loses what was not uploaded. Checkpoints already published stay either way, because the hub never deletes them. A queued run is canceled in this request, as cancelRun does. Nothing ran, so nothing is kept. 409 for a run that already ended or was imported. Idempotent while running. Writes a run.cancel audit row marked stop_early and a stderr notice into the run's log.

Parameters

stopRun parameters
NameInTypeDescription
run_idrequiredpathId

Training run id (run_...).

Responses

stopRun responses
StatusDescriptionBody
202

Stop requested; current run snapshot returned.

Run
401

Missing or invalid credentials.

Problemapplication/problem+json
403

Authenticated but not allowed (visibility, membership or scope).

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
409

State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...).

Problemapplication/problem+json

POST /v1/runs/{run_id}/move

Move a queued run to hosted compute

moveRun · scope key:train

Moves a run that is waiting for a self-hosted runner onto the hub's hosted compute. It is the same run, with the same id and recipe. Only executor changes, plus gpu, max_hours and budget_usd when the body names them. Only a queued worker run that no runner has claimed may move, and only to modal. Asking to move a run to the executor it already has returns it unchanged, so a repeated request is harmless.

Checks. The run's owner must pass everything createRun checks for a modal recipe:

  • hosted access (403)
  • the monthly CPU allowance (403 when the run's most possible cost does not fit)
  • the GPU-hour quota (429)
  • a GPU that a CPU template would not use (422)
  • a deployment with no hosted compute (503)

A refusal leaves the run as it was, still queued for a runner.

One run, billed once. The move is a compare-and-set on the row. It succeeds only while the run is still queued on worker with no claim. claimRun checks the executor it read. So when a move and a runner's claim race for one run, exactly one wins and the other gets 409. Nothing is billed while a run waits. Once moved, the run is dispatched like any hosted run and billed from its claim. Writes a run.move audit row and a notice into the run's log.

Parameters

moveRun parameters
NameInTypeDescription
run_idrequiredpathId

Training run id (run_...).

Request body

application/json · required · RunMove

moveRun request body
FieldTypeDescription
executorrequiredRunExecutor
gpustring | null

one of l4 · a10g · l40s · a100 · h100

The GPU tier for a template that trains on a GPU; null takes the template's default tier. A CPU template takes none.

max_hoursnumber | null

> 0 · ≤ 48

A new wall-clock cap for the hosted run. It also bounds the most the run can cost, which is what the allowance reserves.

budget_usdnumber | null

> 0

A new hard spend cap in USD.

Responses

moveRun responses
StatusDescriptionBody
200

The run, now on the requested executor and still queued.

Run
401

Missing or invalid credentials.

Problemapplication/problem+json
403

Authenticated but not allowed (visibility, membership or scope).

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
409

State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...).

Problemapplication/problem+json
422

Request failed validation.

Problemapplication/problem+json
429

The owner's (or the key's own) daily GPU-hour quota would be exceeded. Or the account's spend cap is in stop mode and this month's Lucen cloud spend has reached it. Retry-After says when to try again; the run is unchanged.

Problemapplication/problem+json
503

This deployment has no hosted compute for the run's template; the run is unchanged.

Problemapplication/problem+json

GET /v1/runs/{run_id}/config

A run's resolved config, flattened, and its diff against the parent

getRunConfig · scope key:read

What the run page's Config tab and its "Config against the parent" panel read. The resolved config artifact (config_key) is flattened to leaf paths. When the run declares a parent_run_id whose config the caller can also see, the hub diffs the two. It diffs them exactly as the coach's prompt builder does (the coach's attribution evidence #1). Changed columns are listed and unchanged columns are counted. Same visibility as getRun (404 when invisible).

Grouped by RL structure, and readable while the run trains. A runner uploads config.yaml on its first progress report after the template wrote it. For ppo_isaac, that is as soon as Isaac Lab dumped params/env.yaml + params/agent.yaml, before runner.learn. So this answers mid-run. groups[] sorts every key and every diff entry into groups by one rule table (the API guide, "Config groups"). The groups are Actions, Contract, Observations, Plant, Rewards, Network, Algorithm, Domain randomization, Curriculum, Terminations, Commands, Sim, Bookkeeping and Other. Round.variables and the MCP get_run_config tool count with the same implementation. comparison is cross_shape when one side is the importer's manifest shape and the other is Isaac Lab's resolved config. The manifest shape uses contract.* / plant.* / lineage.*, and Isaac Lab's uses env.* / agent.*. In that case, only the keys that map one to one (pairs[]) are compared. The rest of each group is counted as parent_has_no_record / child_has_no_record. None of it counts as unchanged.

Parameters

getRunConfig parameters
NameInTypeDescription
run_idrequiredpathId

Training run id (run_...).

Responses

getRunConfig responses
StatusDescriptionBody
200

The flattened config and the diff.

RunConfig
401

Missing or invalid credentials.

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json

POST /v1/runs/{run_id}/code

Record the code a run trained from, and archive it

putRunCode · scope key:write

A runner calls this when it starts a run from a git checkout. An importer calls it after importRun. It records the run's code identity: the repo, the commit, the branch and the uncommitted files. It also archives the code on the hub. tree is the commit's tree as git archive writes it, gzipped, then base64. patch is the uncommitted diff of tracked files. Untracked files are never sent.

Archived once per commit. When a run of the same owner already archived this repo at this commit, the hub keeps that copy. The answer then says deduplicated: true. When the tree is needed and was not sent, the answer says tree_needed: true. Send the same call again with tree.

No credentials in the archive. The hub reads every file of the tree and the patch. A file that looks like a credential is left out and named in refused[]. That covers .env files, private keys, tokens and passwords written into the code. The hub also writes a line into the run's log naming it. The rest is kept.

Size. The gzipped tree is at most 16 MiB, and the patch 2 MiB. A larger tree is 413; send the identity and the patch alone. Files the runner left out for size are listed in skipped[].

The identity is recorded once. The same commit again adds what is missing. Another commit is 409. A claimed run takes this call only from the credential that claimed it. Any other run takes it from a credential that may write it.

Parameters

putRunCode parameters
NameInTypeDescription
run_idrequiredpathId

Training run id (run_...).

Request body

application/json · required · RunCodeUpload

putRunCode request body
FieldTypeDescription
coderequiredRunCodeIdentity
sourcestring

one of runner · import · hosted

default "runner"

runner is a runner on your own machine. import is lucen runs import. hosted is Lucen cloud, which records the pinned source commit of its own release.

treestring | null

length ≤ 22369640

The commit's tree as git archive --format=tar writes it, gzipped, then base64. Leave it out when the answer said tree_needed: false.

patchstring | null

length ≤ 2097152

The uncommitted diff of tracked files, as git diff HEAD prints it.

skippedarray of RunCodeFileNote

items ≤ 1000

Files the sender left out of tree for size.

Responses

putRunCode responses
StatusDescriptionBody
200

The run's code as the hub now holds it.

RunCode
401

Missing or invalid credentials.

Problemapplication/problem+json
403

Authenticated but not allowed (visibility, membership or scope).

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
409

State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...).

Problemapplication/problem+json
413

The tree or the patch is over its size cap. Nothing was stored.

Problemapplication/problem+json
422

Request failed validation.

Problemapplication/problem+json

GET /v1/runs/{run_id}/code/diff

What changed in the code between this run and another

getRunCodeDiff · scope key:read

A unified diff of the code this run trained from against another run's. against defaults to the run's parent. Each side is its commit with its uncommitted patch applied, so a change that was never committed still shows. Such a file says uncommitted: true.

source says where the diff was read. archive reads the two archives on the hub. github asks GitHub to compare the two commits through a connection that covers the repo. GitHub cannot see uncommitted changes, so auto (the default) reads the archives when both runs have one. It asks GitHub otherwise. When neither works, files is empty and reason says why.

At most 300 files and 512 KiB of diff text are returned. truncated says when more changed. Both runs must be visible to the caller. A run you cannot see is 404.

Parameters

getRunCodeDiff parameters
NameInTypeDescription
run_idrequiredpathId

Training run id (run_...).

againstqueryId

The run to compare with. Defaults to this run's parent.

sourcequerystring

one of auto · archive · github

default "auto"

Responses

getRunCodeDiff responses
StatusDescriptionBody
200

The diff, or the reason there is none.

RunCodeDiff
401

Missing or invalid credentials.

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json

GET /v1/runs/{run_id}/code/files

Read a file, or list a folder, of the code a run trained from

getRunCodeFile · scope key:read

A file as the run saw it: the commit's file with the run's uncommitted patch applied. An empty path or a folder lists its entries instead. The archive answers when the run has one. GitHub answers otherwise, through a connection that covers the repo. A text file is returned up to 256 KiB, and truncated says when it is longer. A binary file has no text. Same visibility as getRun.

Parameters

getRunCodeFile parameters
NameInTypeDescription
run_idrequiredpathId

Training run id (run_...).

pathquerystring

default "" · length ≤ 1024

A path inside the repo, such as envs/rewards.py. Empty is the root.

Responses

getRunCodeFile responses
StatusDescriptionBody
200

The file, or the folder's entries.

RunCodeFile
401

Missing or invalid credentials.

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json

GET /v1/runs/{run_id}/curves

A run's learning curves, decimated, with its parent's and a summary of each

getRunCurves · scope key:read

The series a run page charts and an agent reads, from the run's metrics.jsonl. Two logger vocabularies map to one set of names. Isaac Lab's rsl_rl writes Train/mean_reward, Episode_Reward/<term> and Episode_Termination/<cause>. The hub's MuJoCo trainer writes episode_return, r_<term> and the same termination names. Both become return, reward/<term> and termination/<cause>, and source_key keeps the logged name. LeRobot's trainer writes loss and grad_norm. They are the curves of an imitation or VLA run. The full map is in the API guide, "Run curves".

Each series is decimated by min/max buckets to at most max_points points. Every point is a real logged value, and downsample says whether any were dropped. A reward term carries its weight from the resolved config, and whether the logged values include it. With parent=true the parent's series come along on the same iteration axis. The parent is parent_run_id, or the parent a campaign round declared.

summary gives each series its last value, the slope over the last 10% of iterations, whether that is a plateau, and the change against the parent at a common iteration. gates_by_step joins the sim tests the run's checkpoints got while it trained. flags names patterns worth a look, such as a return that keeps rising while sim tests stay flat. Same visibility as getRun. A parent the caller cannot see contributes nothing, and parent_reason says so.

Parameters

getRunCurves parameters
NameInTypeDescription
run_idrequiredpathId

Training run id (run_...).

keysquerystring

length ≤ 4000

Comma-separated series to return, by the hub's name (return, reward/action_rate) or by the logged name (Train/mean_reward). Default: every known series the log carries.

max_pointsqueryinteger

default 500 · ≥ 2 · ≤ 5000

The most points per series, after min/max decimation.

parentqueryboolean

default false

Include the parent run's series, its sim tests by step, and the comparison.

Responses

getRunCurves responses
StatusDescriptionBody
200

The curves, their summaries, the sim tests by step and the flags.

RunCurves
401

Missing or invalid credentials.

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json

GET /v1/runs/{run_id}/evals

A run's offline evaluation on its held-out episodes

getRunEvals · scope key:read

Each checkpoint's action error on the episodes the run held out of training. The LeRobot templates (act, diffusion, smolvla_lora) score every checkpoint as it is saved and append the scores to the run's metrics.jsonl under an eval key. This reads them back: the curve, the per-checkpoint table with the worst episode, the checkpoint being scored now and how far it got, and the first, latest and best scores.

Same visibility as getRun. A run that holds nothing out, or whose template does not score its checkpoints, answers 200 with empty lists and a reason.

Parameters

getRunEvals parameters
NameInTypeDescription
run_idrequiredpathId

Training run id (run_...).

Responses

getRunEvals responses
StatusDescriptionBody
200

The held-out split, the scores and the progress.

RunEvals
401

Missing or invalid credentials.

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json

POST /v1/runs/{run_id}/fork

Start a child of a run with one declared change

forkRun · scope key:train

A child run that resumes from one of this run's checkpoints with ONE resolved-config key changed. The hub composes the child's recipe from the parent's: the same template, robot, dataset, hyperparameters and sim tests, then the one change. It records the change on recipe.fork, sets parent_run_id and recipe.parent_checkpoint_step, and creates the run the way createRun does. The same quota, spend hold, Idempotency-Key and executor rules apply.

The hub checks the change against the parent before anything runs. It maps the config path to the hyperparameter the template reads, and diffs the planned child against the parent with the campaign rule's arithmetic. Exactly the declared key may move. A key the template never reads, a value equal to the parent's, or a contract change on a resume from weights is 422. An unpublished step is 422.

A run that belongs to a campaign round is 409. Its next experiment is the campaign's next round (createRound), where the campaign's rules, locked gates and experiment cards apply. dry_run=true composes the child and creates nothing. It answers 200 with the recipe, the change and, in refusals, every reason the real call would refuse.

Parameters

forkRun parameters
NameInTypeDescription
run_idrequiredpathId

Training run id (run_...).

dry_runqueryboolean

default false

Compose and check the child, record nothing.

Idempotency-Keyheaderstring

length 1–255

Same meaning as on createRun. The same key and body within 24 h return the same run.

Request body

application/json · required · RunFork

forkRun request body
FieldTypeDescription
checkpoint_steprequiredinteger | null

≥ 0

The parent's published checkpoint to resume from. Null trains from scratch on the same lineage: the child inherits the parent's contract and none of its weights.

setrequiredobject

Exactly one resolved-config path and its new value, as getRunConfig prints the path. For example {"task.rewards.action_rate": -0.02} or {"env.rewards.lin_vel_z_l2.weight": -4.0}. Two keys are 422: a fork changes one variable.

cardExperimentCardCreate | null

The prediction, written before the child trains and stored on recipe.fork.card. metric is gates_passed or the name of one of the parent's sim tests. compareCheckpoints scores it against the measurement. The card cannot be edited afterwards.

iterationsinteger | null

≥ 1

How long the child trains, in the template's own iteration count. Null keeps the parent's. It is never counted as the variable.

executorRunExecutor | null

Where the child runs. Null keeps the parent's.

gpustring | null

one of l4 · a10g · l40s · a100 · h100

The GPU tier. Null keeps the parent's.

max_hoursnumber | null

> 0 · ≤ 48

The child's wall-clock cap. Null keeps the parent's.

budget_usdnumber | null

> 0

The child's spend cap. Null keeps the parent's.

ownerHandle | null

Who pays. Null is the parent's owner when the caller may create runs for it, else the caller.

Responses

forkRun responses
StatusDescriptionBody
200

A dry run, or a replay of an Idempotency-Key that already created this child.

RunForkResult
201

The child run, queued.

RunForkResult
202

Held for a person's confirmation. The key is marked as an AI agent's, and the work would spend beyond the free hosted allowance. Nothing started, and nothing is reserved yet. A person approves or denies the hold from the Inbox. Poll getSpendHold with the hold's id.

SpendHold
401

Missing or invalid credentials.

Problemapplication/problem+json
403

Authenticated but not allowed (visibility, membership or scope).

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
409

State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...).

Problemapplication/problem+json
422

Request failed validation.

Problemapplication/problem+json
429

The account's daily GPU-hour quota or its spend cap, as on createRun. Nothing was recorded.

Problemapplication/problem+json
503

A service this endpoint needs is not configured in this deployment. The API boots with zero secrets. An endpoint that needs one says so instead of returning a stack trace.

Problemapplication/problem+json

POST /v1/runs/{run_id}/promote

Publish one of a run's checkpoints as its policy

promoteCheckpoint · scope key:write

Copies the policy file of checkpoints/step_N/ to the root of the run's output model repo, where the policy lives. The file keeps its name. The hub links the root path to the same stored bytes, so nothing is uploaded. It records the step on ModelMeta.checkpoint_step.

The model card stays as it is when the run already published one. Otherwise the hub writes it from the run's recipe: the method, the robot, the run as source_run_id and the method's control class.

The run must have published that checkpoint with exactly one policy file, or the answer is 422. A run with no output repo is 409. The caller must be able to write the output repo. Promoting the same step twice is 200 with the same answer. A promoted checkpoint stays in checkpoints/.

Parameters

promoteCheckpoint parameters
NameInTypeDescription
run_idrequiredpathId

Training run id (run_...).

Request body

application/json · required · CheckpointPromote

promoteCheckpoint request body
FieldTypeDescription
steprequiredinteger

≥ 0

The published checkpoint to make the policy.

Responses

promoteCheckpoint responses
StatusDescriptionBody
200

The checkpoint is the policy.

CheckpointPromoteResult
401

Missing or invalid credentials.

Problemapplication/problem+json
403

Authenticated but not allowed (visibility, membership or scope).

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
409

State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...).

Problemapplication/problem+json
422

Request failed validation.

Problemapplication/problem+json

GET /v1/runs/{run_id}/compare

Two checkpoints side by side, as the hub measured them

compareCheckpoints · scope key:read

Checkpoint A is this run at step. Checkpoint B is other_run_id at other_step, which may be the same run. The answer puts their sim tests side by side, test by test, with each test's measured_pct. It adds the return and the reward terms at those two iterations from each run's metrics.jsonl, ranked by how much each term moved. It adds the resolved-config diff from run A to run B. When B is a fork of A at step with an experiment card, prediction scores the card against these numbers. Nothing is stored.

A checkpoint's sim test is its latest finished gate at that step, else the latest band scan's. table renders the comparison as one text table of at most 4,000 characters for an agent or a terminal. Both runs must be visible: a run the caller cannot see is 404, the same answer as a missing one.

Parameters

compareCheckpoints parameters
NameInTypeDescription
run_idrequiredpathId

Training run id (run_...).

steprequiredqueryinteger

≥ 0

Checkpoint A's step on this run.

other_run_idrequiredqueryId

Checkpoint B's run. It may be this run.

other_steprequiredqueryinteger

≥ 0

Checkpoint B's step.

Responses

compareCheckpoints responses
StatusDescriptionBody
200

The comparison.

CheckpointComparison
401

Missing or invalid credentials.

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
422

Request failed validation.

Problemapplication/problem+json

GET /v1/runs/{run_id}/checkpoints

List a run's checkpoints

listRunCheckpoints · scope key:read

Checkpoints are ordinary repo files under checkpoints/step_{N}/ in the run's output model repo. This lists them grouped by step, read from that repo's own file rows. There is no separate checkpoint store. A checkpoint downloads through presignDownload on the repo like any other file. A run with no output repo yet (queued, or running and not past its first checkpoint) answers an empty list with repo: null. Listed while the run trains: the runner publishes every checkpoints/step_{N}/ the template writes as soon as it is complete. For an ONNX-shaped template, each step holds exactly one *.onnx stamped with lucen_manifest beside the framework checkpoint (model_{N}.pt for rsl_rl). The progress report that first publishes sets output_model_repo, so this list grows during training. Steps appear in order and are never rewritten (content addressing dedupes unchanged bytes). published_at: when the step's last file landed.

Parameters

listRunCheckpoints parameters
NameInTypeDescription
run_idrequiredpathId

Training run id (run_...).

Responses

listRunCheckpoints responses
StatusDescriptionBody
200

Checkpoints by step, oldest first.

CheckpointList
401

Missing or invalid credentials.

Problemapplication/problem+json
403

Authenticated but not allowed (visibility, membership or scope).

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json

GET /v1/runs/{run_id}/job

The inputs a runner needs to start a claimed job

getRunJobInputs · scope key:write

A runner calls this right after it claims a job (recipe.template: custom). The answer holds a download URL for the project snapshot, valid for one hour, and the run's output repo. hf_token is the owner's Hugging Face token. It is present only when the job asked for it with use_hf_token and the owner connected Hugging Face.

Only the credential that claimed the run may call this, while the run is running. Any other caller, or a run that is not a job, is 409.

Parameters

getRunJobInputs parameters
NameInTypeDescription
run_idrequiredpathId

Training run id (run_...).

Responses

getRunJobInputs responses
StatusDescriptionBody
200

What the runner needs.

RunJobInputs
401

Missing or invalid credentials.

Problemapplication/problem+json
403

Authenticated but not allowed (visibility, membership or scope).

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
409

State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...).

Problemapplication/problem+json

POST /v1/runs/{run_id}/claim

Claim a queued worker run (self-hosted runner protocol)

claimRun · scope key:train

Compare-and-set queued → running on a run whose executor is worker. Exactly one caller wins. A run that is already claimed, is terminal, or is not a worker run answers 409. A claim may name the executor it serves (executor: worker, as a self-hosted runner does). That claim is 409 for a run on another executor. The set checks the executor too. So a run that moveRun moved to hosted compute is never also claimed by a runner.

Records claimed_by, claimed_at, started_at and the first heartbeat_at, writes an audit row, and returns the run. Its recipe, parent_run_id and owner are what a runner needs to assemble the template's inputs. key:train because a runner spends the owner's compute on the owner's behalf. The run must be visible to the credential (own, or an org it belongs to). An invisible run is 404. The claim records the claiming credential. Only that credential may reportRun afterwards (409 for anyone else).

Lease: every report renews heartbeat_at. A periodic sweep re-queues a running run whose heartbeat is older than the hub's lease (RUN_LEASE_SECONDS, default 300 s). The run goes back to queued, its claim fields are cleared and its partial metrics are dropped. A stderr notice goes into its log. So a dead runner never strands a run, and the dead runner's next report is 409.

Re-claim after preemption. Modal restarts a preempted input in a new container under the same function call. A claim on a running modal run can then succeed instead of getting 409. Its modal_call_id must equal the run's own, and its credential must be the one that claimed the run. The new claimer's name replaces claimed_by, and the heartbeat is renewed. started_at is unchanged, so billing is unchanged too. resume_step is where the template restarts: a checkpoint step this run already published, or null. The lost attempt's metrics past it are dropped. A stderr notice lands in the log and run.reclaim is audited. Every other claim on a non-queued run is still 409.

A hosted run's first claim. A queued modal run is claimed only by the key the hub minted for its job. The hub hands that key to the run's container. Any other key is 403 with errors[].type: forbidden.hosted_run_claim when executor is left out or is modal. With executor: worker the claim is 409 first. A run no user could hold a key for is claimed with the operator's own key, and only with it. The operator is a user on ISAAC_OPERATOR_OWNERS, or a member of an org on it.

A cloud run's re-claim follows the same rule under the SkyPilot managed job's name. The hub also asks SkyPilot whether it replaced the VM: the job's recovery count must cover every VM the run has had. When SkyPilot cannot be asked, the re-claim is 503 with Retry-After and the run is left as it was. The VM retries, or the lease sweep ends the run. The new VM's price comes only from SkyPilot's record of the job.

Parameters

claimRun parameters
NameInTypeDescription
run_idrequiredpathId

Training run id (run_...).

Request body

application/json · required · RunClaim

claimRun request body
FieldTypeDescription
workerrequiredstring

length 1–128

A name for the runner: its hostname, or anything the operator will recognise on the run page. Recorded as claimed_by.

modal_call_idstring | null

length ≤ 64

The Modal function call the claiming container is running (modal.current_function_call_id()). Only meaningful on a re-claim. Modal preempts GPU containers and restarts the same input in a new one. That container then claims a run that is already running. The hub accepts that claim when the run is a modal run and this id equals the run's modal_call_id (stored at dispatch). The credential must also be the one that claimed it first. Anything else is still 409. On cloud this is the SkyPilot managed job's name, and the hub also asks SkyPilot that it replaced the VM (503 with Retry-After while SkyPilot cannot say).

resume_stepinteger | null

≥ 0

Re-claim only. The checkpoint step the restarted container will resume from. Send one of the steps listRunCheckpoints already lists for this run (422 otherwise), or null to restart from scratch. The hub drops the lost attempt's metrics.jsonl lines past that step (all of them when null), so the curve has one start. It also writes a stderr notice into the log.

executorRunExecutor | null

The executor this claimer serves. A self-hosted runner sends worker. So if moveRun put a run on hosted compute after the runner listed it, the runner's claim answers 409. The run is never trained twice. Null claims a run on either executor.

Responses

claimRun responses
StatusDescriptionBody
200

Claimed; the run as it now stands.

Run
401

Missing or invalid credentials.

Problemapplication/problem+json
403

Not allowed. A queued modal run claimed by any key but its job's own is forbidden.hosted_run_claim. A run no user holds takes the operator's key instead. A hosted job's key used for another run is 403 too.

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
409

State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...).

Problemapplication/problem+json
422

Request failed validation.

Problemapplication/problem+json
503

A cloud run's re-claim while SkyPilot cannot be asked whether it replaced the VM. Nothing changed. Retry-After says when to try again.

Problemapplication/problem+json

POST /v1/runs/{run_id}/report

Report progress or a terminal state for a claimed run

reportRun · scope key:train

The runner's one write path after claimRun. The run must be running (409 otherwise). Every field is optional and additive:

  • log_chunk (≤ 256 KiB of UTF-8) is stored as one object under runs/{run_id}/logs/, and logs_key becomes that prefix.
  • metrics lines are appended to runs/{run_id}/metrics.jsonl. The last one is echoed on the run as latest_metrics.
  • config_yaml (the resolved config) and scorecard_json land at config_key / scorecard_key, exactly where importRun puts them. So the coach reads an executed run and an imported one the same way.
  • output_model_repo names the model repo the runner published. It must be a model repo the caller can write, else 422. The runner sends it on the progress report that first publishes a checkpoint, and on the terminal report too.

status may only move running → succeeded | failed, or running → canceled after the hub set cancel_requested_at. A canceled nobody asked for is 422. A terminal report sets finished_at and records cost_usd (0 for a worker run, since the hub billed nothing). It also writes the run's ledger entry and an audit row. Every report refreshes heartbeat_at (the lease). The caller must be the credential that claimed the run. Another key gets 409, and so does a runner whose run was re-queued after a missed lease. Read cancel_requested_at on the returned run. When it is set, stop the template and report canceled.

Measurements: peak_vram_gb, samples_per_s and gpu_tier may ride on any report and are echoed on the run. On a succeeded terminal report they also update the hub's rolling measured value for (template, tier, batch size). That value is what makes recommendRun prefer measured over modelled next time.

Parameters

reportRun parameters
NameInTypeDescription
run_idrequiredpathId

Training run id (run_...).

Request body

application/json · required · RunReport

reportRun request body
FieldTypeDescription
statusRunReportStatus | null

Omit it (or send running) for a progress report. succeeded / failed are terminal and may be sent once. canceled is terminal too. It is accepted only after cancelRun set cancel_requested_at.

metricsarray of object

items ≤ 1000

Metrics lines to append to metrics.jsonl, oldest first.

log_chunkstring | null

length ≤ 262144

Raw stdout/stderr since the last report, ≤ 256 KiB of UTF-8.

errorstring | null

length ≤ 4000

Failure summary; expected with status: failed.

config_yamlstring | null

The template's RESOLVED config, stored at config_key. Send it once it exists, because it is the coach's first attribution evidence. The runner sends it on the first progress report after the template wrote config.yaml. That way getRunConfig answers while the run trains. The runner sends it again at the end only if the file changed. Each one replaces the stored object.

scorecard_jsonobject | null

Acceptance scorecard, stored at scorecard_key.

output_model_repostring | null

length ≤ 130

owner/slug of the model repo the runner published.

peak_vram_gbnumber | null

≥ 0

Peak GPU memory the template used, in GB. Echoed on the run. On a succeeded terminal report, it updates the rolling measured value that recommendRun prefers over its own arithmetic.

samples_per_snumber | null

> 0

Training throughput, samples per second. Same handling as peak_vram_gb.

gpu_tierstring | null

one of l4 · a10g · l40s · a100 · h100

Which tier class the GPU that ran the template belongs to. Absent, the run's own gpu_type is used; absent too, the measurement is filed under other.

progressRunReportProgress | null

Where the run stands, sent on progress reports. Each report's object replaces the last. It is echoed as Run.progress, with the ETA the hub computes at read time.

job_envJobEnvironment | null

A job's runner sends this once, after it installed the project's requirements and before the command starts. The first one a run sends is kept. Its requirements_sha256 must be the digest of the run's own requirements.txt or pyproject.toml (422 otherwise).

Responses

reportRun responses
StatusDescriptionBody
200

Recorded; the run as it now stands.

Run
401

Missing or invalid credentials.

Problemapplication/problem+json
403

Authenticated but not allowed (visibility, membership or scope).

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
409

State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...).

Problemapplication/problem+json
413

A log chunk, metrics batch or artifact is over its size limit, or storing the report would put the run owner past their storage quota. Nothing was stored.

Problemapplication/problem+json
422

Request failed validation.

Problemapplication/problem+json

GET /v1/hardware_tiers

GPU tiers and what an hour on each costs

listHardwareTiers · scope none

The tiers Recipe.gpu accepts, each with the hourly rate a modal run is billed at. Rates are what you pay, all-in. The hub's margin is already inside them. estimateRun multiplies exactly these rates by the wall-clock cap. worker runs are never billed and no tier applies to them. This endpoint is public, so anyone can read the prices without a key. l40s is a tier too. The function of one template, ppo_isaac, reserves a large CPU host. That template pays for the host on top of the tier. estimateRun names the host's rate as host_rate_usd_per_hour. hosting says who this deployment runs modal work for at all (HOSTED_OWNERS).

Responses

listHardwareTiers responses
StatusDescriptionBody
200

The tier table.

HardwareTierList
401

Missing or invalid credentials.

Problemapplication/problem+json

GET /v1/github/commits

Search a connected GitHub repo's commits

searchGithubCommits · scope key:read

Searches the commit messages of one GitHub repo, newest first, through a GitHub connection of one of your workspaces that covers it. Each commit lists the runs you can see that trained from it. A repo no connection of yours covers is 404. 503 means this hub has no GitHub App.

Parameters

searchGithubCommits parameters
NameInTypeDescription
reporequiredquerystring

pattern ^[A-Za-z0-9_.-]{1,100}/[A-Za-z0-9_.-]{1,100}$

owner/name on GitHub.

qquerystring

default "" · length ≤ 200

Words to look for in the commit messages. Empty lists the newest commits.

limitqueryinteger

default 20 · ≥ 1 · ≤ 100

Page size.

Responses

searchGithubCommits responses
StatusDescriptionBody
200

The commits.

GithubCommitPage
401

Missing or invalid credentials.

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
502

GitHub could not be reached or refused the call.

Problemapplication/problem+json
503

A service this endpoint needs is not configured in this deployment. The API boots with zero secrets. An endpoint that needs one says so instead of returning a stack trace.

Problemapplication/problem+json

Schemas (117)

The schemas these operations reach before any other tag’s do. A type that links elsewhere is rendered on that tag’s page.

RunExecutor

string

one of modal · worker · own_modal · cloud

Where a run executes. worker: a self-hosted runner (lucen worker run) on the owner's own machine claims it. The hub orchestrates and bills nothing. modal: the hub's GPU backend. The run is recorded queued, and the hub spawns the template's deployed function on the tier's GPU. The container claims, reports and publishes through the same routes a runner uses. Billed elapsed seconds × tier rate. On a deployment without MODAL_APP_NAME (a laptop, CI), a modal submit answers 503 naming it and records nothing. The same two names are an inference endpoint's backend. worker is lucen serve on the owner's own machine (unpriced). modal is a hub-spawned container priced by the tier. own_modal: a job only. The hub spawns it in the owner's own Modal workspace, connected in Settings, and bills nothing for it. cloud: the hub's own AWS and Azure accounts. The hub launches the run as a SkyPilot managed job on the tier's instance. The VM claims and reports through the same routes a runner uses. Billed at the instance's price × 1.1, per attempt (see RunCloud). Without a SkyPilot server, a cloud submit answers 503 and records nothing. A modal run whose tier this hub sends to the cloud is stored as cloud.

RunKind

string

one of cloud · external · orchestration · job

default "cloud"

cloud: submitted through POST /v1/runs and executed by an executor. Run.executor says which one (a self-hosted worker, or modal). external: trained off-platform and imported via POST /v1/runs/import. It carries artifacts and has no live logs. Absent means cloud. orchestration: a planner run, with no trainer and no GPU. Its config_key holds the plan's inputs and its metrics_key the timeline. So parent_run_id lineage and the coach's config diff work on it like on any other run. job: a command from an uploaded project (recipe.template: custom), executed like a training run.

RunPage

object

RunPage fields
FieldTypeDescription
itemsrequiredarray of Run
next_cursorrequiredstring | null
facetsRunFacets | null

Present only when listRuns?facets=true.

RunCreate

object

RunCreate fields
FieldTypeDescription
reciperequiredRecipe
ownerHandle | null

Billing owner handle; defaults to the caller's username.

parent_run_idstring | null

Lineage: the run this one forks/retrains from.

Run

object

Run fields
FieldTypeDescription
idrequiredId
trained_inTrainedIn | null

The engine this run trains in; null when its template does not say.

kindRunKind
statusrequiredJobStatus
reciperequiredRecipe
recipe_hashrequiredSha256
ownerrequiredRepoOwner
created_byUserPublic | null
gpu_typestring | null

Resolved GPU type the run is billed on.

cost_usdnumber | null

Accrued cost in USD (4 decimal places).

metrics_keyStorageKey | null

Storage key of the metrics: runs/{id}/metrics.jsonl for an executed run (appended by reportRun), runs/{id}/metrics.txt for an imported one.

logs_keyStorageKey | null

Storage prefix of the log chunks, runs/{id}/logs/. It holds one object per reportRun that carried a log_chunk, named so that lexical order is arrival order. Always null for an external run. That run was not trained here, so there is nothing to stream.

config_keyStorageKey | null

Storage key of the resolved training config. The coach's attribution evidence #1 is the diff of this against the parent's.

scorecard_keyStorageKey | null

Storage key of the acceptance scorecard JSON.

gateRunGate | null

The scorecard's verdict as two numbers, on every read: how many of its PASS/FAIL rows pass. The rows are counted by the same reader the coach uses, with gates declared or discovered. Null when the run has no scorecard. A plan's run never has one. An executed run gets one when a sim-gate rollout scores it. An imported run has one when it was imported with one. Stored when the scorecard is written, so a list page costs no object reads. A sim test of a checkpoint while the run trains does not write the scorecard. Its result is best_gate.

best_gateRunBestGate | null

The best sim test a checkpoint of this run got while it trained, on every read. It is the same pick as best on getRunGates. Only finished tests count. Null when no checkpoint has a finished test. It never replaces gate, the run's scorecard.

gatesarray of RunGateRow | null

Every PASS/FAIL row of the scorecard, getRun only (null on list pages); read from the scorecard object on each read.

output_model_repoRepoRef | null

Model repo produced on success. An imported run has one when importRun was sent output_model_repo.

import_keystring | null

length ≤ 255

The identity importRun recorded for an imported run, or null. It says where the run trained before it came to the hub.

parent_run_idstring | null

Lineage: the run this one forks/retrains from.

executorRunExecutor | null

Which backend runs it. Null for an external run.

claimed_bystring | null

length ≤ 128

The runner name given to claimRun.

claimed_atstring (date-time) | null (date-time)
heartbeat_atstring (date-time) | null (date-time)

Last time the runner claimed or reported.

cancel_requested_atstring (date-time) | null (date-time)

Set by cancelRun on a running run. The run is still running; the runner is expected to stop the template and report status: canceled. Null once the run is terminal by any other route, and always null for a run nobody asked to cancel. A tripwire, a stop rule and the budget set it the same way.

early_stopread-onlyEarlyStopState | null

The stop rule the hub applied (stop_on_pass or patience), with the checkpoint it names as the run's output. Null for a run no rule stopped.

latest_metricsobject | null

The last metrics line the runner reported.

peak_vram_gbnumber | null

Peak GPU memory the template used, in GB, as the runner last reported it. Null until a report carries one.

samples_per_snumber | null

Training throughput the runner last reported, samples per second. Null until a report carries one.

modal_call_idstring | null

length ≤ 64

What the hub started for a hosted run. On modal and own_modal it is the Modal function call. On cloud it is the SkyPilot managed job's name, chosen before the launch. The dispatch job sets it after the run was recorded. cancelRun terminates it. Always null for a worker or imported run.

dispatched_atstring (date-time) | null (date-time)

When the hub spawned the modal call or launched the cloud job: the moment between queued and the claim. Null for a worker run.

errorstring | null

Failure summary when status is failed.

created_atrequiredstring (date-time)
started_atstring (date-time) | null (date-time)
finished_atstring (date-time) | null (date-time)
display_namestring

What to call the run before (and after) its output repo exists. It is the name of the campaign round that owns it, else recipe.hyperparams.run_name, else the output model repo's slug, else the template. display_name_source says which.

display_name_sourcestring

one of round · run_name · output_repo · template

progressRunProgress | null

Iteration, total, iterations/s and ETA as the runner last reported them. Null until a report carries progress (a queued run, an imported one, a template that declares nothing).

spendRunSpend | null

What the run has cost so far and what is left of its budget. Computed on every read by the function that bills the run at the end.

roundRunRound | null

The campaign round that owns this run, when there is one the caller can see; null otherwise.

sparklineRunSparkline | null

The reward curve decimated to at most 64 points. The hub keeps it as the runner reports metrics. Null until a metrics line carries a reward.

agent_session_idread-onlystring | null

The agent session that started this run, when a training task did (kind: train_task). Null for a run started by hand, by the CLI or by an agent that is not a session of this hub. The Train workspace reads the session's work log from it.

agent_noteRunAgentNote | null

The newest line the hub's agent wrote about this run: its progress while the run trains, or its verdict once it ended. Only on getRun, and only when the caller can read the agent session.

evalread-onlyRunEval | null

The episodes this run held out of training for its offline evaluation. A LeRobot template (act, diffusion, smolvla_lora) reports it before it starts training. Null when the run holds nothing out. getRunEvals has the scores.

coderead-onlyRunCode | null

The code the run trained from: the repo, the commit, the branch and the uncommitted files, and what the hub archived of it. A runner records it when it starts the run in a git checkout. Null when nothing was recorded.

cloudread-onlyRunCloud | null

A cloud run's managed job, the instance it asked for, and each VM it ran on with that VM's price. Null on every other executor, and before the launch.

dataset_exclusionsread-onlyarray of RunDatasetExclusion

The episodes a person excluded from each of the run's hub datasets when the run was created. A LeRobot template leaves them out of training and out of its held-out episodes, and its resolved config records them. Empty when nothing was excluded.

JobSnapshotUpload

object

JobSnapshotUpload fields
FieldTypeDescription
treerequiredstring

length ≤ 22369624

The project as a gzipped tar, base64-encoded.

sha256requiredSha256

SHA-256 of the gzipped bytes. A mismatch is 422.

ownerHandle | null

Who the snapshot belongs to. Defaults to the caller. Pass an organization's slug for that organization's jobs.

JobSnapshot

object

A project folder, as the hub stores it for jobs.

JobSnapshot fields
FieldTypeDescription
sha256requiredSha256

The snapshot as the hub stores it. A job names it in recipe.job.snapshot.

upload_sha256requiredSha256

The digest of the upload that made it.

ownerrequiredRepoOwner
bytesrequiredinteger

≥ 0

The stored gzipped tar, in bytes.

unpacked_bytesrequiredinteger

≥ 0

filesrequiredinteger

≥ 0

refusedrequiredarray of RunCodeFileNote

Files left out because they looked like a credential.

skippedarray of RunCodeFileNote

Links and paths outside the project, left out.

deduplicatedboolean

default false

True when the owner already held these files.

created_atrequiredstring (date-time)

RunImport

object

RunImport fields
FieldTypeDescription
artifactsrequiredRunImportArtifacts
ownerHandle | null

Owner handle; defaults to the caller's username.

parent_run_idId | null

Lineage. Set it whenever one exists. The coach's first piece of attribution evidence is this run's resolved config diffed against the parent's.

templatestring | null

length ≤ 64

What produced the run, free text. Defaults to external.

datasetarray of DatasetRef

items ≤ 16

Dataset refs the run trained on, if any. A simulator-only RL run legitimately has none.

robotstring | null

length ≤ 128

statusJobStatus
hyperparamsobject | null
codeRunCodeIdentity | null

The code the run trained from. lucen runs import --code DIR reads it from a git checkout. Send the archive afterwards with putRunCode.

output_model_repostring | null

length ≤ 130

owner/slug of a model repo the caller may write. The run is linked to it, so listRunCheckpoints lists its checkpoints/step_N/ folders and a child may resume from one. Resolved against the repo table like reportRun's field. An unknown repo, one the caller may not write, or a repo of another kind is 422.

import_keystring | null

length 1–255

Where the run trained, as an identity the importer chooses. It is stored on the run. lucen runs import --rsl-rl sends the run folder's name and a digest of its resolved config. The same key under the same owner answers 200 with the first run.

RunEstimate

object

The most a run can cost, computed before anything is created.

RunEstimate fields
FieldTypeDescription
executorrequiredRunExecutor
tierrequiredstring | null

Resolved GPU tier: recipe.gpu, else l4. Null for a worker run. Also null for a modal template hosted on CPU (ppo_mujoco), whose rate is its host alone.

rate_usd_per_hourrequirednumber

Billed hourly rate (4 decimal places): the tier's, plus host_rate_usd_per_hour; 0 for a worker run. This is the rate the run is billed at, second by second.

host_rate_usd_per_hournumber

The part of rate_usd_per_hour that pays for CPU cores and memory. The template's Modal function reserves them beside the GPU, and Modal bills them on top of the GPU. ppo_isaac reserves 8 cores + 32 GiB. ppo_mujoco reserves 6 cores + 4 GiB with no GPU, so there it is the whole rate. It is 0 for every other template. Always 0 for a worker run.

max_hoursrequirednumber

recipe.max_hours, or the service default of 4.

cost_usd_maxrequirednumber

rate_usd_per_hour × max_hours, then min(budget_usd) when a budget is set.

budget_usdnumber | null

The recipe's hard cap, echoed.

capped_by_budgetboolean

True when budget_usd is what bounds cost_usd_max.

pricedrequiredboolean

False when the hub does not bill the executor (worker). A zero then means "not charged". It does not mean the GPU time was free. The coach uses the same rule for an unknown model id.

cloudCloudPlacement | null

On cloud: the instance, its regions, spot or on demand, and the rate in the cheapest region. rate_usd_per_hour is the dearest region's.

RunRecommendation

object

RunRecommendation fields
FieldTypeDescription
templaterequiredstring
model_familyrequiredstring
control_classrequiredControlClass
methodrequiredTrainingMethod
implementedrequiredboolean

False for a planning-only row. createRun answers 503 for it.

executorrequiredRunExecutor
tierrequiredstring | null

The smallest tier that fits with headroom; null when none does.

requested_tierstring | null

recipe.gpu, echoed, so why[] can say whether it fits.

vram_estimate_gbrequirednumber

The estimate itself (modelled or measured), before headroom.

vram_required_gbrequirednumber

vram_estimate_gb × (1 + headroom), or the published floor when higher.

headroomrequirednumber

The safety margin applied (0.2 unless the deployment changed it).

fits_onrequiredarray of string

Every tier whose VRAM covers vram_required_gb, smallest first.

est_hoursrequirednumber | null

Expected wall clock on tier; null when the registry has no throughput reference and no run measured one.

rate_usd_per_hourrequirednumber

The tier's billed rate plus the template's host rate (ppo_isaac); 0 for a worker recipe.

cost_usd_estrequirednumber | null

rate × est_hours; null when est_hours is.

cost_usd_maxrequirednumber

rate × max_hours (service default 4 h), capped by budget_usd. This is what estimateRun would answer for this tier.

pricedrequiredboolean
basisrequiredRecommendationBasis
measuredrequiredRecommendationMeasured | null
inputsrequiredRecommendationInputs
datasetrequiredRecommendationDataset | null
whyrequiredarray of string

The arithmetic, one step per line, with the source URL of every published number.

warningsrequiredarray of string
explanationrequiredstring | null

Reserved (a model's prose over this plan). Always null in v0.

RunMove

object

Where a queued run should execute instead (moveRun). A field left out or null keeps the recipe's own value.

RunMove fields
FieldTypeDescription
executorrequiredRunExecutor
gpustring | null

one of l4 · a10g · l40s · a100 · h100

The GPU tier for a template that trains on a GPU; null takes the template's default tier. A CPU template takes none.

max_hoursnumber | null

> 0 · ≤ 48

A new wall-clock cap for the hosted run. It also bounds the most the run can cost, which is what the allowance reserves.

budget_usdnumber | null

> 0

A new hard spend cap in USD.

RunConfig

object

A run's resolved config, flattened, and its diff against the parent when there is one.

RunConfig fields
FieldTypeDescription
run_idrequiredId
parent_run_idrequiredstring | null
keysrequiredarray of RunConfigKey

Every leaf of this run's resolved config, sorted by path. Empty when the run has no readable config.

totalrequiredinteger

≥ 0

keys.length.

diffrequiredRunConfigDiff | null

Null when there is no parent, or one side has no parseable config. reason says which.

reasonrequiredstring | null

Why keys is empty or diff is null, in one sentence; null when nothing is missing.

shapestring

one of isaac · manifest · other · none

This run's config shape: isaac, manifest, other, or none without a readable config. isaac is Isaac Lab's resolved env.* / agent.* (ppo_isaac). manifest is a stamped contract (contract.* / plant.*), what the importer and the stub templates write.

parent_shapestring | null

one of isaac · manifest · other · none

The parent's config shape; null without a visible parent.

comparisonstring | null

one of same_shape · cross_shape

How the diff was computed (RunConfigDiff.comparison); null without a diff.

groupsarray of RunConfigGroup

The keys and the diff by RL structure, in the rule table's order. Every group is listed, and a group with nothing in it on either side has total: 0. So a page can say what an imported manifest does not carry.

pairsarray of RunConfigPair

cross_shape only: the key pairs compared. [] otherwise.

declaredarray of RunConfigDeclared

The owning round's declared keys and what the diff says about each; [] off a round.

RunCodeUpload

object

RunCodeUpload fields
FieldTypeDescription
coderequiredRunCodeIdentity
sourcestring

one of runner · import · hosted

default "runner"

runner is a runner on your own machine. import is lucen runs import. hosted is Lucen cloud, which records the pinned source commit of its own release.

treestring | null

length ≤ 22369640

The commit's tree as git archive --format=tar writes it, gzipped, then base64. Leave it out when the answer said tree_needed: false.

patchstring | null

length ≤ 2097152

The uncommitted diff of tracked files, as git diff HEAD prints it.

skippedarray of RunCodeFileNote

items ≤ 1000

Files the sender left out of tree for size.

RunCode

object

The code a run trained from, as the hub recorded and archived it.

RunCode fields
FieldTypeDescription
repo_urlstring | null
hoststring | null

The repo's host, such as github.com.

commitrequiredstring
branchstring | null
dirtyrequiredboolean
dirty_filesrequiredarray of string
sourcerequiredstring

one of runner · import · hosted

recorded_atrequiredstring (date-time)
archiverequiredRunCodeArchive
githubRunCodeGithub | null

Only on getRun and putRunCode, and only for a repo on GitHub.

RunCodeDiff

object

RunCodeDiff fields
FieldTypeDescription
runrequiredRunCodeDiffSide
againstrequiredRunCodeDiffSide | null
sourcerequiredstring

one of archive · github · none

reasonstring | null

Why files is empty, when it is.

filesrequiredarray of RunCodeDiffFile
files_changedrequiredinteger

≥ 0

additionsrequiredinteger

≥ 0

deletionsrequiredinteger

≥ 0

truncatedrequiredboolean
compare_urlstring (uri) | null (uri)

RunCodeFile

object

RunCodeFile fields
FieldTypeDescription
run_idrequiredId
pathrequiredstring
kindrequiredstring

one of file · directory

sourcerequiredstring

one of archive · github

commitstring | null
bytesinteger | null

≥ 0

textstring | null
binaryrequiredboolean
truncatedrequiredboolean
uncommittedrequiredboolean

True when the run's uncommitted patch changed this file.

entriesarray of RunCodeEntry | null

RunCurves

object

A run's learning curves with their summaries, its sim tests by step, and flags.

RunCurves fields
FieldTypeDescription
run_idrequiredId
statusJobStatus
vocabularyrequiredstring

one of rsl_rl · ppo_mujoco · other · none

Whose names the log uses. rsl_rl is Isaac Lab's runner, ppo_mujoco the hub's MuJoCo trainer, other any other JSON log, and none when no per-iteration log was read.

step_keystring | null

The field read as the iteration axis (iter). Null when lines carry none and their order is used.

linesrequiredinteger

≥ 0

JSON lines read from the run's metrics.jsonl.

iterationsRunCurveSpan | null
reasonstring | null

Why series is empty, in one sentence. Null when the log was read.

metrics_digeststring | null

The content hash the parsed log is cached under. It changes whenever the runner appends.

max_pointsrequiredinteger
downsamplerequiredstring

one of none · minmax

minmax when any series, this run's or the parent's, was decimated.

missing_keysarray of string

Requested keys this run's log does not carry.

plateau_thresholdnumber

A series is on a plateau when its change over the last 10% of iterations is under this fraction of its whole range.

parentRunCurvesParent | null
parent_reasonstring | null

With parent=true, why there are no parent series. Null when they are present or were not asked for.

seriesrequiredarray of RunCurveSeries
reward_terms_changedarray of string

The three reward terms that changed most against the parent, most first, by summary.change_score. Empty without a parent.

gates_by_steprequiredarray of RunCurveGateStep

The sim test of each checkpoint while the run trained, oldest first, as getRunGates lists them.

parent_gates_by_steparray of RunCurveGateStep

The same for the parent run. Empty without parent=true.

did_it_matterRunCurvesMatter | null
flagsrequiredarray of RunCurveFlag

RunEvals

object

A run's offline evaluation: each checkpoint's action error on the held-out episodes. The error is the mean absolute difference between the chunk the policy predicts and the actions recorded from that frame on. Each dimension is divided by its standard deviation in the dataset, so 0.18 means 0.18 standard deviations. It is averaged over the scored frames of an episode, then over the episodes.

RunEvals fields
FieldTypeDescription
run_idrequiredId
held_outrequiredarray of integer
episodes_totalinteger | null
every_stepsinteger | null
frames_per_episodeinteger | null
metricrequiredstring

action_mae_std: the error described above.

normalised_bystring | null

one of dataset_std · unnormalised

dataset_std when the dataset's meta/stats.json gave a standard deviation per action dimension. unnormalised means the error is in the actions' own units.

pointsrequiredarray of RunEvalPoint

One point per scored checkpoint, ascending by step, for the curve.

checkpointsrequiredarray of RunEvalCheckpoint

The per-checkpoint table, newest step first.

failuresrequiredarray of RunEvalFailure

Checkpoints that could not be scored, with the reason.

progressRunEvalProgress | null

The checkpoint being scored right now, if any.

firstRunEvalPoint | null
latestRunEvalPoint | null
bestRunEvalPoint | null

The scored checkpoint with the lowest error.

flat_sinceinteger | null

The earliest step from which every later error stays within 10 % of the latest one. Null with fewer than two such points.

reasonstring | null

Why there is nothing to show, when there is nothing.

RunFork

object

One child of a run: the checkpoint it resumes from and the ONE resolved-config key it changes. Everything else comes from the parent's recipe, including its sim tests. Where the child runs may change.

RunFork fields
FieldTypeDescription
checkpoint_steprequiredinteger | null

≥ 0

The parent's published checkpoint to resume from. Null trains from scratch on the same lineage: the child inherits the parent's contract and none of its weights.

setrequiredobject

Exactly one resolved-config path and its new value, as getRunConfig prints the path. For example {"task.rewards.action_rate": -0.02} or {"env.rewards.lin_vel_z_l2.weight": -4.0}. Two keys are 422: a fork changes one variable.

cardExperimentCardCreate | null

The prediction, written before the child trains and stored on recipe.fork.card. metric is gates_passed or the name of one of the parent's sim tests. compareCheckpoints scores it against the measurement. The card cannot be edited afterwards.

iterationsinteger | null

≥ 1

How long the child trains, in the template's own iteration count. Null keeps the parent's. It is never counted as the variable.

executorRunExecutor | null

Where the child runs. Null keeps the parent's.

gpustring | null

one of l4 · a10g · l40s · a100 · h100

The GPU tier. Null keeps the parent's.

max_hoursnumber | null

> 0 · ≤ 48

The child's wall-clock cap. Null keeps the parent's.

budget_usdnumber | null

> 0

The child's spend cap. Null keeps the parent's.

ownerHandle | null

Who pays. Null is the parent's owner when the caller may create runs for it, else the caller.

RunForkResult

object

RunForkResult fields
FieldTypeDescription
dry_runrequiredboolean
runRun | null

The child, once created. Null on a dry run.

createdboolean

False when an Idempotency-Key replayed an earlier child.

parent_run_idrequiredId
checkpoint_stepinteger | null
reciperequiredRecipe
changerequiredRunForkChange
refusalsarray of RunForkRefusal

On a dry run, every reason the real call would refuse. Empty when it would create the child.

notesarray of string

CheckpointPromote

object

CheckpointPromote fields
FieldTypeDescription
steprequiredinteger

≥ 0

The published checkpoint to make the policy.

CheckpointPromoteResult

object

CheckpointPromoteResult fields
FieldTypeDescription
run_idrequiredId
steprequiredinteger
policy_pathrequiredstring

The root path the policy now lives at (policy.onnx).

checkpoint_pathstring

The checkpoint file it was copied from.

model_reporequiredstring

owner/slug of the run's output model repo.

model_metarequiredModelMeta
alreadyrequiredboolean

True when that step was the policy before this call.

CheckpointComparison

object

Two checkpoints side by side: their sim tests, their curves at those iterations and the config between the two runs.

CheckpointComparison fields
FieldTypeDescription
arequiredComparedCheckpoint
brequiredComparedCheckpoint
cellsrequiredarray of ComparedCell

Each sim test either checkpoint ran, in A's battery order.

seriesrequiredarray of ComparedValue

return, episode_length and action_std at each checkpoint's iteration, when the logs carry them.

termsrequiredarray of ComparedValue

The reward terms at those iterations, ranked by change_score, the largest move first.

configrequiredComparedConfig
predictionComparedPrediction | null

B's experiment card scored against these two checkpoints, when B is a fork of A at step that carries one.

tablerequiredstring

length ≤ 4000

The comparison as one plain-text table, at most 4,000 characters.

notesarray of string

CheckpointList

object

CheckpointList fields
FieldTypeDescription
itemsrequiredarray of RunCheckpoint
reporequiredRepoRef | null

The output model repo the checkpoints live in; null when none exists yet.

not_fine_tunablestring | null

Why this run cannot be a fine-tune's parent, in one sentence. Set when the run has ended (or was imported) and published no checkpoints/step_N/. The sentence is RoundPreview.not_fine_tunable's, readable here without a campaign. A page can then say it before any form exists. Null while the run may still publish one, and whenever items is not empty.

RunJobInputs

object

What a runner needs to start a job it claimed.

RunJobInputs fields
FieldTypeDescription
run_idrequiredId
snapshot_sha256requiredSha256
snapshot_urlrequiredstring (uri)

A presigned download of the snapshot's gzipped tar.

expires_atrequiredstring (date-time)

When snapshot_url stops working.

output_reporequiredRepoRef

The run's output repo, for checkpoints and outputs.

hf_tokenstring | null

The owner's Hugging Face token, when the job asked for it. Set it as HF_TOKEN for the command only.

cached_envJobEnvironment | null

The environment this person's earlier job built for the same requirements, as the hub recorded it. The runner reuses a cached venv only when its files hash to venv_sha256, and builds it again otherwise. Each person has their own: another member of the same organization never gets yours.

RunClaim

object

RunClaim fields
FieldTypeDescription
workerrequiredstring

length 1–128

A name for the runner: its hostname, or anything the operator will recognise on the run page. Recorded as claimed_by.

modal_call_idstring | null

length ≤ 64

The Modal function call the claiming container is running (modal.current_function_call_id()). Only meaningful on a re-claim. Modal preempts GPU containers and restarts the same input in a new one. That container then claims a run that is already running. The hub accepts that claim when the run is a modal run and this id equals the run's modal_call_id (stored at dispatch). The credential must also be the one that claimed it first. Anything else is still 409. On cloud this is the SkyPilot managed job's name, and the hub also asks SkyPilot that it replaced the VM (503 with Retry-After while SkyPilot cannot say).

resume_stepinteger | null

≥ 0

Re-claim only. The checkpoint step the restarted container will resume from. Send one of the steps listRunCheckpoints already lists for this run (422 otherwise), or null to restart from scratch. The hub drops the lost attempt's metrics.jsonl lines past that step (all of them when null), so the curve has one start. It also writes a stderr notice into the log.

executorRunExecutor | null

The executor this claimer serves. A self-hosted runner sends worker. So if moveRun put a run on hosted compute after the runner listed it, the runner's claim answers 409. The run is never trained twice. Null claims a run on either executor.

RunReport

object

One progress or terminal report from a runner. Every field is optional.

RunReport fields
FieldTypeDescription
statusRunReportStatus | null

Omit it (or send running) for a progress report. succeeded / failed are terminal and may be sent once. canceled is terminal too. It is accepted only after cancelRun set cancel_requested_at.

metricsarray of object

items ≤ 1000

Metrics lines to append to metrics.jsonl, oldest first.

log_chunkstring | null

length ≤ 262144

Raw stdout/stderr since the last report, ≤ 256 KiB of UTF-8.

errorstring | null

length ≤ 4000

Failure summary; expected with status: failed.

config_yamlstring | null

The template's RESOLVED config, stored at config_key. Send it once it exists, because it is the coach's first attribution evidence. The runner sends it on the first progress report after the template wrote config.yaml. That way getRunConfig answers while the run trains. The runner sends it again at the end only if the file changed. Each one replaces the stored object.

scorecard_jsonobject | null

Acceptance scorecard, stored at scorecard_key.

output_model_repostring | null

length ≤ 130

owner/slug of the model repo the runner published.

peak_vram_gbnumber | null

≥ 0

Peak GPU memory the template used, in GB. Echoed on the run. On a succeeded terminal report, it updates the rolling measured value that recommendRun prefers over its own arithmetic.

samples_per_snumber | null

> 0

Training throughput, samples per second. Same handling as peak_vram_gb.

gpu_tierstring | null

one of l4 · a10g · l40s · a100 · h100

Which tier class the GPU that ran the template belongs to. Absent, the run's own gpu_type is used; absent too, the measurement is filed under other.

progressRunReportProgress | null

Where the run stands, sent on progress reports. Each report's object replaces the last. It is echoed as Run.progress, with the ETA the hub computes at read time.

job_envJobEnvironment | null

A job's runner sends this once, after it installed the project's requirements and before the command starts. The first one a run sends is kept. Its requirements_sha256 must be the digest of the run's own requirements.txt or pyproject.toml (422 otherwise).

HardwareTierList

object

HardwareTierList fields
FieldTypeDescription
itemsrequiredarray of HardwareTier
hostingHostedExecution
agent_allowance_usdnumber | null

What every account may spend free each calendar month (UTC) on the hub's agent: its model calls and its sandbox. AgentAllowance carries one account's use of it. Null when this hub runs no agent model, or the allowance is zero. Public, like the rest of the price list.

GithubCommitPage

object

GithubCommitPage fields
FieldTypeDescription
reporequiredstring
itemsrequiredarray of GithubCommit

RunFacets

object

How the caller's whole visible set splits. The request's own filters are NOT applied, so a rail's counts hold still while you click. Buckets with a count of zero are omitted, except gated, which always carries both true and false.

RunFacets fields
FieldTypeDescription
totalrequiredinteger

≥ 0

Every run the caller can see.

kindrequiredarray of RunFacetBucket

external and orchestration; executed runs are split by executor instead.

executorrequiredarray of RunFacetBucket
statusrequiredarray of RunFacetBucket
robotrequiredarray of RunFacetBucket

By recipe.robot; none for runs whose recipe names no robot.

gatedrequiredarray of RunFacetBucket

true (carries a scorecard, or a finished sim test of a checkpoint while it trained) and false.

Recipe

object

Training recipe envelope. template names a training template; dataset lists dataset ref URIs; hyperparams passes through to the template untouched.

Recipe fields
FieldTypeDescription
templaterequiredstring

length 1–64

Which trainer runs. The field is free-form, so an imported run can name whatever produced it (external, isaac-lab-ppo). The ids the platform knows:

  • ppo_isaac: the Isaac Lab PPO stack behind the published Lucen Biped policies. It runs on a self-hosted worker, or hosted on modal for owners in the deployment's ISAAC_HOSTED_OWNERS allow-list. NVIDIA's licence permits hosting only for the hub's own org. It runs on the RT-core tiers only.
  • ppo_mujoco: a real, robot-agnostic PPO trainer on MuJoCo, built into the CLI (lucen-cli[rl]). The robot card's interface drives it entirely. It runs on a worker, or hosted on modal on a CPU-only container. No GPU is attached or billed there, so gpu must be null.
  • stub_ppo: a seconds-long stand-in that emits the four artifacts. CI uses it.
  • custom: a job. It runs the command in job from an uploaded project, in one of the hub's images. Its run kind is job.

The skill layer, trained on a LeRobot dataset:

  • smolvla_lora: LoRA fine-tune of SmolVLA on a LeRobot dataset repo, built into the CLI, control class skill.
  • act, diffusion: ACT and Diffusion Policy trained from scratch on a LeRobot dataset by LeRobot's own trainer, built into the CLI, control class skill.
  • stub_skill: a seconds-long skill-class stand-in.
  • pi0_lora, groot_lora, openvla_lora: planning-only rows. recommendRun answers for them, and createRun is 503.

A motion learned from a video:

  • motion_tracking_isaac, motion_tracking_mjlab: a policy that tracks one motion job's retargeted motion (hyperparams.motion_job_id), in Isaac Lab or in mjlab. trainMotionJob builds the recipe and picks the trainer. A createRun that names one meets the same checks and terms. Isaac Lab is hosted only for the hub's own robots (ISAAC_OPERATOR_OWNERS).

A runner serves the templates it was started with and leaves the rest queued.

datasetrequiredarray of DatasetRef

items 0–16

robotstring | null

length ≤ 128

The robot this run trains for, as the owner/slug of a robot repo the caller can see. Validated on createRun, estimateRun and recommendRun. Anything else is 422. A private repo answers exactly as a missing one does, so run creation cannot reveal whether a repo exists. The runner stages the repo's robot_card.json for the template. For a template that simulates the robot (ppo_mujoco), it also stages the MJCF and every asset the MJCF names. importRun does not validate it. An imported run records something that already happened and may name whatever it named.

hyperparamsobject | null

Template-specific hyperparameters, passed to the template as they are. The LeRobot templates (act, diffusion, smolvla_lora) read eval_episodes: a count of episodes, or a list of episode indices, to hold out of training and score every checkpoint on. The default holds out one episode in ten, at least one, spread over the recording. 0 turns the evaluation off. The split is reported as Run.eval.

gpustring | null

one of l4 · a10g · l40s · a100 · h100

GPU type. The service default applies when null. l4 is the low-cost tier for small finetunes (ACT/SmolVLA on modest datasets). l40s is the 48 GB RT-core card Isaac Sim is hosted on. A modal ppo_isaac run with a null gpu is recorded on l40s. a100 / h100 (no RT cores) are 422 for it. A modal ppo_mujoco run runs on CPU and records no tier. Naming a GPU for it is 422. A job (template: custom) with a null gpu is recorded on a10g when its image is isaaclab3-newton, and on l4 otherwise.

max_hoursnumber | null

> 0 · ≤ 48

Hard wall-clock cap; the run is stopped at the limit (a worker runner kills the template and reports failed). Null means the service default, 4 h, which is also what estimateRun prices.

executorRunExecutor | null

Which backend executes the run. Null means worker, the only executor that can run on this deployment today.

budget_usdnumber | null

> 0

Hard spend cap in USD. estimateRun caps cost_usd_max by it. A billed executor stops the run when accrued cost reaches it. For a worker run the hub bills nothing, so the cap is recorded on the recipe and never binds.

gateCheckpointGateSpec | null

Gate checkpoints in simulation while the run trains, and stop it on a tripwire. Needs robot: 422 otherwise.

parent_checkpoint_stepinteger | null

≥ 0

Start this run from the parent run's checkpoint at this step. The runner downloads the parent's checkpoints/step_{N}/ into the template's input/resume/. It writes input/resume.json ({"source": "parent", "run_id", "step", "files"}). A template that can resume (ppo_isaac, stub_ppo) continues from those weights. Requires parent_run_id. The parent's output model repo must list checkpoints/step_{N}/. Anything else is 422 on createRun and estimateRun, so a typo is refused before a GPU starts. Null (the default): the child inherits the parent's contract and trains from scratch.

forkRunForkRecord | null

Set by forkRun: the parent, the checkpoint and the ONE declared change, with the prediction when one was written. getRunConfig reports whether the declared key moved once the child's own config arrives.

jobJobSpec | null

The job to run when template is custom. It is required then, and 422 with any other template.

RunGate

object

A scorecard's PASS/FAIL rows, counted.

RunGate fields
FieldTypeDescription
passedrequiredinteger

≥ 0

totalrequiredinteger

≥ 0

Zero when the scorecard states no PASS/FAIL row the reader recognises.

RunBestGate

object

The best checkpoint sim test of a run, by the rule getRunGates uses for its best. More tests passed wins. Ties are broken as that rule breaks them.

RunBestGate fields
FieldTypeDescription
passedrequiredinteger

≥ 0

Tests in the suite that passed at that checkpoint.

totalrequiredinteger

≥ 1

Tests in the suite.

steprequiredinteger

≥ 0

The checkpoint's training step.

RunGateRow

object

One PASS/FAIL row of a run's scorecard, as coach/gates.py reads it.

RunGateRow fields
FieldTypeDescription
namerequiredstring
statusrequiredGateVerdict
detailstring | null

The row's own measurement text (20/20 survival, tilt median 6.1 deg).

EarlyStopState

object

A stop rule the hub applied to a run (stop_on_pass or patience). step is the checkpoint whose test fired the rule. output_step is the checkpoint the hub names as the run's output policy: the passing one, or the best so far. The runner publishes that checkpoint's policy at the repo root when it stops.

EarlyStopState fields
FieldTypeDescription
rulerequiredstring

one of stop_on_pass · patience

steprequiredinteger
output_steprequiredinteger
rollout_idstring | null
atrequiredstring (date-time)
tested_without_improvementinteger | null

For patience, how many tested checkpoints in a row did not beat the best.

RunProgress

object

How far a run has got.

  • The TEMPLATE declares where it starts and where it will stop. It declares them in progress.json in its output directory (the API guide, "The template contract"). For ppo_isaac, the start is the resume or parent step and the stop is that plus max_iterations.
  • The RUNNER reads the newest iteration off metrics.jsonl, using the template's step key (rsl_rl's iter). It measures iterations per second over the trailing minute of metrics lines. It uses their own clock (t) where they carry one.
  • The HUB stores what the last report said and computes the ETA at read time.
RunProgress fields
FieldTypeDescription
iterationinteger | null

The newest iteration the metrics show, in the trainer's own numbering.

total_iterationsinteger | null

The number the trainer counts to, as it prints it. For example, rsl_rl's Learning iteration 1412/2300 has 2300 (the start step plus max_iterations). Null when the template declared none.

final_iterationinteger | null

The last iteration the trainer will log. It is total_iterations − 1 for a zero-based trainer (rsl_rl), and total_iterations for one that counts from 1 (stub_ppo). What fraction and the ETA count to.

start_iterationrequiredinteger

≥ 0

0 from scratch; the parent's checkpoint step on a resume from a parent, the resumed step after a preemption.

iterations_per_snumber | null

≥ 0

Measured over the last minute of metrics lines; null until two lines exist.

fractionnumber | null

≥ 0 · ≤ 1

(iteration − start_iteration) / (final_iteration − start_iteration), clipped to [0, 1].

eta_snumber | null

≥ 0

Seconds left at this read: (final_iteration − iteration) / iterations_per_s, less the seconds since as_of. Null when the run is terminal or either number is missing.

eta_atstring (date-time) | null (date-time)

as_of plus the remaining iterations at the measured rate.

step_keystring | null

The metrics key the iteration was read from (iter, iteration, step, …).

as_ofrequiredstring (date-time)

When the hub received the report this was read from.

RunSpend

object

The run's cost so far, on every read. A priced (modal) run accrues elapsed since the claim × rate_usd_per_hour. The rate is the tier's plus the template's CPU host. This accrual comes from the same function (executors.modal.spend_usd) that the terminal report bills with and the budget stop compares against. So the live number and the final bill cannot disagree. Once the run is terminal, final is true and accrued_usd is cost_usd. An unpriced (worker, imported) run answers priced: false with the money fields null.

RunSpend fields
FieldTypeDescription
pricedrequiredboolean
accrued_usdnumber | null

USD to 4 decimal places.

rate_usd_per_hournumber | null

The billed rate, tier plus host (estimateRun's rate_usd_per_hour).

budget_usdnumber | null

recipe.budget_usd, echoed.

remaining_usdnumber | null

max(budget_usd − accrued_usd, 0); null without a budget.

finalrequiredboolean

True once the run is terminal and accrued_usd is the bill.

as_ofrequiredstring (date-time)

RunRound

object

Which campaign round a run belongs to, for "round 4 of Omni walk" and the Shortlist link.

RunRound fields
FieldTypeDescription
campaign_idrequiredId
campaign_slugrequiredstring
campaign_namerequiredstring
campaign_ownerstring | null

The campaign owner's handle.

nrequiredinteger

The round's index in its campaign.

namerequiredstring

The round's name.

RunSparkline

object

A run's reward curve decimated by the hub to at most 64 points, so a run card needs no stream.

RunSparkline fields
FieldTypeDescription
metricrequiredstring

The metrics key it follows (Train/mean_reward, else mean_reward, else reward).

pointsrequiredarray of array of number

items ≤ 64

[step, value] pairs, oldest first.

RunAgentNote

object

One plain sentence from the agent that started or watches the run.

RunAgentNote fields
FieldTypeDescription
kindrequiredstring

one of progress · verdict

progress: written at a multiple of the iterations the agent reports at. verdict: how good the policy is and the one change it proposes next.

textrequiredstring

length ≤ 1200

atrequiredstring (date-time)
iterationinteger | null

The iteration the run had reached when the note was written.

session_idrequiredId

RunEval

object

The held-out split of a run. The listed episodes of the training dataset were never trained on. Every checkpoint is scored on them.

RunEval fields
FieldTypeDescription
held_outrequiredarray of integer

Episode indices of the training dataset, ascending.

episodes_totalinteger | null

How many episodes the dataset has.

every_stepsinteger | null

Training steps between scored checkpoints.

frames_per_episodeinteger | null

Frames scored in each held-out episode, spread over it.

RunCloud

object

A cloud run's SkyPilot managed job, what it was launched on, and each VM it ran on. The bill is the sum of the attempts, each one's seconds × its rate. Time between a lost VM's last report and the next VM's claim is not billed.

RunCloud fields
FieldTypeDescription
job_namerequiredstring

The managed job's name, also the run's modal_call_id.

job_idinteger | null

SkyPilot's id for the managed job.

placementrequiredCloudPlacement
attemptsrequiredarray of CloudAttempt

RunDatasetExclusion

object

RunDatasetExclusion fields
FieldTypeDescription
datasetrequiredstring

The recipe's dataset ref, lucen://owner/slug.

episodesrequiredarray of integer
files_digestrequiredSha256

RunCodeFileNote

object

A file the archive left out, and why.

RunCodeFileNote fields
FieldTypeDescription
pathrequiredstring

length ≤ 1024

reasonrequiredstring

length ≤ 200

One phrase, such as looks like a private key or over 2 MiB.

bytesinteger | null

≥ 0

RunImportArtifacts

object

The three documents the coach reads, sent inline. Each is capped at COACH_MAX_ARTIFACT_BYTES (4 MiB by default). A resolved config and a scorecard are kilobytes. Anything larger belongs in a repo.

RunImportArtifacts fields
FieldTypeDescription
config_yamlrequiredstring

length ≤ 4194304

The RESOLVED training config, not the source template.

metrics_summarystring

length ≤ 4194304

Metrics as text (CSV, JSONL tail, or a table).

scorecard_jsonobject | null

Acceptance results; PASS rows become standing constraints.

RunCodeIdentity

object

Which code a run trained from. A runner reads it from the git checkout it ran in. An importer sends it with the run.

RunCodeIdentity fields
FieldTypeDescription
repo_urlstring | null

length ≤ 512

The checkout's origin, normalised to https://host/owner/name. User names, passwords and tokens are removed. Null when the checkout has no remote.

commitrequiredstring

pattern ^(?:[0-9a-f]{40}|[0-9a-f]{64})$

The full commit id the run started from.

branchstring | null

length ≤ 255

The branch checked out, or null for a detached head.

dirtyboolean

default false

True when tracked files had uncommitted changes.

dirty_filesarray of string

items ≤ 1000

The tracked files with uncommitted changes, relative to the repo root.

CloudPlacement

object

What a cloud run is launched on: one instance type, in one of a few regions, on spot or on demand. Spot is used when the work resumes from its newest checkpoint after the VM is lost.

CloudPlacement fields
FieldTypeDescription
providerrequiredstring

one of aws · azure

instance_typerequiredstring

The cloud's instance type, e.g. g6.2xlarge or Standard_NC24ads_A100_v4.

acceleratorrequiredstring

The GPU, in SkyPilot's name for it (L4, A100-80GB).

regionsrequiredarray of string

The regions SkyPilot may launch it in, cheapest first.

spotrequiredboolean
imagerequiredstring

The runner image (lerobot, mjlab, isaaclab3-newton, base-cuda, isaac-sim).

expected_rate_usd_per_hourrequirednumber

USD per hour as billed in the cheapest region.

ceiling_rate_usd_per_hourrequirednumber

USD per hour on demand in the dearest region, for a spot run too: the most an hour of this run can be billed. The run reserves this rate, estimateRun quotes it as rate_usd_per_hour, and an attempt is billed at it until SkyPilot names the region.

price_sourcerequiredstring

Where the price was read, and when.

TrainingMethod

string

one of lora · full · rl

lora: adapters on a frozen base. full: every weight. rl: a simulator drives a small policy.

RecommendationBasis

string

one of modelled · measured

modelled: the arithmetic in why[]. measured: a rolling value from succeeded runs of this template at this batch size replaced the arithmetic. The measured field says which run count and tier.

RecommendationMeasured

object

The measured value the planner used, when basis is measured.

RecommendationMeasured fields
FieldTypeDescription
tierrequiredstring

Tier the measurements came from (other when the runner named none).

batch_sizerequiredinteger

≥ 1

peak_vram_gbnumber | null

Highest peak reported so far.

samples_per_snumber | null

Running mean of the reported throughput.

n_runsrequiredinteger

≥ 1

RecommendationInputs

object

The numbers the arithmetic multiplied, after defaults were applied.

RecommendationInputs fields
FieldTypeDescription
batch_sizerequiredinteger

≥ 1

hyperparams.batch_size for imitation learning, hyperparams.num_envs for RL, else the registry default.

camerasrequiredinteger

≥ 0

image_pxrequiredinteger

≥ 0

The side of the square image the model actually sees (VLAs resize their inputs).

chunk_sizerequiredinteger

≥ 0

stepsrequiredinteger

≥ 0

RecommendationDataset

object

What the planner read out of the dataset's meta/info.json, when it could.

RecommendationDataset fields
FieldTypeDescription
refrequiredDatasetRef
camerasarray of object
keyrequiredstring
widthinteger | null
heightinteger | null
fpsnumber | null
episodesinteger | null
framesinteger | null
state_diminteger | null
action_diminteger | null
robot_typestring | null

RunConfigKey

object

RunConfigKey fields
FieldTypeDescription
pathrequiredstring

A flattened leaf path (env.events.push_robot.params.velocity_range[0]).

valuerequiredstring

The leaf's value, rendered as text and elided past 200 characters.

groupRunConfigGroupId

On RunConfig.keys[]: the RL structure the key falls in, by the one rule table (groups[].id). A client can then list EVERY key of a group (a fine-tune form's editor) without a second copy of the table. Absent on groups[].own_keys, whose group is the one that holds them.

RunConfigDiff

object

The coach's attribution evidence #1, exposed to a page: the resolved config against the parent's, flat and path-addressed. Only the columns that moved are listed. The zero-variance columns are only counted (unchanged_keys).

RunConfigDiff fields
FieldTypeDescription
entriesrequiredarray of RunConfigDiffEntry

items ≤ 120

changed_keysrequiredinteger

≥ 0

unchanged_keysrequiredinteger

≥ 0

truncatedrequiredinteger

≥ 0

Changed keys beyond the first 120, not listed.

comparisonstring

one of same_shape · cross_shape

same_shape: both configs are compared path for path (the coach's diff, unchanged). cross_shape: one is the importer's manifest shape and the other Isaac Lab's resolved env.* / agent.*. Then entries and unchanged_keys cover only the mapped pairs (RunConfig.pairs). Every key with no counterpart is counted in parent_has_no_record / child_has_no_record. Such a key is not counted as added, removed or unchanged.

parent_has_no_recordinteger

≥ 0

cross_shape: this run's keys the parent's config has no counterpart for.

child_has_no_recordinteger

≥ 0

cross_shape: the parent's keys this run's config has no counterpart for.

RunConfigGroup

object

One RL structure's slice of the config and of the diff. total counts this run's keys in the group. compared counts the keys that could be compared with the parent, split into changed and unchanged. Comparable keys have the same path on both sides, or form a mapped pair on a cross_shape comparison. parent_has_no_record / child_has_no_record count the rest. Those keys are not "unchanged" and are never shown as such. A bookkeeping group is listed and counted. It is never counted as a change (counted: false).

RunConfigGroup fields
FieldTypeDescription
idrequiredRunConfigGroupId
namerequiredstring

How a page titles it: Actions, Algorithm · PPO, Plant · Scene, Sim · scale, …

countedrequiredboolean

False for bookkeeping, whose keys change on every run by construction.

totalrequiredinteger

≥ 0

parent_totalinteger | null

≥ 0

The parent's keys in this group; null when there is no diff.

comparedrequiredinteger

≥ 0

changedrequiredinteger

≥ 0

unchangedrequiredinteger

≥ 0

parent_has_no_recordrequiredinteger

≥ 0

child_has_no_recordrequiredinteger

≥ 0

entriesrequiredarray of RunConfigDiffEntry

The group's changed keys (same shape; added and removed keys included), in path order; [] without a diff.

unchanged_firststring | null

The first unchanged key by path, for a "first … last" summary line.

unchanged_laststring | null
own_keysarray of RunConfigKey

items ≤ 200

This run's own keys and values in the group that were NOT compared with the parent. On a cross_shape comparison, these are the keys the parent has no record of (parent_has_no_record). When there is no comparison at all, these are every key of the group. In config order, at most 200 (own_truncated counts the rest). [] when every key was compared.

own_truncatedinteger

≥ 0

own_keys beyond the first 200, not listed.

summarystring | null

own_keys as one line a person reads, by the summary rule (the API guide, "Config summaries"). Names are relative to the group. A reward term shows as its weight. An array of one value shows as name[0..11] = v. At most 12 items, then +k more. Null when own_keys is empty.

unchanged_summarystring | null

The group's unchanged keys as one line, by the same rule. On a cross_shape comparison there is one item per pair rule: this run's key value ⇄ the parent's key (n). For example: scale 0.5 ⇄ action_scale_vec[0..11]. Null when nothing was unchanged.

RunConfigPair

object

One key pair a cross_shape comparison compared. The pair is the parent's manifest key and this run's Isaac Lab key that mean the same thing. The pairs cover action scale, clip and offset; observation terms; actuator gains, armature, friction and limits; control rate and decimation; and lat_ff_gain. The list is the rule table in the API guide, derived from a real resolved Isaac Lab config.

RunConfigPair fields
FieldTypeDescription
grouprequiredRunConfigGroupId
parent_pathrequiredstring
child_pathrequiredstring
fromrequiredstring | null

The parent's value, rendered; null when the parent lacks the key.

torequiredstring | null

This run's value, rendered (after the pair's conversion, e.g. sim.dt × decimation → Hz).

changedrequiredboolean | null

Null when either side lacks the key (the pair could not be compared).

rulestring | null

How the two were made comparable, in one phrase.

RunConfigDeclared

object

One key of the owning round's declared change, checked against the parent. moved: a counted key under it changed. not_moved: nothing under it changed. cannot_compare: the parent's config holds no record of it (a cross_shape comparison, or a key the parent never carried). It then neither passes nor fails.

RunConfigDeclared fields
FieldTypeDescription
keyrequiredstring
statusrequiredstring

one of moved · not_moved · cannot_compare

groupRunConfigGroupId | null

The RL structure the key falls in, by the one rule table. A declared key the parent never recorded still sits under its group (a command mode under commands).

summarystring | null

This run's value(s) under the key, as one line by the summary rule (the API guide, "Config summaries"). Null when this run's config holds nothing under it.

RunCodeArchive

object

What the hub keeps of a run's code: an immutable copy of the commit's tree and of the uncommitted patch, under the run's own storage.

RunCodeArchive fields
FieldTypeDescription
staterequiredstring

one of archived · partial · commit_only

archived: the tree and any patch are kept. partial: some files were left out (see refused and skipped). commit_only: only the identity is kept, and note says why.

tree_bytesinteger | null

≥ 0

The stored tree's size, gzipped.

tree_filesinteger | null

≥ 0

tree_sha256Sha256 | null
patch_bytesinteger | null

≥ 0

patch_sha256Sha256 | null
deduplicatedrequiredboolean

True when an earlier run of the same owner had already archived this commit.

tree_neededrequiredboolean

True when the hub holds no tree for this commit yet. Send it with putRunCode.

refusedrequiredarray of RunCodeFileNote

Files left out because they looked like a credential.

skippedrequiredarray of RunCodeFileNote

Files left out for size.

notestring | null

One sentence when the archive is not whole.

RunCodeGithub

object

The run's repo on GitHub. Links appear when a GitHub connection of the run's owner covers the repo.

RunCodeGithub fields
FieldTypeDescription
reporequiredstring

owner/name on GitHub.

connectedrequiredboolean
repo_urlstring (uri) | null (uri)
commit_urlstring (uri) | null (uri)
compare_urlstring (uri) | null (uri)

GitHub's compare page against the parent run's commit, when it has one.

RunCodeDiffSide

object

RunCodeDiffSide fields
FieldTypeDescription
run_idrequiredId
namestring | null
commitstring | null
dirtyrequiredboolean
archivedrequiredboolean

RunCodeDiffFile

object

RunCodeDiffFile fields
FieldTypeDescription
pathrequiredstring
old_pathstring | null
statusrequiredstring

one of added · removed · modified · renamed · binary

additionsrequiredinteger

≥ 0

deletionsrequiredinteger

≥ 0

patchstring | null

The unified diff of this file. Null for a binary file, or past the cap.

truncatedrequiredboolean
uncommittedrequiredboolean

True when the change comes from an uncommitted patch on either side.

RunCodeEntry

object

RunCodeEntry fields
FieldTypeDescription
pathrequiredstring
kindrequiredstring

one of file · directory

bytesinteger | null

≥ 0

RunCurveSpan

object

RunCurveSpan fields
FieldTypeDescription
firstrequirednumber
lastrequirednumber

RunCurvesParent

object

The parent run whose series came along.

RunCurvesParent fields
FieldTypeDescription
run_idrequiredId
sourcerequiredstring

one of parent_run_id · round

round when the run names no parent and its campaign round does.

linesrequiredinteger
vocabularyrequiredstring

one of rsl_rl · ppo_mujoco · other · none

iterationsRunCurveSpan | null
compare_atnumber | null

The iteration the two returns are compared at. It is the last one both logs reach. Null when the logs share no iteration, such as a child that resumed after the parent's last line.

RunCurveSeries

object

RunCurveSeries fields
FieldTypeDescription
keyrequiredstring

The hub's name, the same for both vocabularies (return, reward/action_rate).

labelrequiredstring

The series in words.

kindrequiredstring

one of return · episode_length · reward_term · termination · curriculum · action_std · loss · grad_norm · other

source_keyrequiredstring

The name the logger wrote.

unitstring | null

s, steps or episodes where the vocabulary fixes it.

valuesstring | null

one of weighted · unweighted

For a reward term, whether the logged values include the term's weight. rsl_rl logs them weighted and the MuJoCo trainer unweighted.

weightnumber | null

The reward term's weight in this run's resolved config.

weight_pathstring | null

The config path the weight was read from.

parent_weightnumber | null
weight_changedboolean

True when both weights are known and differ.

limitnumber | null

The episode time limit from the config, in this series' unit (an episode-length series only).

pointsrequiredinteger

Logged points before decimation.

downsamplerequiredstring

one of none · minmax

trequiredarray of number

Iterations.

vrequiredarray of number
parentRunCurveColumn | null
summaryrequiredRunCurveSummary

RunCurveGateStep

object

RunCurveGateStep fields
FieldTypeDescription
steprequiredinteger
rollout_idrequiredId
statusrequiredJobStatus
gates_passedinteger | null
gates_totalinteger | null
pass_ratenumber | null

RunCurvesMatter

object

This run against its parent at one iteration. The rows are the return and each reward term whose weight changed, unweighted. With no weight changed, the row is the term that moved most. sim_tests is the last checkpoint both runs had tested by then.

RunCurvesMatter fields
FieldTypeDescription
atrequirednumber

The iteration compared.

rowsrequiredarray of RunCurvesMatterRow
sim_testsRunCurvesMatterTests | null

RunCurveFlag

object

A pattern worth a look, with the numbers that raised it.

RunCurveFlag fields
FieldTypeDescription
coderequiredstring

one of return_up_gates_flat · gates_regressed · return_plateau · return_below_parent

textrequiredstring

One sentence a person or an agent can read as is.

stepinteger | null

The iteration or checkpoint the pattern starts at.

RunEvalPoint

object

RunEvalPoint fields
FieldTypeDescription
steprequiredinteger
action_errorrequirednumber | null
worst_errornumber | null

RunEvalCheckpoint

object

RunEvalCheckpoint fields
FieldTypeDescription
steprequiredinteger
action_errorrequirednumber | null
worst_episodeRunEvalEpisode | null
episodesrequiredarray of RunEvalEpisode
horizoninteger | null

Steps of each predicted chunk that were compared.

secondsnumber | null

How long scoring this checkpoint took.

RunEvalFailure

object

RunEvalFailure fields
FieldTypeDescription
steprequiredinteger
errorrequiredstring

RunEvalProgress

object

RunEvalProgress fields
FieldTypeDescription
steprequiredinteger
episodes_donerequiredinteger
episodes_totalrequiredinteger
fractionrequirednumber

≥ 0 · ≤ 1

ExperimentCardCreate

object

A round's experiment card, written before it trains.

ExperimentCardCreate fields
FieldTypeDescription
hypothesisrequiredstring

length 1–300

predictionrequiredExperimentPrediction

RunForkChange

object

The one change a fork makes, as the hub mapped and checked it.

RunForkChange fields
FieldTypeDescription
pathrequiredstring

The resolved-config path that changes.

fromstring | null

The parent's value, rendered: from its resolved config, else its recipe. (template default) when the parent never set it.

torequiredstring

The child's value, rendered.

hyperparamrequiredstring

The hyperparameter that carries it, dotted (rewards.action_rate), or overrides[<path>] for an Isaac Lab override.

grouprequiredstring

The config group the path belongs to (getRunConfig groups).

RunForkRefusal

object

RunForkRefusal fields
FieldTypeDescription
typerequiredstring

The machine code, as errors[].type would carry it.

msgrequiredstring

ComparedCheckpoint

object

ComparedCheckpoint fields
FieldTypeDescription
run_idrequiredId
steprequiredinteger
templatestring | null
parent_run_idstring | null
publishedboolean

The run's output repo lists checkpoints/step_<step>/.

sim_testComparedSimTest | null

The sim test that measured this checkpoint, or null.

ComparedCell

object

ComparedCell fields
FieldTypeDescription
namerequiredstring
aComparedCellSide | null
bComparedCellSide | null
delta_pctnumber | null

B's measured_pct minus A's, in percentage points.

ComparedValue

object

ComparedValue fields
FieldTypeDescription
keyrequiredstring

The hub's series name (return, reward/action_rate).

anumber | null

The last logged value at or before checkpoint A's iteration.

bnumber | null
deltanumber | null
unweightedboolean

The values exclude the reward weight, because both weights are known.

weight_anumber | null
weight_bnumber | null
change_scorenumber | null

|b − a| ÷ max(|a|, |b|, the term's range in both runs), the ranking getRunCurves uses.

ComparedConfig

object

ComparedConfig fields
FieldTypeDescription
comparisonstring | null

one of same_shape · cross_shape

changedrequiredarray of ComparedConfigEntry

The counted keys that differ, at most 60.

changed_countrequiredinteger
unchangedrequiredinteger
bookkeepinginteger

Bookkeeping keys that differ by construction and are never counted.

parent_has_no_recordinteger
child_has_no_recordinteger
reasonstring | null

Why there is no diff (the same run, or a config missing).

ComparedPrediction

object

ComparedPrediction fields
FieldTypeDescription
metricrequiredstring
directionrequiredExperimentPredictionDirection
valuenumber | null
measurednumber | null

The metric at checkpoint B.

baselinenumber | null

The metric the prediction was scored against. baseline_kind says which checkpoint that is.

baseline_kindstring | null

one of control · start

control is the parent at checkpoint B's own step: it trained just as long without the change. start is the parent where the fork started. The control is used when the parent was tested at that step.

baseline_stepinteger | null

The parent checkpoint the baseline was measured on.

hitboolean | null

Null when it could not be scored.

reasonstring | null

RunCheckpoint

object

RunCheckpoint fields
FieldTypeDescription
steprequiredinteger

≥ 0

pathrequiredstring

The directory, e.g. checkpoints/step_1000/.

filesrequiredarray of RepoFileEntry
bytesrequiredinteger

≥ 0

published_atstring (date-time) | null (date-time)

When the step's last file landed (the ONNX is pushed last, so this is when the checkpoint became complete).

JobEnvironment

object

A venv a job's runner built from the project's requirements. The hub keeps its digest, outside the cache that holds it.

JobEnvironment fields
FieldTypeDescription
requirements_sha256requiredSha256

The digest of the requirements.txt or pyproject.toml it was built from.

venv_sha256requiredSha256

The digest of the venv's files: each path, size and sha256, in order, with compiled bytecode removed first.

RunReportStatus

string

one of running · succeeded · failed · canceled

The only transitions a runner may make: running → succeeded | failed, and running → canceled once the hub has set cancel_requested_at on the run. A canceled the hub did not ask for is 422.

RunReportProgress

object

What a runner knows about a run's progress: the template's declared range (progress.json) and what the metrics show. Every field is optional; send what is known.

RunReportProgress fields
FieldTypeDescription
iterationinteger | null

The newest iteration in metrics.jsonl.

total_iterationsinteger | null

≥ 0

final_iterationinteger | null

≥ 0

start_iterationinteger | null

≥ 0

iterations_per_snumber | null

≥ 0

step_keystring | null

length ≤ 64

HardwareTier

object

HardwareTier fields
FieldTypeDescription
tierrequiredstring

one of l4 · a10g · l40s · a100 · h100

vram_gbrequirednumber

The GPU's memory in GB, as the training planner sizes a run against it (recommendRun's fits_on).

rate_usd_per_hourrequirednumber

USD per GPU-hour as billed. The hub's margin is already included. There is no cheaper number. Some templates' Modal functions reserve a large CPU host beside the GPU (ppo_isaac: 8 cores, 32 GiB). Such a template adds that host's billed rate on top. estimateRun shows it as host_rate_usd_per_hour. A template hosted on CPU alone (ppo_mujoco) pays that host and no tier.

descriptionrequiredstring
isaac_labIsaacLabTierPrice | null

What an hour of an isaaclab3-newton job costs on this tier on Lucen cloud, its sandbox host included, and what to expect of it.

cloudCloudTierPrice | null

Set when this hub sends this tier's long training and jobs to the cloud. They are then billed at the instance's price, not at rate_usd_per_hour.

HostedExecution

object

Who this deployment runs executor: modal work for (runs, endpoints, rollouts, scans, gates, robot checks). There is no payment system, so this is a list of owners (HOSTED_OWNERS). It also gives every other account a small monthly allowance for CPU work (allowance). Anything else is 403 (forbidden.hosted_owner) and runs on the owner's own machine. A client reads this to offer modal only where it would be accepted. Every hosted job acts as its owner. The hub mints a key for that one job and hands it to the container. The key is its owner's, scoped to the job's own operations, and dead once the job ends.

HostedExecution fields
FieldTypeDescription
allowanceHostedAllowance | null

The monthly hosted allowance every account outside owners gets for CPU work. Null when it is off (HOSTED_ALLOWANCE_USD=0) or nothing is hosted.

configuredrequiredboolean

A Modal app is configured (MODAL_APP_NAME). False: every modal request is 503 whoever asks.

everyonerequiredboolean

HOSTED_OWNERS=*: any owner may use modal.

ownersrequiredarray of string

The owner handles (users or orgs) the hub hosts for, lower-case; empty when everyone. A rollout also needs write access to its model.

GithubCommit

object

GithubCommit fields
FieldTypeDescription
sharequiredstring
messagerequiredstring
authorstring | null
committed_atstring (date-time) | null (date-time)
urlrequiredstring (uri)
runsrequiredarray of GithubCommitRun

The runs you can see that trained from this commit.

RunFacetBucket

object

RunFacetBucket fields
FieldTypeDescription
valuerequiredstring

The filter value that selects this bucket (external, worker, succeeded, lucen/laika, none, true).

countrequiredinteger

≥ 0

CheckpointGateSpec

object

Gate checkpoints while the run trains (the reference watch_ckpt.py). While the run is running, the hub checks its output model repo about once a minute. It looks for new checkpoints/step_<N>/ directories (one .onnx each). It queues a rollout of the first checkpoint past every every_steps boundary, on recipe.robot. The rollout uses battery (default watch) and seeds (default 3), at delay (default 2). tripwires are evaluated on the gated results. One that fires asks the run to stop, exactly as the budget stop does. A notice in the run's log names the tripwire, the step and the rollout. cadence decides which of those checkpoints are tested. stop_on_pass and patience are stop rules on the tested results.

CheckpointGateSpec fields
FieldTypeDescription
every_stepsrequiredinteger

≥ 1

Gate the first checkpoint at or past each multiple of this.

cadencestring | null

one of fixed · adaptive

Which checkpoints at the every_steps cadence are tested. fixed tests every one. adaptive tests sparsely early and every one late. The rule: the first candidate is tested. A later candidate is skipped while the run's headline metric has not improved on the last tested checkpoint. The headline metric is the reward, else the loss, read from the metrics line at or before the checkpoint's step. A gap of 4 × every_steps since the last tested checkpoint forces a test. Once a tested checkpoint passes every test, every later candidate is tested. A checkpoint whose metric is unknown is tested. The hub stores adaptive for a new run that sends null. A run stored before this field existed reads as fixed.

stop_on_passboolean

default false

Stop the run when a tested checkpoint passes every test. The hub asks the run to stop as a tripwire does, records the rule and the step on Run.early_stop, and names that checkpoint as the run's output policy. Checkpoints are kept.

patienceinteger | null

≥ 1 · ≤ 20

Stop the run after this many tested checkpoints in a row that did not beat the best so far. A checkpoint beats the best when it passes more tests, or passes the same number with a higher headline metric. Only finished tests count. The best checkpoint is the run's output policy. Null turns the rule off.

batterystring

one of watch · smoke · c_matrix · robust · recovery · full · stand · loco · kick · grid · wheel_nominal · wheel_plant · wheel_sensing · wheel_slope · wheel_push · wheel_limit

default "watch"

command_rangesCommandRanges | null

The ranges a grid gate is built for (null uses the robot card's; on a fixed base, the hub's default reach range).

seedsinteger

default 3 · ≥ 1 · ≤ 20

delayinteger

default 2 · ≥ 0 · ≤ 10

Control steps of actuation delay (watch_ckpt.py --delay 2, the real link's upper bound).

executorRolloutExecutor | null

Null means the run's own executor.

tripwiresarray of GateTripwire

items ≤ 8

videoVideoMode | null

What each gate rollout renders. Null keeps the default (full: three views per cell). A campaign round on a walk or omni task is gated on c_matrix × 5 seeds with poster. That is physics plus one still per cell, so a gate lands in minutes. The three views stay on the 20-seed band scan. Any gate's views can be rendered later (renderRollout).

horizon_sread-onlynumber | null

The seconds each seed runs, as the battery defines it for the run's robot (c_matrix 20 s, recovery 10 s). The hub fills it wherever it returns the spec (Run.recipe.gate, AgentPlanRound.gate). A value sent in a request is ignored and never stored. The battery decides the horizon, as it always has for a gate.

cell_countread-onlyinteger | null

How many cells the battery runs on the run's robot (c_matrix 13; smoke 5 on legs, 3 on a fixed base). The hub fills it and ignores a sent value, as for horizon_s.

RunForkRecord

object

How a run was forked, written by forkRun on the child's recipe. createRun accepts one only when it agrees with the body's parent_run_id and parent_checkpoint_step.

RunForkRecord fields
FieldTypeDescription
run_idrequiredId
checkpoint_stepinteger | null

≥ 0

changerequiredRunForkChange
cardRunForkCard | null

JobSpec

object

A job: one command, run from an uploaded project. The command is an argument list and runs as given, with no shell. Its stdout and stderr become the run's log.

Metrics. A metrics.jsonl the command writes into $LUCEN_OUTPUT_DIR becomes the run's curves. Without one, TensorBoard event files in outputs are read. On the lerobot image, LeRobot's own step:… loss:… log lines are read too.

Checkpoints. A folder checkpoints/<step>/ in $LUCEN_OUTPUT_DIR or in one of outputs is published while the job runs. <step> is a number, such as LeRobot's 000100, or step_100. It is listed by listRunCheckpoints as checkpoints/step_100/.

JobSpec fields
FieldTypeDescription
snapshotrequiredSha256

The project, from createJobSnapshot. It belongs to the run's owner.

imagerequiredJobImage
commandrequiredarray of string

items 1–256

The program and its arguments, such as ["python", "train.py", "--steps", "500"]. To use a shell, name it: ["bash", "-c", "..."].

workdirstring

default "." · length ≤ 512

Where the command starts, relative to the project's root. A path that leaves the project is 422.

outputsarray of string

default ["outputs"] · items ≤ 16

Directories, relative to workdir, kept when the job ends. Each is uploaded to the run's output repo under outputs/. A path that leaves the project is 422.

envmap of string

Environment variables for the command. A name is upper case letters, digits and _. The values are stored on the run and its readers see them, so they must hold no secret. A value that looks like a token is 422. So is a name the runner sets itself, such as HF_TOKEN or one starting with LUCEN_.

use_hf_tokenboolean

default false

Give the command the owner's Hugging Face token as HF_TOKEN. The owner must have connected Hugging Face (422 otherwise). The token is not stored on the run.

large_hostboolean

default false

Only for isaaclab3-newton on Lucen cloud. The job's sandbox gets 4 cores and 16 GiB instead of 2 cores and 8 GiB. Use it for a task that needs more than about 7 GiB of memory, such as one with cameras. A task without cameras uses one core and about 6 GiB. It costs more per hour (listHardwareTiers, isaac_lab). With another image it is 422.

GateVerdict

string

one of PASS · FAIL

A cell's verdict under the harness rule.

CloudAttempt

object

One VM a cloud run ran on. A spot VM the cloud takes back ends one attempt, and the VM that replaces it starts the next.

CloudAttempt fields
FieldTypeDescription
started_atrequiredstring (date-time)

When this VM claimed the run.

ended_atstring (date-time) | null (date-time)

The last report of this VM before the next one claimed the run. Null while it runs, and for the last attempt, which ends with the run.

providerrequiredstring

one of aws · azure

regionstring | null

Null until SkyPilot names the region.

zonestring | null

The zone SkyPilot reports for the VM (us-east-2a). Shown only; the price never depends on it.

instance_typerequiredstring
spotrequiredboolean
rate_usd_per_hourrequirednumber

USD per hour as billed for this attempt, the instance's price × 1.1.

basisrequiredstring

one of region · region_high · ceiling

What the price is. The region comes only from SkyPilot's record of the job. region: the on-demand price there, or Azure's one spot price. region_high: AWS spot, the highest zone price in that region. ceiling: the dearest region's on-demand price, while SkyPilot cannot name the region; the hub re-prices the attempt once it does.

sourcerequiredstring

Where the price was read, and when.

RunConfigGroupId

string

one of actions · contract · observations · plant · rewards · network · algorithm · domain_randomization · curriculum · terminations · commands · sim · bookkeeping · other

The RL structure a resolved-config key belongs to (the API guide, "Config groups"). One rule table covers both the Isaac Lab shape and the importer's manifest shape. The first match wins.

RunConfigDiffEntry

object

RunConfigDiffEntry fields
FieldTypeDescription
pathrequiredstring
kindrequiredstring

one of added · removed · changed

fromrequiredstring | null

The parent's value; null when the key is absent there.

torequiredstring | null

This run's value; null when the key is absent here.

in_declared_changeboolean | null

For a campaign round's run: true when the key lies inside the round's declared change. false when it does not (the one-variable rule counts it). null when the run is in no round, or when the key is bookkeeping and is never counted. Bookkeeping keys change on every run by construction (run.*, the run ids, the iteration cap).

groupstring | null

The RunConfigGroup.id this key falls in (the API guide, "Config groups").

parent_pathstring | null

On a cross_shape comparison, the parent's key this run's path was mapped to (contract.action_clip for env.actions.joint_pos.clip). Null when both sides use the same path.

RunCurveColumn

object

One series as two columns of equal length.

RunCurveColumn fields
FieldTypeDescription
source_keyrequiredstring
pointsrequiredinteger

Logged points before decimation.

trequiredarray of number

Iterations.

vrequiredarray of number

RunCurveSummary

object

Computed on every logged point before decimation. The slope is a least-squares fit, per iteration, over the last 10% of iterations (at least the last three points).

RunCurveSummary fields
FieldTypeDescription
lastnumber | null
last_atnumber | null
minnumber | null
maxnumber | null
slopenumber | null
window_fromnumber | null
window_tonumber | null
window_pointsinteger
change_in_windownumber | null

slope times the window's width: how far the fitted line moved over it.

plateauboolean | null

change_in_window under plateau_threshold of the series' range. Null under three points.

compare_atnumber | null

The last iteration both this run and the parent logged this series at.

value_atnumber | null

This run's value at compare_at, the last logged point at or before it.

parent_atnumber | null

The parent's value at compare_at.

delta_vs_parentnumber | null

value_at minus parent_at.

unweighted_lastnumber | null

A reward term's last value without its weight.

unweighted_value_atnumber | null

A reward term's value at compare_at without its weight.

unweighted_parent_atnumber | null

The parent's value at compare_at without the parent's weight.

change_scorenumber | null

How much a reward term moved against the parent, from 0 to 2. It is the change at compare_at over the largest of the two values and the term's range in both runs. Unweighted when both weights are known.

RunCurvesMatterRow

object

RunCurvesMatterRow fields
FieldTypeDescription
keyrequiredstring
labelrequiredstring
runnumber | null
parentnumber | null
unitstring | null

RunCurvesMatterTests

object

RunCurvesMatterTests fields
FieldTypeDescription
steprequiredinteger

The checkpoint compared.

run_passedinteger | null
run_totalinteger | null
parent_passedinteger | null
parent_totalinteger | null

RunEvalEpisode

object

RunEvalEpisode fields
FieldTypeDescription
indexrequiredinteger

≥ 0

errorrequirednumber | null
framesinteger | null

Frames scored.

lengthinteger | null

Frames in the episode.

ExperimentPrediction

object

ExperimentPrediction fields
FieldTypeDescription
metricrequiredstring

length 1–120

gates_passed, or the name of one of the round's locked gates.

directionrequiredExperimentPredictionDirection
valuenumber | null

The number predicted. With up the measurement must reach it, with down stay at or under it, and with same land on it.

ComparedSimTest

object

ComparedSimTest fields
FieldTypeDescription
sourcerequiredstring

one of gate · scan

A gate while training, or a band scan.

rollout_idrequiredId
statusrequiredJobStatus
batterystring | null
seedsinteger | null
gates_passedinteger | null
gates_totalinteger | null
alive_ratenumber | null

ComparedCellSide

object

ComparedCellSide fields
FieldTypeDescription
statusrequiredGateVerdict | null
measured_pctnumber | null
measured_ratiostring | null

ComparedConfigEntry

object

ComparedConfigEntry fields
FieldTypeDescription
pathrequiredstring
fromstring | null
tostring | null
grouprequiredstring

ExperimentPredictionDirection

string

one of up · same · down

Which way the metric moves against the checkpoint the round started from. same allows 5 % of the starting value for a gate's measurement and nothing for gates_passed.

IsaacLabTierPrice

object

One tier's price for an isaaclab3-newton job on Lucen cloud. The job runs in a sandbox, whose host is priced in. A task without cameras drives the GPU from one CPU thread and uses about 6 GiB of memory.

IsaacLabTierPrice fields
FieldTypeDescription
rate_usd_per_hourrequirednumber

USD per hour as billed, with the default host of 2 cores and 8 GiB.

rate_large_host_usd_per_hourrequirednumber

USD per hour as billed with job.large_host: 4 cores and 16 GiB.

advicerequiredIsaacLabAdvice | null

Null when this tier was not measured for Isaac Lab 3.

noterequiredstring

One sentence a GPU picker can show.

CloudTierPrice

object

What an hour of a tier costs on the cloud, as billed: the instance's price × 1.1 in its cheapest region.

CloudTierPrice fields
FieldTypeDescription
providerrequiredstring

one of aws · azure

instance_typerequiredstring
on_demand_rate_usd_per_hourrequirednumber
spot_rate_usd_per_hourrequirednumber | null

Null when the instance has no spot market in its regions.

price_sourcerequiredstring

HostedAllowance

object

What an account outside HOSTED_OWNERS may spend on the hub's Modal account per calendar month (UTC). It covers CPU work only: hosted robot and model checks, ppo_mujoco runs, and CPU sim rollouts (single, scans, gates). Every GPU tier and endpoint stays HOSTED_OWNERS-only (403). A job reserves its most possible cost before it is queued. For a run, that is max_hours x rate, capped by budget_usd. For a rollout or check, it is the function's timeout x its host rate. The job settles from the ledger when it ends. A job that does not fit is 403 with errors[].type: forbidden.hosted_allowance.

HostedAllowance fields
FieldTypeDescription
limit_usdrequirednumber
cpu_onlyrequiredboolean
workrequiredarray of string

What the allowance covers, by name.

viewerHostedAllowanceUsage | null

The caller's own account this month; null when anonymous, or when the caller is in owners (no allowance applies).

GithubCommitRun

object

GithubCommitRun fields
FieldTypeDescription
idrequiredId
namestring | null

CommandRanges

object

What a skill is commanded to do, [low, high] per axis.

On a floating base these are velocities: vx and vy in m/s, yaw in rad/s. An absent axis is not commanded. The command grid (grid) tests stand, half and full speed each way, each side, each turn, and walking while turning and while sidestepping.

On a fixed base (an arm) they are targets, and exactly one of joint or ee is given, as [-r, r]. joint moves every joint up to r radians from its start pose, each held inside its own limits. ee moves the end effector up to r metres from where it sits at the start pose, along x, y and z. The test grid (grid) holds the start pose first. For joint it then tests targets at half and full range each way, and every other joint the opposite way. For ee it tests each axis each way. A velocity axis on a fixed base, or a target axis on a floating base, is 422.

CommandRanges fields
FieldTypeDescription
vxarray of number

items 2–2

vyarray of number

items 2–2

yawarray of number

items 2–2

jointarray of number

items 2–2

Fixed base only. Joint targets, [-r, r] radians from the start pose, 0 < r <= 1. The hub's default is ±0.3.

eearray of number

items 2–2

Fixed base only. End-effector targets, [-r, r] metres from where the end effector sits at the start pose, along each axis, 0 < r <= 0.25. The robot card must name an end effector in the model. The hub's default is ±0.10.

RolloutExecutor

string

one of worker · modal

default "worker"

Where a rollout runs. worker (the default): it waits queued for a lucen rollout worker the owner runs. modal needs a deployment that names a deployed Modal app (MODAL_APP_NAME). There, the hub spawns the app's rollout function (CPU, EGL, ffmpeg) after the commit and stores modal_call_id. The container claims and reports like any worker. When the variable is unset, modal is 503 naming the variable, and nothing is recorded. A CPU rollout is unpriced either way.

GateTripwire

object

Stop the run when a gate metric crosses a line. It fires when the last consecutive gated checkpoints at or past from_step all satisfy metric op threshold. pass_rate = PASS cells / cells, alive_rate = seeds alive / seeds run, gates_passed = PASS cells. An early stop on success is a tripwire too: pass_rate >= 1.

GateTripwire fields
FieldTypeDescription
metricrequiredstring

one of pass_rate · alive_rate · gates_passed

oprequiredstring

one of < · <= · > · >=

thresholdrequirednumber
from_stepinteger

default 0 · ≥ 0

consecutiveinteger

default 1 · ≥ 1 · ≤ 20

VideoMode

string

one of none · poster · full

default "full"

What the worker renders of each cell's seed 0. full (the default) renders three 640×480 views (side, front, feet) as mp4s. That costs ~75 s of CPU per 20 s cell. poster renders ONE still per cell: the side view of seed 0, as a 320×240 PNG. It is taken at the episode's last control step (the end of the horizon, or the step the robot fell). That is enough to scan a checkpoint row without playing anything. none is physics only. The measurements, the trajectory and the verdict are identical in all three, because rendering never touches the physics. A gate rollout's videos can be rendered afterwards with renderRollout. With poster or full, a rollout that tests a training checkpoint also records one short clip of one test (clip_key).

RunForkCard

object

The prediction a fork was made with. It was written with the child, so the run's created_at is when, and no operation edits it.

RunForkCard fields
FieldTypeDescription
hypothesisrequiredstring

length ≤ 300

predictionrequiredExperimentPrediction

JobImage

string

one of lerobot · mjlab · isaaclab3-newton · base-cuda

The container a job runs in on Lucen cloud or on the owner's Modal. Each one is pinned. lerobot: PyTorch and LeRobot 0.6.1, with video decoding. mjlab: MuJoCo Warp and mjlab. isaaclab3-newton: Isaac Lab 3 on the Newton physics engine, without Isaac Sim. base-cuda: CUDA and Python only. There the project's requirements.txt or pyproject.toml is installed when the job starts, and cached by its digest. On the owner's own machine the command runs in that machine's environment, and the image is only a label.

IsaacLabAdvice

string

one of default · fastest · not_recommended · may_queue

What to expect of a tier for an isaaclab3-newton job. default: best value, and what a job without gpu gets. fastest: fastest for this kind of task. not_recommended: no faster here, at a higher price. may_queue: Modal may take a long time to find one.

HostedAllowanceUsage

object

HostedAllowanceUsage fields
FieldTypeDescription
accountrequiredstring
used_usdrequirednumber

Settled spend this month (ledger rows of finished hosted jobs).

reserved_usdrequirednumber

The most the account's queued and running hosted jobs can still cost.

remaining_usdrequirednumber
period_startrequiredstring (date-time)
resets_atrequiredstring (date-time)