runs
Training runs: submitted here and executed by an executor, either a self-hosted worker or Modal (modal)
GET / v1/ runs
List training runs
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
| Name | In | Type | Description |
|---|---|---|---|
status | query | JobStatus | |
executor | query | RunExecutor | Filter by executor ( |
owner | query | Handle | Filter by billing owner handle (username or org slug). |
kind | query | RunKind | Filter by kind: |
robot | query | string | Filter by the robot the recipe names ( |
gated | query | boolean |
|
parent_run_id | query | Id | The direct forks of one run (its lineage children). |
import_key | query | string | Only the imported run that |
template | query | string | Only runs whose recipe names this template ( |
facets | query | boolean |
|
limit | query | integer | Page size. |
cursor | query | string | Opaque cursor from the previous page's |
Responses
POST / v1/ runs
Create a training run
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
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key | header | string | 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 |
Request body
| Field | Type | Description |
|---|---|---|
recipe | Recipe | |
owner | Handle | null | Billing owner handle; defaults to the caller's username. |
parent_run_id | string | null | Lineage: the run this one forks/retrains from. |
Responses
| Status | Description | Body |
|---|---|---|
200 | Replay: this | 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 | SpendHold |
401 | Missing or invalid credentials. | Problem |
402 | A job on Lucen cloud needs a payment method, and this owner has none. Nothing was recorded. The problem's | Problem |
403 | Not allowed, and nothing was recorded. A hosted refusal says why in | Problem |
409 | A motion-tracking run whose motion job cannot train now: no preview yet, a | Problem |
422 | The request failed validation. A hosted | Problem |
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 | Problem |
503 | The requested executor cannot run on this deployment ( | Problem |
POST / v1/ jobs/ snapshots
Upload a project folder for a job
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
| Field | Type | Description |
|---|---|---|
tree | string | The project as a gzipped tar, base64-encoded. |
sha256 | Sha256 | SHA-256 of the gzipped bytes. A mismatch is |
owner | Handle | null | Who the snapshot belongs to. Defaults to the caller. Pass an organization's slug for that organization's jobs. |
Responses
| Status | Description | Body |
|---|---|---|
200 | The owner already holds these files. Nothing new was stored. | JobSnapshot |
201 | The snapshot, stored. | JobSnapshot |
401 | Missing or invalid credentials. | Problem |
403 | Authenticated but not allowed (visibility, membership or scope). | Problem |
404 | Resource not found (or hidden from the caller). | Problem |
413 | The project is over its size cap. Nothing was stored. | Problem |
422 | Request failed validation. | Problem |
GET / v1/ jobs/ snapshots/ {sha256}
Look up an uploaded project
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
| Name | In | Type | Description |
|---|---|---|---|
sha256 | path | Sha256 | The snapshot's digest, or the digest of the upload that made it. |
owner | query | Handle | The owner to look in. Defaults to the caller. |
Responses
| Status | Description | Body |
|---|---|---|
200 | The snapshot. | JobSnapshot |
401 | Missing or invalid credentials. | Problem |
403 | Authenticated but not allowed (visibility, membership or scope). | Problem |
404 | Resource not found (or hidden from the caller). | Problem |
POST / v1/ runs/ import
Import a training run trained off-platform
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
| Field | Type | Description |
|---|---|---|
artifacts | RunImportArtifacts | |
owner | Handle | null | Owner handle; defaults to the caller's username. |
parent_run_id | Id | 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. |
template | string | null | What produced the run, free text. Defaults to |
dataset | array of DatasetRef | Dataset refs the run trained on, if any. A simulator-only RL run legitimately has none. |
robot | string | null | |
status | JobStatus | |
hyperparams | object | null | |
code | RunCodeIdentity | null | The code the run trained from. |
output_model_repo | string | null |
|
import_key | string | null | Where the run trained, as an identity the importer chooses. It is stored on the run. |
Responses
| Status | Description | Body |
|---|---|---|
200 | An earlier import under the same owner sent the same | Run |
201 | Run imported. | Run |
401 | Missing or invalid credentials. | Problem |
403 | Authenticated but not allowed (visibility, membership or scope). | Problem |
409 | The run with this | Problem |
413 | An artifact is over the per-artifact size limit, or the owner's storage quota would be exceeded (imports count toward it). | Problem |
422 | Request failed validation. | Problem |
POST / v1/ runs/ estimate
Price a training run before submitting it
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
| Field | Type | Description |
|---|---|---|
recipe | Recipe | |
owner | Handle | null | Billing owner handle; defaults to the caller's username. |
parent_run_id | string | null | Lineage: the run this one forks/retrains from. |
Responses
| Status | Description | Body |
|---|---|---|
200 | The estimate. | RunEstimate |
401 | Missing or invalid credentials. | Problem |
403 | The same | Problem |
422 | The same | Problem |
POST / v1/ runs/ recommend
Recommend a GPU tier for a training run (deterministic planner)
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
templateup in itstraining_policiesregistry. The registry holds the model family, parameter count, methodlora | 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'smeta/info.jsonwith 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). Heresamplesishyperparams.batch_sizefor imitation learning andhyperparams.num_envsfor 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
| Field | Type | Description |
|---|---|---|
recipe | Recipe | |
owner | Handle | null | Billing owner handle; defaults to the caller's username. |
parent_run_id | string | null | Lineage: the run this one forks/retrains from. |
Responses
| Status | Description | Body |
|---|---|---|
200 | The recommendation, with its arithmetic. | RunRecommendation |
401 | Missing or invalid credentials. | Problem |
403 | Authenticated but not allowed (visibility, membership or scope). | Problem |
422 | Request failed validation. | Problem |
GET / v1/ runs/ {run_id}
Get a training run
Parameters
| Name | In | Type | Description |
|---|---|---|---|
run_id | path | Id | Training run id ( |
Responses
GET / v1/ runs/ {run_id}/ logs
Stream run logs (SSE)
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
| Name | In | Type | Description |
|---|---|---|---|
run_id | path | Id | Training run id ( |
follow | query | boolean | Keep the stream open while the run is queued/running. |
tail | query | integer | Replay only the last N log lines (default = all). Metric events are never tailed. |
strip_ansi | query | boolean | 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 |
Responses
GET / v1/ runs/ {run_id}/ logs/ download
Download a run's whole log as text
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
| Name | In | Type | Description |
|---|---|---|---|
run_id | path | Id | Training run id ( |
strip_ansi | query | boolean | 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 |
Responses
POST / v1/ runs/ {run_id}/ cancel
Cancel a training run
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
| Name | In | Type | Description |
|---|---|---|---|
run_id | path | Id | Training run id ( |
Responses
| Status | Description | Body |
|---|---|---|
202 | Cancellation requested; current run snapshot returned. | Run |
401 | Missing or invalid credentials. | Problem |
403 | Authenticated but not allowed (visibility, membership or scope). | Problem |
404 | Resource not found (or hidden from the caller). | Problem |
409 | State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...). | Problem |
501 | The run's executor cannot cancel on this deployment ( | Problem |
POST / v1/ runs/ {run_id}/ stop
Stop a training run early and keep its checkpoints
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
| Name | In | Type | Description |
|---|---|---|---|
run_id | path | Id | Training run id ( |
Responses
| Status | Description | Body |
|---|---|---|
202 | Stop requested; current run snapshot returned. | Run |
401 | Missing or invalid credentials. | Problem |
403 | Authenticated but not allowed (visibility, membership or scope). | Problem |
404 | Resource not found (or hidden from the caller). | Problem |
409 | State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...). | Problem |
POST / v1/ runs/ {run_id}/ move
Move a queued run to hosted compute
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 (
403when 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
| Name | In | Type | Description |
|---|---|---|---|
run_id | path | Id | Training run id ( |
Request body
| Field | Type | Description |
|---|---|---|
executor | RunExecutor | |
gpu | string | null | The GPU tier for a template that trains on a GPU; null takes the template's default tier. A CPU template takes none. |
max_hours | number | null | 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_usd | number | null | A new hard spend cap in USD. |
Responses
| Status | Description | Body |
|---|---|---|
200 | The run, now on the requested executor and still | Run |
401 | Missing or invalid credentials. | Problem |
403 | Authenticated but not allowed (visibility, membership or scope). | Problem |
404 | Resource not found (or hidden from the caller). | Problem |
409 | State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...). | Problem |
422 | Request failed validation. | Problem |
429 | The owner's (or the key's own) daily GPU-hour quota would be exceeded. Or the account's spend cap is in | Problem |
503 | This deployment has no hosted compute for the run's template; the run is unchanged. | Problem |
GET / v1/ runs/ {run_id}/ config
A run's resolved config, flattened, and its diff against the parent
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
| Name | In | Type | Description |
|---|---|---|---|
run_id | path | Id | Training run id ( |
Responses
POST / v1/ runs/ {run_id}/ code
Record the code a run trained from, and archive it
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
| Name | In | Type | Description |
|---|---|---|---|
run_id | path | Id | Training run id ( |
Request body
| Field | Type | Description |
|---|---|---|
code | RunCodeIdentity | |
source | string |
|
tree | string | null | The commit's tree as |
patch | string | null | The uncommitted diff of tracked files, as |
skipped | array of RunCodeFileNote | Files the sender left out of |
Responses
| Status | Description | Body |
|---|---|---|
200 | The run's code as the hub now holds it. | RunCode |
401 | Missing or invalid credentials. | Problem |
403 | Authenticated but not allowed (visibility, membership or scope). | Problem |
404 | Resource not found (or hidden from the caller). | Problem |
409 | State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...). | Problem |
413 | The tree or the patch is over its size cap. Nothing was stored. | Problem |
422 | Request failed validation. | Problem |
GET / v1/ runs/ {run_id}/ code/ diff
What changed in the code between this run and another
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
| Name | In | Type | Description |
|---|---|---|---|
run_id | path | Id | Training run id ( |
against | query | Id | The run to compare with. Defaults to this run's parent. |
source | query | string |
Responses
| Status | Description | Body |
|---|---|---|
200 | The diff, or the reason there is none. | RunCodeDiff |
401 | Missing or invalid credentials. | Problem |
404 | Resource not found (or hidden from the caller). | Problem |
GET / v1/ runs/ {run_id}/ code/ files
Read a file, or list a folder, of the code a run trained from
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
| Name | In | Type | Description |
|---|---|---|---|
run_id | path | Id | Training run id ( |
path | query | string | A path inside the repo, such as |
Responses
| Status | Description | Body |
|---|---|---|
200 | The file, or the folder's entries. | RunCodeFile |
401 | Missing or invalid credentials. | Problem |
404 | Resource not found (or hidden from the caller). | Problem |
GET / v1/ runs/ {run_id}/ curves
A run's learning curves, decimated, with its parent's and a summary of each
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
| Name | In | Type | Description |
|---|---|---|---|
run_id | path | Id | Training run id ( |
keys | query | string | Comma-separated series to return, by the hub's name ( |
max_points | query | integer | The most points per series, after min/max decimation. |
parent | query | boolean | Include the parent run's series, its sim tests by step, and the comparison. |
Responses
GET / v1/ runs/ {run_id}/ evals
A run's offline evaluation on its held-out episodes
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
| Name | In | Type | Description |
|---|---|---|---|
run_id | path | Id | Training run id ( |
Responses
POST / v1/ runs/ {run_id}/ fork
Start a child of a run with one declared change
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
| Name | In | Type | Description |
|---|---|---|---|
run_id | path | Id | Training run id ( |
dry_run | query | boolean | Compose and check the child, record nothing. |
Idempotency-Key | header | string | Same meaning as on |
Request body
| Field | Type | Description |
|---|---|---|
checkpoint_step | integer | null | 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. |
set | object | Exactly one resolved-config path and its new value, as |
card | ExperimentCardCreate | null | The prediction, written before the child trains and stored on |
iterations | integer | null | How long the child trains, in the template's own iteration count. Null keeps the parent's. It is never counted as the variable. |
executor | RunExecutor | null | Where the child runs. Null keeps the parent's. |
gpu | string | null | The GPU tier. Null keeps the parent's. |
max_hours | number | null | The child's wall-clock cap. Null keeps the parent's. |
budget_usd | number | null | The child's spend cap. Null keeps the parent's. |
owner | Handle | null | Who pays. Null is the parent's owner when the caller may create runs for it, else the caller. |
Responses
| Status | Description | Body |
|---|---|---|
200 | A dry run, or a replay of an | 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 | SpendHold |
401 | Missing or invalid credentials. | Problem |
403 | Authenticated but not allowed (visibility, membership or scope). | Problem |
404 | Resource not found (or hidden from the caller). | Problem |
409 | State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...). | Problem |
422 | Request failed validation. | Problem |
429 | The account's daily GPU-hour quota or its spend cap, as on | Problem |
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. | Problem |
POST / v1/ runs/ {run_id}/ promote
Publish one of a run's checkpoints as its policy
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
| Name | In | Type | Description |
|---|---|---|---|
run_id | path | Id | Training run id ( |
Request body
| Field | Type | Description |
|---|---|---|
step | integer | The published checkpoint to make the policy. |
Responses
| Status | Description | Body |
|---|---|---|
200 | The checkpoint is the policy. | CheckpointPromoteResult |
401 | Missing or invalid credentials. | Problem |
403 | Authenticated but not allowed (visibility, membership or scope). | Problem |
404 | Resource not found (or hidden from the caller). | Problem |
409 | State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...). | Problem |
422 | Request failed validation. | Problem |
GET / v1/ runs/ {run_id}/ compare
Two checkpoints side by side, as the hub measured them
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
| Name | In | Type | Description |
|---|---|---|---|
run_id | path | Id | Training run id ( |
step | query | integer | Checkpoint A's step on this run. |
other_run_id | query | Id | Checkpoint B's run. It may be this run. |
other_step | query | integer | Checkpoint B's step. |
Responses
| Status | Description | Body |
|---|---|---|
200 | The comparison. | CheckpointComparison |
401 | Missing or invalid credentials. | Problem |
404 | Resource not found (or hidden from the caller). | Problem |
422 | Request failed validation. | Problem |
GET / v1/ runs/ {run_id}/ checkpoints
List a run's checkpoints
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
| Name | In | Type | Description |
|---|---|---|---|
run_id | path | Id | Training run id ( |
Responses
| Status | Description | Body |
|---|---|---|
200 | Checkpoints by step, oldest first. | CheckpointList |
401 | Missing or invalid credentials. | Problem |
403 | Authenticated but not allowed (visibility, membership or scope). | Problem |
404 | Resource not found (or hidden from the caller). | Problem |
GET / v1/ runs/ {run_id}/ job
The inputs a runner needs to start a claimed job
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
| Name | In | Type | Description |
|---|---|---|---|
run_id | path | Id | Training run id ( |
Responses
| Status | Description | Body |
|---|---|---|
200 | What the runner needs. | RunJobInputs |
401 | Missing or invalid credentials. | Problem |
403 | Authenticated but not allowed (visibility, membership or scope). | Problem |
404 | Resource not found (or hidden from the caller). | Problem |
409 | State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...). | Problem |
POST / v1/ runs/ {run_id}/ claim
Claim a queued worker run (self-hosted runner protocol)
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
| Name | In | Type | Description |
|---|---|---|---|
run_id | path | Id | Training run id ( |
Request body
| Field | Type | Description |
|---|---|---|
worker | string | A name for the runner: its hostname, or anything the operator will recognise on the run page. Recorded as |
modal_call_id | string | null | The Modal function call the claiming container is running ( |
resume_step | integer | null | Re-claim only. The checkpoint step the restarted container will resume from. Send one of the steps |
executor | RunExecutor | null | The executor this claimer serves. A self-hosted runner sends |
Responses
| Status | Description | Body |
|---|---|---|
200 | Claimed; the run as it now stands. | Run |
401 | Missing or invalid credentials. | Problem |
403 | Not allowed. A queued | Problem |
404 | Resource not found (or hidden from the caller). | Problem |
409 | State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...). | Problem |
422 | Request failed validation. | Problem |
503 | A | Problem |
POST / v1/ runs/ {run_id}/ report
Report progress or a terminal state for a claimed run
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 underruns/{run_id}/logs/, andlogs_keybecomes that prefix.metricslines are appended toruns/{run_id}/metrics.jsonl. The last one is echoed on the run aslatest_metrics.config_yaml(the resolved config) andscorecard_jsonland atconfig_key/scorecard_key, exactly whereimportRunputs them. So the coach reads an executed run and an imported one the same way.output_model_reponames the model repo the runner published. It must be a model repo the caller can write, else422. 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
| Name | In | Type | Description |
|---|---|---|---|
run_id | path | Id | Training run id ( |
Request body
| Field | Type | Description |
|---|---|---|
status | RunReportStatus | null | Omit it (or send |
metrics | array of object | Metrics lines to append to |
log_chunk | string | null | Raw stdout/stderr since the last report, ≤ 256 KiB of UTF-8. |
error | string | null | Failure summary; expected with |
config_yaml | string | null | The template's RESOLVED config, stored at |
scorecard_json | object | null | Acceptance scorecard, stored at |
output_model_repo | string | null |
|
peak_vram_gb | number | null | Peak GPU memory the template used, in GB. Echoed on the run. On a |
samples_per_s | number | null | Training throughput, samples per second. Same handling as |
gpu_tier | string | null | Which tier class the GPU that ran the template belongs to. Absent, the run's own |
progress | RunReportProgress | null | Where the run stands, sent on progress reports. Each report's object replaces the last. It is echoed as |
job_env | JobEnvironment | 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 |
Responses
| Status | Description | Body |
|---|---|---|
200 | Recorded; the run as it now stands. | Run |
401 | Missing or invalid credentials. | Problem |
403 | Authenticated but not allowed (visibility, membership or scope). | Problem |
404 | Resource not found (or hidden from the caller). | Problem |
409 | State conflict (duplicate handle/slug, wrong repo kind, terminal job, ...). | Problem |
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. | Problem |
422 | Request failed validation. | Problem |
GET / v1/ hardware_tiers
GPU tiers and what an hour on each costs
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
| Status | Description | Body |
|---|---|---|
200 | The tier table. | HardwareTierList |
401 | Missing or invalid credentials. | Problem |
GET / v1/ github/ commits
Search a connected GitHub repo's commits
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
| Name | In | Type | Description |
|---|---|---|---|
repo | query | string |
|
q | query | string | Words to look for in the commit messages. Empty lists the newest commits. |
limit | query | integer | Page size. |
Responses
| Status | Description | Body |
|---|---|---|
200 | The commits. | GithubCommitPage |
401 | Missing or invalid credentials. | Problem |
404 | Resource not found (or hidden from the caller). | Problem |
502 | GitHub could not be reached or refused the call. | Problem |
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. | Problem |
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
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
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
RunCreate
Run
| Field | Type | Description |
|---|---|---|
id | Id | |
trained_in | TrainedIn | null | The engine this run trains in; null when its template does not say. |
kind | RunKind | |
status | JobStatus | |
recipe | Recipe | |
recipe_hash | Sha256 | |
owner | RepoOwner | |
created_by | UserPublic | null | |
gpu_type | string | null | Resolved GPU type the run is billed on. |
cost_usd | number | null | Accrued cost in USD (4 decimal places). |
metrics_key | StorageKey | null | Storage key of the metrics: |
logs_key | StorageKey | null | Storage prefix of the log chunks, |
config_key | StorageKey | null | Storage key of the resolved training config. The coach's attribution evidence #1 is the diff of this against the parent's. |
scorecard_key | StorageKey | null | Storage key of the acceptance scorecard JSON. |
gate | RunGate | 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 |
best_gate | RunBestGate | null | The best sim test a checkpoint of this run got while it trained, on every read. It is the same pick as |
gates | array of RunGateRow | null | Every PASS/FAIL row of the scorecard, |
output_model_repo | RepoRef | null | Model repo produced on success. An imported run has one when |
import_key | string | null | The identity |
parent_run_id | string | null | Lineage: the run this one forks/retrains from. |
executor | RunExecutor | null | Which backend runs it. Null for an |
claimed_by | string | null | The runner name given to |
claimed_at | string (date-time) | null (date-time) | |
heartbeat_at | string (date-time) | null (date-time) | Last time the runner claimed or reported. |
cancel_requested_at | string (date-time) | null (date-time) | Set by |
early_stop | EarlyStopState | null | The stop rule the hub applied ( |
latest_metrics | object | null | The last metrics line the runner reported. |
peak_vram_gb | number | null | Peak GPU memory the template used, in GB, as the runner last reported it. Null until a report carries one. |
samples_per_s | number | null | Training throughput the runner last reported, samples per second. Null until a report carries one. |
modal_call_id | string | null | What the hub started for a hosted run. On |
dispatched_at | string (date-time) | null (date-time) | When the hub spawned the |
error | string | null | Failure summary when status is |
created_at | string (date-time) | |
started_at | string (date-time) | null (date-time) | |
finished_at | string (date-time) | null (date-time) | |
display_name | string | What to call the run before (and after) its output repo exists. It is the name of the campaign round that owns it, else |
display_name_source | string | |
progress | RunProgress | 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). |
spend | RunSpend | 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. |
round | RunRound | null | The campaign round that owns this run, when there is one the caller can see; null otherwise. |
sparkline | RunSparkline | 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_id | string | null | The agent session that started this run, when a training task did ( |
agent_note | RunAgentNote | 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 |
eval | RunEval | null | The episodes this run held out of training for its offline evaluation. A LeRobot template ( |
code | RunCode | 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. |
cloud | RunCloud | null | A |
dataset_exclusions | array 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
JobSnapshot
A project folder, as the hub stores it for jobs.
| Field | Type | Description |
|---|---|---|
sha256 | Sha256 | The snapshot as the hub stores it. A job names it in |
upload_sha256 | Sha256 | The digest of the upload that made it. |
owner | RepoOwner | |
bytes | integer | The stored gzipped tar, in bytes. |
unpacked_bytes | integer | |
files | integer | |
refused | array of RunCodeFileNote | Files left out because they looked like a credential. |
skipped | array of RunCodeFileNote | Links and paths outside the project, left out. |
deduplicated | boolean | True when the owner already held these files. |
created_at | string (date-time) |
RunImport
| Field | Type | Description |
|---|---|---|
artifacts | RunImportArtifacts | |
owner | Handle | null | Owner handle; defaults to the caller's username. |
parent_run_id | Id | 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. |
template | string | null | What produced the run, free text. Defaults to |
dataset | array of DatasetRef | Dataset refs the run trained on, if any. A simulator-only RL run legitimately has none. |
robot | string | null | |
status | JobStatus | |
hyperparams | object | null | |
code | RunCodeIdentity | null | The code the run trained from. |
output_model_repo | string | null |
|
import_key | string | null | Where the run trained, as an identity the importer chooses. It is stored on the run. |
RunEstimate
The most a run can cost, computed before anything is created.
| Field | Type | Description |
|---|---|---|
executor | RunExecutor | |
tier | string | null | Resolved GPU tier: |
rate_usd_per_hour | number | Billed hourly rate (4 decimal places): the tier's, plus |
host_rate_usd_per_hour | number | The part of |
max_hours | number |
|
cost_usd_max | number |
|
budget_usd | number | null | The recipe's hard cap, echoed. |
capped_by_budget | boolean | True when |
priced | boolean | False when the hub does not bill the executor ( |
cloud | CloudPlacement | null | On |
RunRecommendation
| Field | Type | Description |
|---|---|---|
template | string | |
model_family | string | |
control_class | ControlClass | |
method | TrainingMethod | |
implemented | boolean | False for a planning-only row. |
executor | RunExecutor | |
tier | string | null | The smallest tier that fits with headroom; null when none does. |
requested_tier | string | null |
|
vram_estimate_gb | number | The estimate itself (modelled or measured), before headroom. |
vram_required_gb | number |
|
headroom | number | The safety margin applied (0.2 unless the deployment changed it). |
fits_on | array of string | Every tier whose VRAM covers |
est_hours | number | null | Expected wall clock on |
rate_usd_per_hour | number | The tier's billed rate plus the template's host rate ( |
cost_usd_est | number | null |
|
cost_usd_max | number |
|
priced | boolean | |
basis | RecommendationBasis | |
measured | RecommendationMeasured | null | |
inputs | RecommendationInputs | |
dataset | RecommendationDataset | null | |
why | array of string | The arithmetic, one step per line, with the source URL of every published number. |
warnings | array of string | |
explanation | string | null | Reserved (a model's prose over this plan). Always null in v0. |
RunMove
Where a queued run should execute instead (moveRun). A field left out or null keeps the recipe's own value.
| Field | Type | Description |
|---|---|---|
executor | RunExecutor | |
gpu | string | null | The GPU tier for a template that trains on a GPU; null takes the template's default tier. A CPU template takes none. |
max_hours | number | null | 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_usd | number | null | A new hard spend cap in USD. |
RunConfig
A run's resolved config, flattened, and its diff against the parent when there is one.
| Field | Type | Description |
|---|---|---|
run_id | Id | |
parent_run_id | string | null | |
keys | array of RunConfigKey | Every leaf of this run's resolved config, sorted by path. Empty when the run has no readable config. |
total | integer |
|
diff | RunConfigDiff | null | Null when there is no parent, or one side has no parseable config. |
reason | string | null | Why |
shape | string | This run's config shape: |
parent_shape | string | null | The parent's config shape; null without a visible parent. |
comparison | string | null | How the diff was computed ( |
groups | array 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 |
pairs | array of RunConfigPair |
|
declared | array of RunConfigDeclared | The owning round's declared keys and what the diff says about each; |
RunCodeUpload
| Field | Type | Description |
|---|---|---|
code | RunCodeIdentity | |
source | string |
|
tree | string | null | The commit's tree as |
patch | string | null | The uncommitted diff of tracked files, as |
skipped | array of RunCodeFileNote | Files the sender left out of |
RunCode
The code a run trained from, as the hub recorded and archived it.
| Field | Type | Description |
|---|---|---|
repo_url | string | null | |
host | string | null | The repo's host, such as |
commit | string | |
branch | string | null | |
dirty | boolean | |
dirty_files | array of string | |
source | string | |
recorded_at | string (date-time) | |
archive | RunCodeArchive | |
github | RunCodeGithub | null | Only on |
RunCodeDiff
| Field | Type | Description |
|---|---|---|
run | RunCodeDiffSide | |
against | RunCodeDiffSide | null | |
source | string | |
reason | string | null | Why |
files | array of RunCodeDiffFile | |
files_changed | integer | |
additions | integer | |
deletions | integer | |
truncated | boolean | |
compare_url | string (uri) | null (uri) |
RunCodeFile
| Field | Type | Description |
|---|---|---|
run_id | Id | |
path | string | |
kind | string | |
source | string | |
commit | string | null | |
bytes | integer | null | |
text | string | null | |
binary | boolean | |
truncated | boolean | |
uncommitted | boolean | True when the run's uncommitted patch changed this file. |
entries | array of RunCodeEntry | null |
RunCurves
A run's learning curves with their summaries, its sim tests by step, and flags.
| Field | Type | Description |
|---|---|---|
run_id | Id | |
status | JobStatus | |
vocabulary | string | Whose names the log uses. |
step_key | string | null | The field read as the iteration axis ( |
lines | integer | JSON lines read from the run's |
iterations | RunCurveSpan | null | |
reason | string | null | Why |
metrics_digest | string | null | The content hash the parsed log is cached under. It changes whenever the runner appends. |
max_points | integer | |
downsample | string |
|
missing_keys | array of string | Requested keys this run's log does not carry. |
plateau_threshold | number | A series is on a plateau when its change over the last 10% of iterations is under this fraction of its whole range. |
parent | RunCurvesParent | null | |
parent_reason | string | null | With |
series | array of RunCurveSeries | |
reward_terms_changed | array of string | The three reward terms that changed most against the parent, most first, by |
gates_by_step | array of RunCurveGateStep | The sim test of each checkpoint while the run trained, oldest first, as |
parent_gates_by_step | array of RunCurveGateStep | The same for the parent run. Empty without |
did_it_matter | RunCurvesMatter | null | |
flags | array of RunCurveFlag |
RunEvals
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.
| Field | Type | Description |
|---|---|---|
run_id | Id | |
held_out | array of integer | |
episodes_total | integer | null | |
every_steps | integer | null | |
frames_per_episode | integer | null | |
metric | string |
|
normalised_by | string | null |
|
points | array of RunEvalPoint | One point per scored checkpoint, ascending by step, for the curve. |
checkpoints | array of RunEvalCheckpoint | The per-checkpoint table, newest step first. |
failures | array of RunEvalFailure | Checkpoints that could not be scored, with the reason. |
progress | RunEvalProgress | null | The checkpoint being scored right now, if any. |
first | RunEvalPoint | null | |
latest | RunEvalPoint | null | |
best | RunEvalPoint | null | The scored checkpoint with the lowest error. |
flat_since | integer | null | The earliest step from which every later error stays within 10 % of the latest one. Null with fewer than two such points. |
reason | string | null | Why there is nothing to show, when there is nothing. |
RunFork
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.
| Field | Type | Description |
|---|---|---|
checkpoint_step | integer | null | 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. |
set | object | Exactly one resolved-config path and its new value, as |
card | ExperimentCardCreate | null | The prediction, written before the child trains and stored on |
iterations | integer | null | How long the child trains, in the template's own iteration count. Null keeps the parent's. It is never counted as the variable. |
executor | RunExecutor | null | Where the child runs. Null keeps the parent's. |
gpu | string | null | The GPU tier. Null keeps the parent's. |
max_hours | number | null | The child's wall-clock cap. Null keeps the parent's. |
budget_usd | number | null | The child's spend cap. Null keeps the parent's. |
owner | Handle | null | Who pays. Null is the parent's owner when the caller may create runs for it, else the caller. |
RunForkResult
| Field | Type | Description |
|---|---|---|
dry_run | boolean | |
run | Run | null | The child, once created. Null on a dry run. |
created | boolean | False when an |
parent_run_id | Id | |
checkpoint_step | integer | null | |
recipe | Recipe | |
change | RunForkChange | |
refusals | array of RunForkRefusal | On a dry run, every reason the real call would refuse. Empty when it would create the child. |
notes | array of string |
CheckpointPromote
| Field | Type | Description |
|---|---|---|
step | integer | The published checkpoint to make the policy. |
CheckpointPromoteResult
| Field | Type | Description |
|---|---|---|
run_id | Id | |
step | integer | |
policy_path | string | The root path the policy now lives at ( |
checkpoint_path | string | The checkpoint file it was copied from. |
model_repo | string |
|
model_meta | ModelMeta | |
already | boolean | True when that step was the policy before this call. |
CheckpointComparison
Two checkpoints side by side: their sim tests, their curves at those iterations and the config between the two runs.
| Field | Type | Description |
|---|---|---|
a | ComparedCheckpoint | |
b | ComparedCheckpoint | |
cells | array of ComparedCell | Each sim test either checkpoint ran, in A's battery order. |
series | array of ComparedValue |
|
terms | array of ComparedValue | The reward terms at those iterations, ranked by |
config | ComparedConfig | |
prediction | ComparedPrediction | null | B's experiment card scored against these two checkpoints, when B is a fork of A at |
table | string | The comparison as one plain-text table, at most 4,000 characters. |
notes | array of string |
CheckpointList
| Field | Type | Description |
|---|---|---|
items | array of RunCheckpoint | |
repo | RepoRef | null | The output model repo the checkpoints live in; null when none exists yet. |
not_fine_tunable | string | 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 |
RunJobInputs
What a runner needs to start a job it claimed.
| Field | Type | Description |
|---|---|---|
run_id | Id | |
snapshot_sha256 | Sha256 | |
snapshot_url | string (uri) | A presigned download of the snapshot's gzipped tar. |
expires_at | string (date-time) | When |
output_repo | RepoRef | The run's output repo, for checkpoints and outputs. |
hf_token | string | null | The owner's Hugging Face token, when the job asked for it. Set it as |
cached_env | JobEnvironment | 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 |
RunClaim
| Field | Type | Description |
|---|---|---|
worker | string | A name for the runner: its hostname, or anything the operator will recognise on the run page. Recorded as |
modal_call_id | string | null | The Modal function call the claiming container is running ( |
resume_step | integer | null | Re-claim only. The checkpoint step the restarted container will resume from. Send one of the steps |
executor | RunExecutor | null | The executor this claimer serves. A self-hosted runner sends |
RunReport
One progress or terminal report from a runner. Every field is optional.
| Field | Type | Description |
|---|---|---|
status | RunReportStatus | null | Omit it (or send |
metrics | array of object | Metrics lines to append to |
log_chunk | string | null | Raw stdout/stderr since the last report, ≤ 256 KiB of UTF-8. |
error | string | null | Failure summary; expected with |
config_yaml | string | null | The template's RESOLVED config, stored at |
scorecard_json | object | null | Acceptance scorecard, stored at |
output_model_repo | string | null |
|
peak_vram_gb | number | null | Peak GPU memory the template used, in GB. Echoed on the run. On a |
samples_per_s | number | null | Training throughput, samples per second. Same handling as |
gpu_tier | string | null | Which tier class the GPU that ran the template belongs to. Absent, the run's own |
progress | RunReportProgress | null | Where the run stands, sent on progress reports. Each report's object replaces the last. It is echoed as |
job_env | JobEnvironment | 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 |
HardwareTierList
| Field | Type | Description |
|---|---|---|
items | array of HardwareTier | |
hosting | HostedExecution | |
agent_allowance_usd | number | null | What every account may spend free each calendar month (UTC) on the hub's agent: its model calls and its sandbox. |
GithubCommitPage
| Field | Type | Description |
|---|---|---|
repo | string | |
items | array of GithubCommit |
RunFacets
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.
| Field | Type | Description |
|---|---|---|
total | integer | Every run the caller can see. |
kind | array of RunFacetBucket |
|
executor | array of RunFacetBucket | |
status | array of RunFacetBucket | |
robot | array of RunFacetBucket | By |
gated | array of RunFacetBucket |
|
Recipe
Training recipe envelope. template names a training template; dataset lists dataset ref URIs; hyperparams passes through to the template untouched.
| Field | Type | Description |
|---|---|---|
template | string | Which trainer runs. The field is free-form, so an imported run can name whatever produced it (
The skill layer, trained on a LeRobot dataset:
A motion learned from a video:
A runner serves the templates it was started with and leaves the rest queued. |
dataset | array of DatasetRef | |
robot | string | null | The robot this run trains for, as the |
hyperparams | object | null | Template-specific hyperparameters, passed to the template as they are. The LeRobot templates ( |
gpu | string | null | GPU type. The service default applies when null. |
max_hours | number | null | Hard wall-clock cap; the run is stopped at the limit (a |
executor | RunExecutor | null | Which backend executes the run. Null means |
budget_usd | number | null | Hard spend cap in USD. |
gate | CheckpointGateSpec | null | Gate checkpoints in simulation while the run trains, and stop it on a tripwire. Needs |
parent_checkpoint_step | integer | null | Start this run from the parent run's checkpoint at this step. The runner downloads the parent's |
fork | RunForkRecord | null | Set by |
job | JobSpec | null | The job to run when |
RunGate
A scorecard's PASS/FAIL rows, counted.
| Field | Type | Description |
|---|---|---|
passed | integer | |
total | integer | Zero when the scorecard states no PASS/FAIL row the reader recognises. |
RunBestGate
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.
| Field | Type | Description |
|---|---|---|
passed | integer | Tests in the suite that passed at that checkpoint. |
total | integer | Tests in the suite. |
step | integer | The checkpoint's training step. |
RunGateRow
One PASS/FAIL row of a run's scorecard, as coach/gates.py reads it.
| Field | Type | Description |
|---|---|---|
name | string | |
status | GateVerdict | |
detail | string | null | The row's own measurement text ( |
EarlyStopState
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.
| Field | Type | Description |
|---|---|---|
rule | string | |
step | integer | |
output_step | integer | |
rollout_id | string | null | |
at | string (date-time) | |
tested_without_improvement | integer | null | For |
RunProgress
How far a run has got.
- The TEMPLATE declares where it starts and where it will stop. It declares them in
progress.jsonin its output directory (the API guide, "The template contract"). Forppo_isaac, the start is the resume or parent step and the stop is that plusmax_iterations. - The RUNNER reads the newest iteration off
metrics.jsonl, using the template's step key (rsl_rl'siter). 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.
| Field | Type | Description |
|---|---|---|
iteration | integer | null | The newest iteration the metrics show, in the trainer's own numbering. |
total_iterations | integer | null | The number the trainer counts to, as it prints it. For example, rsl_rl's |
final_iteration | integer | null | The last iteration the trainer will log. It is |
start_iteration | integer | 0 from scratch; the parent's checkpoint step on a resume from a parent, the resumed step after a preemption. |
iterations_per_s | number | null | Measured over the last minute of metrics lines; null until two lines exist. |
fraction | number | null |
|
eta_s | number | null | Seconds left at this read: |
eta_at | string (date-time) | null (date-time) |
|
step_key | string | null | The metrics key the iteration was read from ( |
as_of | string (date-time) | When the hub received the report this was read from. |
RunSpend
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.
| Field | Type | Description |
|---|---|---|
priced | boolean | |
accrued_usd | number | null | USD to 4 decimal places. |
rate_usd_per_hour | number | null | The billed rate, tier plus host ( |
budget_usd | number | null |
|
remaining_usd | number | null |
|
final | boolean | True once the run is terminal and |
as_of | string (date-time) |
RunRound
Which campaign round a run belongs to, for "round 4 of Omni walk" and the Shortlist link.
| Field | Type | Description |
|---|---|---|
campaign_id | Id | |
campaign_slug | string | |
campaign_name | string | |
campaign_owner | string | null | The campaign owner's handle. |
n | integer | The round's index in its campaign. |
name | string | The round's name. |
RunSparkline
A run's reward curve decimated by the hub to at most 64 points, so a run card needs no stream.
| Field | Type | Description |
|---|---|---|
metric | string | The metrics key it follows ( |
points | array of array of number |
|
RunAgentNote
One plain sentence from the agent that started or watches the run.
| Field | Type | Description |
|---|---|---|
kind | string |
|
text | string | |
at | string (date-time) | |
iteration | integer | null | The iteration the run had reached when the note was written. |
session_id | Id |
RunEval
The held-out split of a run. The listed episodes of the training dataset were never trained on. Every checkpoint is scored on them.
| Field | Type | Description |
|---|---|---|
held_out | array of integer | Episode indices of the training dataset, ascending. |
episodes_total | integer | null | How many episodes the dataset has. |
every_steps | integer | null | Training steps between scored checkpoints. |
frames_per_episode | integer | null | Frames scored in each held-out episode, spread over it. |
RunCloud
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.
| Field | Type | Description |
|---|---|---|
job_name | string | The managed job's name, also the run's |
job_id | integer | null | SkyPilot's id for the managed job. |
placement | CloudPlacement | |
attempts | array of CloudAttempt |
RunDatasetExclusion
| Field | Type | Description |
|---|---|---|
dataset | string | The recipe's dataset ref, |
episodes | array of integer | |
files_digest | Sha256 |
RunCodeFileNote
A file the archive left out, and why.
| Field | Type | Description |
|---|---|---|
path | string | |
reason | string | One phrase, such as |
bytes | integer | null |
RunImportArtifacts
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.
| Field | Type | Description |
|---|---|---|
config_yaml | string | The RESOLVED training config, not the source template. |
metrics_summary | string | Metrics as text (CSV, JSONL tail, or a table). |
scorecard_json | object | null | Acceptance results; PASS rows become standing constraints. |
RunCodeIdentity
Which code a run trained from. A runner reads it from the git checkout it ran in. An importer sends it with the run.
| Field | Type | Description |
|---|---|---|
repo_url | string | null | The checkout's |
commit | string | The full commit id the run started from. |
branch | string | null | The branch checked out, or null for a detached head. |
dirty | boolean | True when tracked files had uncommitted changes. |
dirty_files | array of string | The tracked files with uncommitted changes, relative to the repo root. |
CloudPlacement
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.
| Field | Type | Description |
|---|---|---|
provider | string | |
instance_type | string | The cloud's instance type, e.g. |
accelerator | string | The GPU, in SkyPilot's name for it ( |
regions | array of string | The regions SkyPilot may launch it in, cheapest first. |
spot | boolean | |
image | string | The runner image ( |
expected_rate_usd_per_hour | number | USD per hour as billed in the cheapest region. |
ceiling_rate_usd_per_hour | number | 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, |
price_source | string | Where the price was read, and when. |
TrainingMethod
lora: adapters on a frozen base. full: every weight. rl: a simulator drives a small policy.
RecommendationBasis
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
The measured value the planner used, when basis is measured.
| Field | Type | Description |
|---|---|---|
tier | string | Tier the measurements came from ( |
batch_size | integer | |
peak_vram_gb | number | null | Highest peak reported so far. |
samples_per_s | number | null | Running mean of the reported throughput. |
n_runs | integer |
RecommendationInputs
The numbers the arithmetic multiplied, after defaults were applied.
| Field | Type | Description |
|---|---|---|
batch_size | integer |
|
cameras | integer | |
image_px | integer | The side of the square image the model actually sees (VLAs resize their inputs). |
chunk_size | integer | |
steps | integer |
RecommendationDataset
What the planner read out of the dataset's meta/info.json, when it could.
| Field | Type | Description |
|---|---|---|
ref | DatasetRef | |
cameras | array of object | |
key | string | |
width | integer | null | |
height | integer | null | |
fps | number | null | |
episodes | integer | null | |
frames | integer | null | |
state_dim | integer | null | |
action_dim | integer | null | |
robot_type | string | null |
RunConfigKey
| Field | Type | Description |
|---|---|---|
path | string | A flattened leaf path ( |
value | string | The leaf's value, rendered as text and elided past 200 characters. |
group | RunConfigGroupId | On |
RunConfigDiff
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).
| Field | Type | Description |
|---|---|---|
entries | array of RunConfigDiffEntry | |
changed_keys | integer | |
unchanged_keys | integer | |
truncated | integer | Changed keys beyond the first 120, not listed. |
comparison | string |
|
parent_has_no_record | integer |
|
child_has_no_record | integer |
|
RunConfigGroup
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).
| Field | Type | Description |
|---|---|---|
id | RunConfigGroupId | |
name | string | How a page titles it: |
counted | boolean | False for |
total | integer | |
parent_total | integer | null | The parent's keys in this group; null when there is no diff. |
compared | integer | |
changed | integer | |
unchanged | integer | |
parent_has_no_record | integer | |
child_has_no_record | integer | |
entries | array of RunConfigDiffEntry | The group's changed keys (same shape; added and removed keys included), in path order; |
unchanged_first | string | null | The first unchanged key by path, for a "first … last" summary line. |
unchanged_last | string | null | |
own_keys | array of RunConfigKey | This run's own keys and values in the group that were NOT compared with the parent. On a |
own_truncated | integer |
|
summary | string | null |
|
unchanged_summary | string | null | The group's unchanged keys as one line, by the same rule. On a |
RunConfigPair
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.
| Field | Type | Description |
|---|---|---|
group | RunConfigGroupId | |
parent_path | string | |
child_path | string | |
from | string | null | The parent's value, rendered; null when the parent lacks the key. |
to | string | null | This run's value, rendered (after the pair's conversion, e.g. |
changed | boolean | null | Null when either side lacks the key (the pair could not be compared). |
rule | string | null | How the two were made comparable, in one phrase. |
RunConfigDeclared
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.
| Field | Type | Description |
|---|---|---|
key | string | |
status | string | |
group | RunConfigGroupId | 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 |
summary | string | 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
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.
| Field | Type | Description |
|---|---|---|
state | string |
|
tree_bytes | integer | null | The stored tree's size, gzipped. |
tree_files | integer | null | |
tree_sha256 | Sha256 | null | |
patch_bytes | integer | null | |
patch_sha256 | Sha256 | null | |
deduplicated | boolean | True when an earlier run of the same owner had already archived this commit. |
tree_needed | boolean | True when the hub holds no tree for this commit yet. Send it with |
refused | array of RunCodeFileNote | Files left out because they looked like a credential. |
skipped | array of RunCodeFileNote | Files left out for size. |
note | string | null | One sentence when the archive is not whole. |
RunCodeGithub
The run's repo on GitHub. Links appear when a GitHub connection of the run's owner covers the repo.
| Field | Type | Description |
|---|---|---|
repo | string |
|
connected | boolean | |
repo_url | string (uri) | null (uri) | |
commit_url | string (uri) | null (uri) | |
compare_url | string (uri) | null (uri) | GitHub's compare page against the parent run's commit, when it has one. |
RunCodeDiffSide
| Field | Type | Description |
|---|---|---|
run_id | Id | |
name | string | null | |
commit | string | null | |
dirty | boolean | |
archived | boolean |
RunCodeDiffFile
| Field | Type | Description |
|---|---|---|
path | string | |
old_path | string | null | |
status | string | |
additions | integer | |
deletions | integer | |
patch | string | null | The unified diff of this file. Null for a binary file, or past the cap. |
truncated | boolean | |
uncommitted | boolean | True when the change comes from an uncommitted patch on either side. |
RunCodeEntry
| Field | Type | Description |
|---|---|---|
path | string | |
kind | string | |
bytes | integer | null |
RunCurveSpan
| Field | Type | Description |
|---|---|---|
first | number | |
last | number |
RunCurvesParent
The parent run whose series came along.
| Field | Type | Description |
|---|---|---|
run_id | Id | |
source | string |
|
lines | integer | |
vocabulary | string | |
iterations | RunCurveSpan | null | |
compare_at | number | 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
| Field | Type | Description |
|---|---|---|
key | string | The hub's name, the same for both vocabularies ( |
label | string | The series in words. |
kind | string | |
source_key | string | The name the logger wrote. |
unit | string | null |
|
values | string | null | For a reward term, whether the logged values include the term's weight. rsl_rl logs them weighted and the MuJoCo trainer unweighted. |
weight | number | null | The reward term's weight in this run's resolved config. |
weight_path | string | null | The config path the weight was read from. |
parent_weight | number | null | |
weight_changed | boolean | True when both weights are known and differ. |
limit | number | null | The episode time limit from the config, in this series' unit (an episode-length series only). |
points | integer | Logged points before decimation. |
downsample | string | |
t | array of number | Iterations. |
v | array of number | |
parent | RunCurveColumn | null | |
summary | RunCurveSummary |
RunCurveGateStep
RunCurvesMatter
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.
| Field | Type | Description |
|---|---|---|
at | number | The iteration compared. |
rows | array of RunCurvesMatterRow | |
sim_tests | RunCurvesMatterTests | null |
RunCurveFlag
A pattern worth a look, with the numbers that raised it.
| Field | Type | Description |
|---|---|---|
code | string | |
text | string | One sentence a person or an agent can read as is. |
step | integer | null | The iteration or checkpoint the pattern starts at. |
RunEvalPoint
| Field | Type | Description |
|---|---|---|
step | integer | |
action_error | number | null | |
worst_error | number | null |
RunEvalCheckpoint
| Field | Type | Description |
|---|---|---|
step | integer | |
action_error | number | null | |
worst_episode | RunEvalEpisode | null | |
episodes | array of RunEvalEpisode | |
horizon | integer | null | Steps of each predicted chunk that were compared. |
seconds | number | null | How long scoring this checkpoint took. |
RunEvalFailure
| Field | Type | Description |
|---|---|---|
step | integer | |
error | string |
RunEvalProgress
| Field | Type | Description |
|---|---|---|
step | integer | |
episodes_done | integer | |
episodes_total | integer | |
fraction | number |
ExperimentCardCreate
A round's experiment card, written before it trains.
| Field | Type | Description |
|---|---|---|
hypothesis | string | |
prediction | ExperimentPrediction |
RunForkChange
The one change a fork makes, as the hub mapped and checked it.
| Field | Type | Description |
|---|---|---|
path | string | The resolved-config path that changes. |
from | string | null | The parent's value, rendered: from its resolved config, else its recipe. |
to | string | The child's value, rendered. |
hyperparam | string | The hyperparameter that carries it, dotted ( |
group | string | The config group the path belongs to ( |
RunForkRefusal
| Field | Type | Description |
|---|---|---|
type | string | The machine code, as |
msg | string |
ComparedCheckpoint
| Field | Type | Description |
|---|---|---|
run_id | Id | |
step | integer | |
template | string | null | |
parent_run_id | string | null | |
published | boolean | The run's output repo lists |
sim_test | ComparedSimTest | null | The sim test that measured this checkpoint, or null. |
ComparedCell
| Field | Type | Description |
|---|---|---|
name | string | |
a | ComparedCellSide | null | |
b | ComparedCellSide | null | |
delta_pct | number | null | B's |
ComparedValue
| Field | Type | Description |
|---|---|---|
key | string | The hub's series name ( |
a | number | null | The last logged value at or before checkpoint A's iteration. |
b | number | null | |
delta | number | null | |
unweighted | boolean | The values exclude the reward weight, because both weights are known. |
weight_a | number | null | |
weight_b | number | null | |
change_score | number | null |
|
ComparedConfig
| Field | Type | Description |
|---|---|---|
comparison | string | null | |
changed | array of ComparedConfigEntry | The counted keys that differ, at most 60. |
changed_count | integer | |
unchanged | integer | |
bookkeeping | integer | Bookkeeping keys that differ by construction and are never counted. |
parent_has_no_record | integer | |
child_has_no_record | integer | |
reason | string | null | Why there is no diff (the same run, or a config missing). |
ComparedPrediction
| Field | Type | Description |
|---|---|---|
metric | string | |
direction | ExperimentPredictionDirection | |
value | number | null | |
measured | number | null | The metric at checkpoint B. |
baseline | number | null | The metric the prediction was scored against. |
baseline_kind | string | null |
|
baseline_step | integer | null | The parent checkpoint the baseline was measured on. |
hit | boolean | null | Null when it could not be scored. |
reason | string | null |
RunCheckpoint
| Field | Type | Description |
|---|---|---|
step | integer | |
path | string | The directory, e.g. |
files | array of RepoFileEntry | |
bytes | integer | |
published_at | string (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
A venv a job's runner built from the project's requirements. The hub keeps its digest, outside the cache that holds it.
RunReportStatus
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
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.
| Field | Type | Description |
|---|---|---|
iteration | integer | null | The newest iteration in |
total_iterations | integer | null | |
final_iteration | integer | null | |
start_iteration | integer | null | |
iterations_per_s | number | null | |
step_key | string | null |
HardwareTier
| Field | Type | Description |
|---|---|---|
tier | string | |
vram_gb | number | The GPU's memory in GB, as the training planner sizes a run against it ( |
rate_usd_per_hour | number | 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 ( |
description | string | |
isaac_lab | IsaacLabTierPrice | null | What an hour of an |
cloud | CloudTierPrice | 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 |
HostedExecution
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.
| Field | Type | Description |
|---|---|---|
allowance | HostedAllowance | null | The monthly hosted allowance every account outside |
configured | boolean | A Modal app is configured ( |
everyone | boolean |
|
owners | array of string | The owner handles (users or orgs) the hub hosts for, lower-case; empty when |
GithubCommit
| Field | Type | Description |
|---|---|---|
sha | string | |
message | string | |
author | string | null | |
committed_at | string (date-time) | null (date-time) | |
url | string (uri) | |
runs | array of GithubCommitRun | The runs you can see that trained from this commit. |
RunFacetBucket
| Field | Type | Description |
|---|---|---|
value | string | The filter value that selects this bucket ( |
count | integer |
CheckpointGateSpec
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.
| Field | Type | Description |
|---|---|---|
every_steps | integer | Gate the first checkpoint at or past each multiple of this. |
cadence | string | null | Which checkpoints at the |
stop_on_pass | boolean | 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 |
patience | integer | null | 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. |
battery | string | |
command_ranges | CommandRanges | null | The ranges a |
seeds | integer | |
delay | integer | Control steps of actuation delay ( |
executor | RolloutExecutor | null | Null means the run's own executor. |
tripwires | array of GateTripwire | |
video | VideoMode | null | What each gate rollout renders. Null keeps the default ( |
horizon_s | number | null | The seconds each seed runs, as the battery defines it for the run's robot ( |
cell_count | integer | null | How many cells the battery runs on the run's robot ( |
RunForkRecord
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.
| Field | Type | Description |
|---|---|---|
run_id | Id | |
checkpoint_step | integer | null | |
change | RunForkChange | |
card | RunForkCard | null |
JobSpec
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/.
| Field | Type | Description |
|---|---|---|
snapshot | Sha256 | The project, from |
image | JobImage | |
command | array of string | The program and its arguments, such as |
workdir | string | Where the command starts, relative to the project's root. A path that leaves the project is |
outputs | array of string | Directories, relative to |
env | map of string | Environment variables for the command. A name is upper case letters, digits and |
use_hf_token | boolean | Give the command the owner's Hugging Face token as |
large_host | boolean | Only for |
GateVerdict
A cell's verdict under the harness rule.
CloudAttempt
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.
| Field | Type | Description |
|---|---|---|
started_at | string (date-time) | When this VM claimed the run. |
ended_at | string (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. |
provider | string | |
region | string | null | Null until SkyPilot names the region. |
zone | string | null | The zone SkyPilot reports for the VM ( |
instance_type | string | |
spot | boolean | |
rate_usd_per_hour | number | USD per hour as billed for this attempt, the instance's price × 1.1. |
basis | string | What the price is. The region comes only from SkyPilot's record of the job. |
source | string | Where the price was read, and when. |
RunConfigGroupId
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
| Field | Type | Description |
|---|---|---|
path | string | |
kind | string | |
from | string | null | The parent's value; null when the key is absent there. |
to | string | null | This run's value; null when the key is absent here. |
in_declared_change | boolean | null | For a campaign round's run: |
group | string | null | The |
parent_path | string | null | On a |
RunCurveColumn
One series as two columns of equal length.
| Field | Type | Description |
|---|---|---|
source_key | string | |
points | integer | Logged points before decimation. |
t | array of number | Iterations. |
v | array of number |
RunCurveSummary
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).
| Field | Type | Description |
|---|---|---|
last | number | null | |
last_at | number | null | |
min | number | null | |
max | number | null | |
slope | number | null | |
window_from | number | null | |
window_to | number | null | |
window_points | integer | |
change_in_window | number | null |
|
plateau | boolean | null |
|
compare_at | number | null | The last iteration both this run and the parent logged this series at. |
value_at | number | null | This run's value at |
parent_at | number | null | The parent's value at |
delta_vs_parent | number | null |
|
unweighted_last | number | null | A reward term's last value without its weight. |
unweighted_value_at | number | null | A reward term's value at |
unweighted_parent_at | number | null | The parent's value at |
change_score | number | null | How much a reward term moved against the parent, from 0 to 2. It is the change at |
RunCurvesMatterRow
| Field | Type | Description |
|---|---|---|
key | string | |
label | string | |
run | number | null | |
parent | number | null | |
unit | string | null |
RunCurvesMatterTests
| Field | Type | Description |
|---|---|---|
step | integer | The checkpoint compared. |
run_passed | integer | null | |
run_total | integer | null | |
parent_passed | integer | null | |
parent_total | integer | null |
RunEvalEpisode
| Field | Type | Description |
|---|---|---|
index | integer | |
error | number | null | |
frames | integer | null | Frames scored. |
length | integer | null | Frames in the episode. |
ExperimentPrediction
| Field | Type | Description |
|---|---|---|
metric | string |
|
direction | ExperimentPredictionDirection | |
value | number | null | The number predicted. With |
ComparedSimTest
ComparedCellSide
| Field | Type | Description |
|---|---|---|
status | GateVerdict | null | |
measured_pct | number | null | |
measured_ratio | string | null |
ComparedConfigEntry
| Field | Type | Description |
|---|---|---|
path | string | |
from | string | null | |
to | string | null | |
group | string |
ExperimentPredictionDirection
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
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.
| Field | Type | Description |
|---|---|---|
rate_usd_per_hour | number | USD per hour as billed, with the default host of 2 cores and 8 GiB. |
rate_large_host_usd_per_hour | number | USD per hour as billed with |
advice | IsaacLabAdvice | null | Null when this tier was not measured for Isaac Lab 3. |
note | string | One sentence a GPU picker can show. |
CloudTierPrice
What an hour of a tier costs on the cloud, as billed: the instance's price × 1.1 in its cheapest region.
| Field | Type | Description |
|---|---|---|
provider | string | |
instance_type | string | |
on_demand_rate_usd_per_hour | number | |
spot_rate_usd_per_hour | number | null | Null when the instance has no spot market in its regions. |
price_source | string |
HostedAllowance
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.
| Field | Type | Description |
|---|---|---|
limit_usd | number | |
cpu_only | boolean | |
work | array of string | What the allowance covers, by name. |
viewer | HostedAllowanceUsage | null | The caller's own account this month; null when anonymous, or when the caller is in |
GithubCommitRun
| Field | Type | Description |
|---|---|---|
id | Id | |
name | string | null |
CommandRanges
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.
| Field | Type | Description |
|---|---|---|
vx | array of number | |
vy | array of number | |
yaw | array of number | |
joint | array of number | Fixed base only. Joint targets, |
ee | array of number | Fixed base only. End-effector targets, |
RolloutExecutor
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
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.
| Field | Type | Description |
|---|---|---|
metric | string | |
op | string | |
threshold | number | |
from_step | integer | |
consecutive | integer |
VideoMode
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
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.
| Field | Type | Description |
|---|---|---|
hypothesis | string | |
prediction | ExperimentPrediction |
JobImage
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
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
| Field | Type | Description |
|---|---|---|
account | string | |
used_usd | number | Settled spend this month (ledger rows of finished hosted jobs). |
reserved_usd | number | The most the account's queued and running hosted jobs can still cost. |
remaining_usd | number | |
period_start | string (date-time) | |
resets_at | string (date-time) |