Skip to content
Docs menu

robots

Robot-kind repo extras: robot card

13 operations · 43 schemas

GET /v1/robots/{owner}/{repo}/card

Get a robot card

getRobotCard · scope none

Returns the structured robot description of a robot-kind repo: DOF, actuators, mass, limits and MJCF pointer. Answers 404 until a card is set. Returns a 409 problem if the repo kind is not robot.

Parameters

getRobotCard parameters
NameInTypeDescription
ownerrequiredpathHandle

Repo owner handle (username or org slug).

reporequiredpathSlug

Repo slug. A renamed repo's former slug also finds it, and the answer names its current address.

Responses

getRobotCard responses
StatusDescriptionBody
200

The robot card.

RobotCard
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
409

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

Problemapplication/problem+json

PUT /v1/robots/{owner}/{repo}/card

Set a robot card

putRobotCard · scope key:write

Replaces the robot card on a robot-kind repo in full. mjcf_path is the repo-relative path of the MJCF file. Upload it via the files endpoints first. Returns a 409 problem if the repo kind is not robot. The hub checks what it stores. Each of these is a 422:

  • a mjcf_path that is not a file of this repo
  • an MJCF that does not parse
  • referenced assets or includes missing from the repo
  • interface.joint_order names that are not 1-DoF joints of the MJCF
  • an interface.base that contradicts the model's free joint

The 422's errors[] carry the same code (as type) that validateRobot reports. The hub rejects the card with the reason and does not repair it.

Where the hub draws stills (getCapabilities.studio_stills), a stored card whose still is not current queues the hub's render. The response then carries stills.status: queued. A card that names its own stills without a render_key is never drawn over.

Parameters

putRobotCard parameters
NameInTypeDescription
ownerrequiredpathHandle

Repo owner handle (username or org slug).

reporequiredpathSlug

Repo slug. A renamed repo's former slug also finds it, and the answer names its current address.

Request body

application/json · required · RobotCardPut

putRobotCard request body
FieldTypeDescription
dofrequiredinteger

≥ 0

actuatorsrequiredarray of Actuator
mass_kgnumber | null

> 0

limitsmap of JointLimits | null
mjcf_pathFilePath | null
description_mdstring | null

length ≤ 65536

interfaceEmbodimentInterface | null

Omit or null to store a card without one. When limits is given, every joint_order name must be one of its keys (422 otherwise).

validationRobotValidationRecord | null

The report lucen robot validate produced for exactly these files, stored verbatim beside the card. Omit or null to store none. The hub does not verify a mujoco record; it is shown as the publisher's report, dated.

thumbnail_pathsRobotThumbnailPaths | null

Both paths must already be files of this repo, with a .png, .jpg, .jpeg or .webp suffix (card.thumbnails, 422 otherwise). The hub never opens them. PUT is a full replace, so a card sent without it clears it. lucen robot publish renders thumbnail.png / thumbnail-dark.png and sends them, unless the hub draws them itself (getCapabilities.studio_stills). Then a card sent without stills queues the hub's render (RobotCard.stills). A motion clip's four files must also be files of this repo, a .webm and an .mp4 per theme, and a walk must name its policy.

provenanceRobotProvenance | null

Omit or null to store a card that declares no provenance. PUT is a full replace, so a card sent without it clears it.

hardwareRobotHardware | null

Omit or null to store a card that declares no hardware. PUT is a full replace, so a card sent without it clears it. Stored as declared; the firmware minimum is what the deploy gate holds a connected robot's reported firmware to.

default_policystring | null

length ≤ 129 · pattern ^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$

Omit or null to name none. The hub stores the name and does not look it up, so a card may name a policy published later. PUT is a full replace, so a card sent without it clears it.

isaac_tasksRobotIsaacTasks | null

Omit or null to name none. PUT is a full replace, so a card sent without it clears it.

Responses

putRobotCard responses
StatusDescriptionBody
200

Stored robot card.

RobotCard
401

Missing or invalid credentials.

Problemapplication/problem+json
403

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

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
409

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

Problemapplication/problem+json
422

Request failed validation.

Problemapplication/problem+json

GET /v1/robots/{owner}/{repo}/interface.json

Download the robot's interface as the file its fingerprint hashes

getRobotInterfaceFile · scope none

The card's interface block as one JSON file: keys sorted, no whitespace, UTF-8. These are the exact bytes whose sha256 is the card's interface_fingerprint, so sha256sum interface.json on the download reproduces it. The response is sent as an attachment named interface.json, and its ETag is the fingerprint. Answers 404 for a repo you cannot see, a repo with no card, and a card that declares no interface. Returns a 409 problem if the repo kind is not robot.

Parameters

getRobotInterfaceFile parameters
NameInTypeDescription
ownerrequiredpathHandle

Repo owner handle (username or org slug).

reporequiredpathSlug

Repo slug. A renamed repo's former slug also finds it, and the answer names its current address.

Responses

getRobotInterfaceFile responses
StatusDescriptionBody
200

The canonical interface file.

EmbodimentInterface
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
409

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

Problemapplication/problem+json

POST /v1/robots/{owner}/{repo}/validate

Validate a robot card against the repo's MJCF, without writing

validateRobot · scope key:read

Returns the report an agent iterates against before putRobotCard. It checks:

  • Is mjcf_path a file of this repo?
  • Does it parse?
  • Is every asset it references (and every <include>) in the repo?
  • Is every interface.joint_order name a 1-DoF joint of the model?
  • Does interface.base agree with the presence of a free joint?

card is the candidate: the body of a putRobotCard you have not sent yet. Omit it, or send null, to validate the stored card. Nothing is written. The answer is 200 whether or not the card is good: ok and each check's status say which. A candidate that the RobotCardPut schema itself refuses comes back as card.schema failures in the same report. It does not come back as a 422. The checks are static: hardened XML parsing only, and the server never runs MuJoCo. lucen robot validate adds the dynamic ones on the user's machine and reports in the same shape. Every fail here is a 422 from putRobotCard, with the same code as the error's type. A repo the caller cannot see is 404. The API does not answer 403 for it. Answers 409 if the repo kind is not robot, and 404 when card is omitted and no card is stored.

Parameters

validateRobot parameters
NameInTypeDescription
ownerrequiredpathHandle

Repo owner handle (username or org slug).

reporequiredpathSlug

Repo slug. A renamed repo's former slug also finds it, and the answer names its current address.

Request body

application/json · RobotValidateRequest

validateRobot request body
FieldTypeDescription
cardRobotCardPut | null

Responses

validateRobot responses
StatusDescriptionBody
200

The validation report (for a good card and a bad one alike).

RobotValidationReport
401

Missing or invalid credentials.

Problemapplication/problem+json
403

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

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
409

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

Problemapplication/problem+json
422

Request failed validation.

Problemapplication/problem+json
503

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

Problemapplication/problem+json

GET /v1/robots/{owner}/{repo}/routes

The ways this robot could learn a goal, ranked

getTrainingRoutes · scope key:read

Answers "how could this robot learn this?" before anything is planned. Nothing is written or spent.

The branch comes from the robot card. A fixed base takes manipulation. A floating base takes locomotion. The goal's words pick the skill.

Each route says why it ranks where it does, what it would cost and take, whether this hub can run it, and what it needs from a person:

  • sim: reinforcement learning in simulation, scored by the hub's sim tests. It trains walking, standing and recovery on a floating base, and reaching and holding on a fixed base (an arm). A goal with an object (pick, place, push, open) has no sim test: sim is unavailable and says so, and the data routes are offered.
  • existing_data: datasets that fit the robot and the goal. The hub searches the caller's datasets, public datasets on this hub, and the LeRobot datasets it lists from Hugging Face.
  • your_demos: demonstrations a person records, with the commands.
  • existing_data_and_demos: some data found, plus demonstrations to record.
  • video_to_motion: a clip of a person doing the move, learned as a motion. It is available where the deployment sets VIDEO_MOTION_ENABLED and the card can express a body motion: two legs, or arms. Its next_operation is createMotionJob.

generated_scene and world_model are always listed with available: false. searched says what the dataset search covered. A robot the caller cannot see is 404. A repo that is not a robot is 409.

The sim route is described for the account a campaign would be for: campaign_owner, else the caller. Where it trains and what it costs follow that account, as planCampaign with the same owner would. An owner the caller cannot create a campaign for is 403.

Parameters

getTrainingRoutes parameters
NameInTypeDescription
ownerrequiredpathHandle

Repo owner handle (username or org slug).

reporequiredpathSlug

Repo slug. A renamed repo's former slug also finds it, and the answer names its current address.

goalrequiredquerystring

length 1–500

What the robot should learn, in one sentence.

campaign_ownerqueryHandle

The account a campaign would be for (planCampaign's owner). Defaults to the caller.

Responses

getTrainingRoutes responses
StatusDescriptionBody
200

The routes, best first.

TrainingRoutes
401

Missing or invalid credentials.

Problemapplication/problem+json
403

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

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
409

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

Problemapplication/problem+json
422

Request failed validation.

Problemapplication/problem+json

GET /v1/robot-checks

List hosted robot checks

listRobotChecks · scope key:read

Lists the checks the caller can see, newest first. These are the checks they created and the checks on a robot repo they can write. A lucen robot worker polls this with status=queued&executor=worker. No check is public.

Parameters

listRobotChecks parameters
NameInTypeDescription
robot_repoquerystring

length ≤ 130

owner/slug of the robot repo.

statusqueryJobStatus
executorqueryRobotCheckJobExecutor
limitqueryinteger

default 20 · ≥ 1 · ≤ 100

Page size.

cursorquerystring

length ≤ 512

Opaque cursor from the previous page's next_cursor.

Responses

listRobotChecks responses
StatusDescriptionBody
200

A page of checks.

RobotCheckJobPage
401

Missing or invalid credentials.

Problemapplication/problem+json
422

Request failed validation.

Problemapplication/problem+json

POST /v1/robot-checks

Queue a hosted check of a robot repo's model

createRobotCheck · scope key:write

The hub never runs MuJoCo, so a job checks a robot someone uploaded in the browser. The job pulls the repo and runs the CLI's own lucen robot init on entry. It uses exactly the answers given here. No defaults are filled in: control_hz and action always need an answer, and base does for a URDF. The job then runs lucen robot validate. It uploads the draft card, the report, and the converted MJCF when entry is a URDF. Nothing is written to the repo until a person calls publishRobotCheck.

The repo must be a robot repo the caller can write. An invisible one is 404, a visible one you cannot write is 403, and the wrong kind is 409. entry must be one of its files (422). The file list is snapshotted now (path, sha256, size). The job checks exactly those bytes, and publishing refuses once any of them changed. With executor omitted, the check uses the hub's hosted executor (modal) when this deployment has one. Otherwise it uses worker: a lucen robot worker the owner runs. modal on a deployment without it is 503, and nothing is recorded. A check is unpriced CPU (priced: false). Each account may create ROBOT_CHECK_DAILY_QUOTA of them a day (429 with Retry-After and X-Robot-Check-Quota-*). An account here is a user, across all their keys and sessions.

Hosted execution. The hosted executor runs for owners in the deployment's HOSTED_OWNERS (default lucen; * = everyone). For every other account, it runs inside the account's monthly hosted allowance (HOSTED_ALLOWANCE_USD, HardwareTierList.hosting.allowance). For these accounts, an omitted executor means modal while the check's reservation fits the allowance, else worker. An explicit modal that does not fit is 403 (forbidden.hosted_allowance, naming what is left and when it resets). With the allowance at 0, it is 403 (forbidden.hosted_owner). A hosted check is billed at the robot_check function's CPU host from claim to finish (cost_usd, one ledger row).

A model check (kind: model). The same job, for a policy:

  • model.repo is a model repo the caller can write (the private draft).
  • robot_repo is the robot it is checked against (read access). When it is omitted, the job only READS the policy: its stamp, graph widths, an import's revision, size and parameter count. A robot can then be suggested from the stamp (listRepos?interface_fingerprint=) before anything is checked or copied.
  • entry is either an ONNX in the draft or a checkpoint directory (lucen_manifest.json + policy/, or a LeRobot config.json + model.safetensors).
  • Instead of entry, the body may carry model.hf_repo (org/name[@revision]). The job fetches that public LeRobot policy from Hugging Face over HTTPS. The download is size-capped, and its revision and licence are recorded.

The job reads the policy's stamped contract and checks it against the robot's interface. The result is intake.embodiment: match, mismatch with the differing fields, or unstamped. For an unstamped policy, it derives the contract from the interface with the one lucen model stamp implementation. It asks only for what the robot cannot know (model.obs and model.control_class). A missing answer is a blocking needs_you. The report's codes are manifest.stamped, onnx.shapes, contract.joint_order, contract.action, contract.observation, contract.rate and embodiment.fingerprint (plus source.hf for an import). Each has a one-sentence message and a data.verdict (match, mismatch, stamped, derived). Publish (publishRobotCheck) links the (stamped) files into the draft, or into repo, created for the caller. It sets the model's meta (robot, control class, embodiment fingerprint). With smoke, it also queues the smoke sim gate as the publisher.

Request body

application/json · required · RobotCheckJobCreate

createRobotCheck request body
FieldTypeDescription
kindRobotCheckKind
robot_repostring

length ≤ 130 · pattern ^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$

owner/slug of a robot repo. A robot check requires it, and the caller must be able to write the repo. For a model check, the caller must be able to read it. It is then the robot the policy is checked against. If it is omitted, a model check only reads.

modelModelCheckRequest | null

Required for kind: model, refused otherwise.

entryFilePath | null

A robot check: the model file (required). A model check: the ONNX or checkpoint directory in model.repo (required unless model.hf_repo).

basestring | null

Required when entry is a URDF (.urdf): a URDF cannot say whether the base is bolted down. For an MJCF it is read from the model and this only asserts it.

control_hznumber | null

> 0 · ≤ 2000

The rate policies run at on the REAL robot (--control-hz). No model file says it. Required for a robot check.

actionRobotCheckJobAction | null

Required for a robot check.

optionsRobotCheckJobOptions | null
executorRobotCheckJobExecutor | null

Null or absent means modal when this deployment has it and the hub may host the owner (HOSTED_OWNERS, or the hosted allowance). Otherwise it means worker.

dropRobotCheckJobDrop | null

Responses

createRobotCheck responses
StatusDescriptionBody
201

Check queued.

RobotCheckJob
401

Missing or invalid credentials.

Problemapplication/problem+json
403

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

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
409

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

Problemapplication/problem+json
422

Request failed validation.

Problemapplication/problem+json
429

This account's daily check quota is spent. Or a hosted check was asked for and the account's spend cap stops new hosted work this month (errors[].type is quota.spend_cap).

Problemapplication/problem+json
503

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

Problemapplication/problem+json

GET /v1/robot-checks/{check_id}

Get a hosted robot check

getRobotCheck · scope key:read

Returns the check's status and the tail of the job's log. Once the job finished, it also returns:

  • the report (engine: mujoco, the CLI's shape and codes);
  • the draft (the model's facts, needs_you with severities, the card the hub read back from the uploaded robot_card.json);
  • the artifacts, with presigned 1-hour downloads;
  • whether it can be published (publish_blockers).

Visible to its creator and to anyone who can write the robot repo. Any other caller gets 404.

Parameters

getRobotCheck parameters
NameInTypeDescription
check_idrequiredpathId

Hosted robot check id (rchk_...).

Responses

getRobotCheck responses
StatusDescriptionBody
200

The check.

RobotCheckJob
401

Missing or invalid credentials.

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json

POST /v1/robot-checks/{check_id}/claim

Claim a queued check (robot check worker protocol)

claimRobotCheck · scope key:write

Compare-and-set queued → running, exactly like claimRollout. One caller wins, and everyone else gets 409 naming the holder. Records the claiming credential. presignRobotCheckArtifacts and reportRobotCheck are 409 from any other credential. The response is the check with sources: the snapshot's files, with presigned 1-hour GETs of exactly the bytes that were snapshotted. So the job needs no access to the repo at all. It never reads the repo through the repo's routes and can never write to it. There is no lease. A dead worker leaves the check running until someone cancels it.

Parameters

claimRobotCheck parameters
NameInTypeDescription
check_idrequiredpathId

Hosted robot check id (rchk_...).

Request body

application/json · required · RobotCheckJobClaim

claimRobotCheck request body
FieldTypeDescription
workerrequiredstring

length 1–128

A name for the worker, recorded as claimed_by.

Responses

claimRobotCheck responses
StatusDescriptionBody
200

Claimed; the check with its sources.

RobotCheckJob
401

Missing or invalid credentials.

Problemapplication/problem+json
403

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

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
409

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

Problemapplication/problem+json
422

Request failed validation.

Problemapplication/problem+json

POST /v1/robot-checks/{check_id}/artifacts

Presign uploads for a running check's artifacts

presignRobotCheckArtifacts · scope key:write

One presigned PUT per artifact under robot-checks/{check_id}/files/ (outside the content-addressed blobs/ prefix). name is the repo path the artifact would take if the check is published. Only four kinds are accepted:

  • robot_card.json;
  • the MJCF converted from a URDF entry (the entry with an .xml suffix);
  • meshes under meshes/;
  • the two stills thumbnail.png / thumbnail-dark.png (publish sets thumbnail_paths only when both were reported).

Only a running check may presign, and only the credential that claimed it (409 otherwise). URLs live 1 h.

Parameters

presignRobotCheckArtifacts parameters
NameInTypeDescription
check_idrequiredpathId

Hosted robot check id (rchk_...).

Request body

application/json · required · RobotCheckJobArtifactsRequest

presignRobotCheckArtifacts request body
FieldTypeDescription
filesrequiredarray of RobotCheckJobArtifactRequest

items 1–100

Responses

presignRobotCheckArtifacts responses
StatusDescriptionBody
200

One presigned PUT per requested artifact.

RobotCheckJobArtifactsResponse
401

Missing or invalid credentials.

Problemapplication/problem+json
403

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

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
409

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

Problemapplication/problem+json
422

Request failed validation.

Problemapplication/problem+json

POST /v1/robot-checks/{check_id}/report

Report progress or the result of a claimed check

reportRobotCheck · scope key:write

This is the worker's one write path after claimRobotCheck. The check must be running, and the caller must be the credential that claimed it (409 otherwise). log_chunk (≤ 256 KiB) is stored under robot-checks/{id}/logs/ and appended to the row's log tail. The terminal succeeded report carries the report (the CLI's, engine: mujoco), the draft summary and the artifacts it uploaded. The hub then hashes every artifact itself and reads robot_card.json back (≤ 1 MiB, a JSON object). This pins what a person later publishes to the bytes that were checked. succeeded means the job produced a verdict. A model that fails to compile is a succeeded check whose report fails. failed means the job itself broke. A named artifact that was never uploaded, or is not one of the four accepted kinds, is 422.

Parameters

reportRobotCheck parameters
NameInTypeDescription
check_idrequiredpathId

Hosted robot check id (rchk_...).

Request body

application/json · required · RobotCheckJobReport

reportRobotCheck request body
FieldTypeDescription
statusRobotCheckJobReportStatus | null
log_chunkstring | null

length ≤ 262144

Output since the last report, ≤ 256 KiB of UTF-8.

errorstring | null

length ≤ 4000

Why the job broke; expected with status: failed.

reportRobotValidationReport | null

The verdict, engine: mujoco. Required with status: succeeded.

draftRobotCheckJobDraftIn | null
artifactsarray of RobotCheckJobArtifactRef

items ≤ 256

The artifacts uploaded through presignRobotCheckArtifacts, by name.

engineobject | null

mujoco version, the worker's name.

intakeModelIntake | null

A model check's findings. Required with status: succeeded for kind: model.

Responses

reportRobotCheck responses
StatusDescriptionBody
200

Recorded; the check as it now stands.

RobotCheckJob
401

Missing or invalid credentials.

Problemapplication/problem+json
403

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

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
409

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

Problemapplication/problem+json
413

A log chunk is over its size limit.

Problemapplication/problem+json
422

Request failed validation.

Problemapplication/problem+json

POST /v1/robot-checks/{check_id}/publish

Publish a check's draft card into the robot repo, as the caller

publishRobotCheck · scope key:write

Links the check's artifacts into the robot repo and stores the drafted card, with the job's report as its validation record. Both happen under the caller's principal. Only a person (or a key acting for them) does this. The job never does. write on the robot repo is required (403 otherwise; 404 if the check or the repo is invisible). The key that claimed the check is 403 even with write, because a person publishes what a worker proposed.

The hub copies each artifact into content-addressed storage and hashes the copy. A digest that differs from the one the hub recorded at the terminal report is 409. This keeps the linked bytes equal to the bytes that were checked. The card then goes through putRobotCard's own static checks. If they refuse it, the answer is 422 with their reasons, and nothing is linked.

409 also when:

  • the check is not succeeded;
  • it was already published;
  • its report failed;
  • its draft lists a blocking needs_you item;
  • a snapshotted file of the repo changed since the check was queued. Any edit means a new check;
  • an artifact would replace a file Lucen certified;
  • visibility: private would hide a repo robots fetch a certified file from (the rule of updateRepo).

Only a certifier may publish into the repo that holds Lucen's certification list (403).

visibility in the body is applied to the repo last and audited as a repo.update. The browser upload creates the repo private.

Parameters

publishRobotCheck parameters
NameInTypeDescription
check_idrequiredpathId

Hosted robot check id (rchk_...).

Request body

application/json · RobotCheckJobPublish

publishRobotCheck request body
FieldTypeDescription
visibilityVisibility | null
repostring | null

length ≤ 130 · pattern ^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$

A model check only: publish into this model repo instead of the draft. The repo is created for the caller when it does not exist. The caller must be able to create under that owner. 409 when it exists and holds files. The draft is left as it was.

smokeboolean

default false

A model check only: after publishing, queue the smoke sim gate of the model on the checked robot, as the caller. It runs on CPU, under every rollout rule and the hosted allowance.

Responses

publishRobotCheck responses
StatusDescriptionBody
200

Published; the check with published filled in.

RobotCheckJob
401

Missing or invalid credentials.

Problemapplication/problem+json
403

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

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
409

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

Problemapplication/problem+json
422

Request failed validation.

Problemapplication/problem+json
503

Either a service this endpoint needs is not configured, or the hub cannot read Lucen's certification list right now. Nothing was changed.

Problemapplication/problem+json

POST /v1/robot-checks/{check_id}/cancel

Cancel a hosted robot check

cancelRobotCheck · scope key:write

A queued or running check becomes canceled in this request. A modal check's call is terminated first (502 if Modal refuses, and nothing changes). A worker check's worker learns on its next report (409). A terminal check is 409.

Parameters

cancelRobotCheck parameters
NameInTypeDescription
check_idrequiredpathId

Hosted robot check id (rchk_...).

Responses

cancelRobotCheck responses
StatusDescriptionBody
202

Canceled; the check as it now stands.

RobotCheckJob
401

Missing or invalid credentials.

Problemapplication/problem+json
403

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

Problemapplication/problem+json
404

Resource not found (or hidden from the caller).

Problemapplication/problem+json
409

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

Problemapplication/problem+json
502

Modal refused to terminate the call; nothing changed.

Problemapplication/problem+json

Schemas (43)

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

RobotCardPut

object

RobotCardPut fields
FieldTypeDescription
dofrequiredinteger

≥ 0

actuatorsrequiredarray of Actuator
mass_kgnumber | null

> 0

limitsmap of JointLimits | null
mjcf_pathFilePath | null
description_mdstring | null

length ≤ 65536

interfaceEmbodimentInterface | null

Omit or null to store a card without one. When limits is given, every joint_order name must be one of its keys (422 otherwise).

validationRobotValidationRecord | null

The report lucen robot validate produced for exactly these files, stored verbatim beside the card. Omit or null to store none. The hub does not verify a mujoco record; it is shown as the publisher's report, dated.

thumbnail_pathsRobotThumbnailPaths | null

Both paths must already be files of this repo, with a .png, .jpg, .jpeg or .webp suffix (card.thumbnails, 422 otherwise). The hub never opens them. PUT is a full replace, so a card sent without it clears it. lucen robot publish renders thumbnail.png / thumbnail-dark.png and sends them, unless the hub draws them itself (getCapabilities.studio_stills). Then a card sent without stills queues the hub's render (RobotCard.stills). A motion clip's four files must also be files of this repo, a .webm and an .mp4 per theme, and a walk must name its policy.

provenanceRobotProvenance | null

Omit or null to store a card that declares no provenance. PUT is a full replace, so a card sent without it clears it.

hardwareRobotHardware | null

Omit or null to store a card that declares no hardware. PUT is a full replace, so a card sent without it clears it. Stored as declared; the firmware minimum is what the deploy gate holds a connected robot's reported firmware to.

default_policystring | null

length ≤ 129 · pattern ^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$

Omit or null to name none. The hub stores the name and does not look it up, so a card may name a policy published later. PUT is a full replace, so a card sent without it clears it.

isaac_tasksRobotIsaacTasks | null

Omit or null to name none. PUT is a full replace, so a card sent without it clears it.

RobotValidateRequest

object

What to validate. card is a candidate RobotCardPut; null or absent means the card already stored on the repo.

RobotValidateRequest fields
FieldTypeDescription
cardRobotCardPut | null

RobotValidationReport

object

RobotValidationReport fields
FieldTypeDescription
okrequiredboolean

True when no check failed.

graderequiredstring

one of pass · warn · fail

The worst status among the checks that ran.

sourcerequiredstring

one of candidate · stored

enginerequiredstring

one of static · mujoco

static from the hub (XML only); mujoco from lucen robot validate, which compiles the model and adds the dynamic checks.

mjcf_pathstring | null
interface_fingerprintstring | null

pattern ^[0-9a-f]{64}$

What the card's interface hashes to (null without one, or if it is invalid).

modelRobotModelSummary | null
checksrequiredarray of RobotValidationCheck

items ≤ 128

TrainingRoutes

object

The ways a robot could learn a goal, ranked. Nothing was recorded.

TrainingRoutes fields
FieldTypeDescription
robotrequiredstring

The robot repo, owner/slug.

goalrequiredstring
branchrequiredTrainingBranch | null

Null when the card declares no interface, so its base is unknown.

branch_reasonrequiredstring

Why this branch, read from the robot card.

taskstring | null

The skill a sim campaign would train (walk, omni, stand or recovery). Null when no sim task fits the goal.

routesrequiredarray of TrainingRoute

Available routes first, best first. Then the unavailable ones.

searchedrequiredarray of string

What the dataset search covered, one line per place.

relatedarray of TrainingRouteDataset

Up to ten datasets whose words match the goal but which were recorded on other robots. Their actions do not fit this robot, so no route trains on them.

warningsrequiredarray of string

RobotCheckJobExecutor

string

one of worker · modal

Where a hosted robot check runs. worker: it waits queued for a lucen robot worker the owner runs. modal: the hub spawns the app's robot_check function (the CPU rollout image) after the commit. This needs a deployment that names a deployed Modal app (MODAL_APP_NAME). The container claims and reports like any worker, with a key minted for the check. modal is billed at the function's CPU host from claim to finish. worker is unpriced.

RobotCheckJobPage

object

RobotCheckJobPage fields
FieldTypeDescription
itemsrequiredarray of RobotCheckJob
next_cursorrequiredstring | null

RobotCheckJobCreate

object

RobotCheckJobCreate fields
FieldTypeDescription
kindRobotCheckKind
robot_repostring

length ≤ 130 · pattern ^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$

owner/slug of a robot repo. A robot check requires it, and the caller must be able to write the repo. For a model check, the caller must be able to read it. It is then the robot the policy is checked against. If it is omitted, a model check only reads.

modelModelCheckRequest | null

Required for kind: model, refused otherwise.

entryFilePath | null

A robot check: the model file (required). A model check: the ONNX or checkpoint directory in model.repo (required unless model.hf_repo).

basestring | null

Required when entry is a URDF (.urdf): a URDF cannot say whether the base is bolted down. For an MJCF it is read from the model and this only asserts it.

control_hznumber | null

> 0 · ≤ 2000

The rate policies run at on the REAL robot (--control-hz). No model file says it. Required for a robot check.

actionRobotCheckJobAction | null

Required for a robot check.

optionsRobotCheckJobOptions | null
executorRobotCheckJobExecutor | null

Null or absent means modal when this deployment has it and the hub may host the owner (HOSTED_OWNERS, or the hosted allowance). Otherwise it means worker.

dropRobotCheckJobDrop | null

RobotCheckJob

object

RobotCheckJob fields
FieldTypeDescription
idrequiredId
kindrequiredRobotCheckKind
statusrequiredJobStatus
robot_reporequiredRepoRef | null

The robot. Null for a model check that only reads.

model_repoRepoRef | null

A model check's draft repo; publishing writes there unless repo names another.

modelModelCheckRequest | null

A model check's request, as given.

intakeModelIntake | null
entryrequiredFilePath
basestring | null
control_hzrequirednumber | null

Null for a model check.

actionrequiredRobotCheckJobAction | null

Null for a model check.

optionsRobotCheckJobOptions | null
executorrequiredRobotCheckJobExecutor
created_byUserPublic | null
created_atrequiredstring (date-time)
started_atstring (date-time) | null (date-time)
finished_atstring (date-time) | null (date-time)
claimed_bystring | null
claimed_atstring (date-time) | null (date-time)
heartbeat_atstring (date-time) | null (date-time)
modal_call_idstring | null
dispatched_atstring (date-time) | null (date-time)
errorstring | null
sources_countinteger

Files in the snapshot.

sources_bytesinteger

Their total size.

dropRobotCheckJobDrop | null
sourcesarray of RobotCheckJobSource | null

The snapshot, with presigned GETs. Only the claim response carries it.

log_tailstring | null

The last ≤ 64 KiB of the job's log.

reportRobotValidationReport | null
draftRobotCheckJobDraft | null
engineobject | null
artifactsrequiredarray of RobotCheckJobArtifactOut
publish_blockersrequiredarray of string

Why Publish would be refused right now, one sentence each. Empty means it would go through (the hub's static checks still run).

publishedRobotCheckJobPublished | null
pricedrequiredboolean

True for a modal check (billed at the robot_check function's CPU host, claim to finish); false for a worker check.

cost_usdnumber | null

What a finished modal check cost; null until it finishes, and for worker.

RobotCheckJobClaim

object

RobotCheckJobClaim fields
FieldTypeDescription
workerrequiredstring

length 1–128

A name for the worker, recorded as claimed_by.

RobotCheckJobArtifactsRequest

object

RobotCheckJobArtifactsRequest fields
FieldTypeDescription
filesrequiredarray of RobotCheckJobArtifactRequest

items 1–100

RobotCheckJobArtifactsResponse

object

RobotCheckJobArtifactsResponse fields
FieldTypeDescription
uploadsrequiredarray of RobotCheckJobArtifactUpload

RobotCheckJobReport

object

One progress or terminal report from a robot check worker. Every field is optional.

RobotCheckJobReport fields
FieldTypeDescription
statusRobotCheckJobReportStatus | null
log_chunkstring | null

length ≤ 262144

Output since the last report, ≤ 256 KiB of UTF-8.

errorstring | null

length ≤ 4000

Why the job broke; expected with status: failed.

reportRobotValidationReport | null

The verdict, engine: mujoco. Required with status: succeeded.

draftRobotCheckJobDraftIn | null
artifactsarray of RobotCheckJobArtifactRef

items ≤ 256

The artifacts uploaded through presignRobotCheckArtifacts, by name.

engineobject | null

mujoco version, the worker's name.

intakeModelIntake | null

A model check's findings. Required with status: succeeded for kind: model.

RobotCheckJobPublish

object

How to publish. visibility is applied to the repo in the same request (the drop creates it private). Null or absent keeps it as it is.

RobotCheckJobPublish fields
FieldTypeDescription
visibilityVisibility | null
repostring | null

length ≤ 130 · pattern ^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$

A model check only: publish into this model repo instead of the draft. The repo is created for the caller when it does not exist. The caller must be able to create under that owner. 409 when it exists and holds files. The draft is left as it was.

smokeboolean

default false

A model check only: after publishing, queue the smoke sim gate of the model on the checked robot, as the caller. It runs on CPU, under every rollout rule and the hosted allowance.

RobotModelSummary

object

What the validator read out of the MJCF (null fields when it could not).

RobotModelSummary fields
FieldTypeDescription
modelstring | null

length ≤ 256

basestring | null
jointsarray of string

items ≤ 1024

Named 1-DoF (hinge / slide) joints, in document order.

filesarray of string

items ≤ 4096

Repo paths the model needs: the MJCF, its includes and its assets.

keyframesarray of string

items ≤ 256

TrainingBranch

string

one of locomotion · manipulation

locomotion for a floating base, manipulation for a fixed base. A fixed base learns reaching and holding in simulation, and work with objects from data.

TrainingRoute

object

One way to learn the goal.

TrainingRoute fields
FieldTypeDescription
routerequiredTrainingRouteKind
rankinteger | null

1 is the best route. Null when the route is not available.

titlerequiredstring
availablerequiredboolean
whyrequiredstring

Why it ranks here, or why it is not available.

needs_from_personrequiredarray of string

What a person must do or decide, in order.

costrequiredTrainingRouteCost
datasetsrequiredarray of TrainingRouteDataset
recordingTrainingRouteRecording | null
methodstring | null

The training method the route would use, a listMethods id such as ppo_mujoco or act.

trains_instring | null

The engine the route trains in, such as Isaac Lab (PhysX) or MuJoCo.

tested_instring | null

The engine the hub tests it in.

single_simulatorboolean

True when it trains and is tested in the same engine. Such a skill needs a check in a second engine before a real robot.

next_operationstring | null

The operation that plans this route: planCampaign for sim, createRun for a data route. Null when nothing can be planned yet.

TrainingRouteDataset

object

A dataset the route would train on.

TrainingRouteDataset fields
FieldTypeDescription
refrequiredDatasetRef
sourcerequiredstring

one of yours · hub · huggingface

yours: a dataset of the caller's account or org. hub: a public dataset on this hub. huggingface: a LeRobot dataset the hub lists from Hugging Face. Its files are downloaded when a run starts.

namerequiredstring
urlstring | null

Its page.

episodesinteger | null
framesinteger | null
fpsnumber | null
robot_typestring | null

The robot the dataset says it was recorded on.

tasksarray of string

Up to five of its task strings.

downloadsinteger | null

Hugging Face's downloads in the last 30 days.

fitstring

one of same_robot · robot_type · task_words

same_robot: recorded on this robot. robot_type: recorded on a robot of the same type. task_words: only its words match the goal.

whyrequiredstring

RobotCheckKind

string

one of robot · model

What a check is about. robot: a robot repo's model. model: a policy in a model repo, checked against a robot.

ModelCheckRequest

object

The model-check half of a check (kind: model).

ModelCheckRequest fields
FieldTypeDescription
reporequiredstring

length ≤ 130 · pattern ^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$

owner/slug of the model repo (the draft) the caller can write.

hf_repostring | null

pattern ^[A-Za-z0-9][A-Za-z0-9._-]{0,95}/[A-Za-z0-9][A-Za-z0-9._-]{0,95}(@[A-Za-z0-9._/-]{1,128})?$

Import instead of upload: a public Hugging Face LeRobot policy (config.json + model.safetensors), org/name[@revision].

control_classControlClass | null

The layer to stamp, for a policy whose manifest does not say. The default is reflex for an ONNX and skill for a LeRobot checkpoint.

obsModelCheckObs | null

RobotCheckJobAction

string

one of position_offset · position_absolute · velocity · torque

What one action vector means (lucen robot init --action).

RobotCheckJobOptions

object

The optional lucen robot init flags, one field per flag. An absent or null field is a flag not passed. Nothing is defaulted here. init writes what it writes without the flag (a needs_you entry, or a value derived from the model).

RobotCheckJobOptions fields
FieldTypeDescription
action_scalenumber | null

> 0

--action-scale: action → joint units.

action_clipnumber | null

> 0

--action-clip.

kpnumber | null

≥ 0

--kp: PD stiffness for every joint.

kdnumber | null

≥ 0

--kd: PD damping for every joint.

armaturenumber | null

≥ 0

--armature: reflected rotor inertia (kg·m²) for every joint.

friction_lossnumber | null

≥ 0

--friction-loss: Coulomb friction (N·m) for every joint.

proprioceptionarray of string | null

items ≤ 32

--proprioception: what the REAL robot can observe, snake_case terms.

commandstring | null

--command: the command space.

default_posemap of number | null

--default-pose: joint name → position (rad or m) of the pose policies start from. The drop's "Default pose" field sends it for a model with no keyframe, whose pose would otherwise be qpos0. A joint left out keeps the model's value. init refuses a name the model does not have, or a value outside the joint's range.

discard_visualboolean

default false

--discard-visual (URDF only): convert with collision geometry alone.

RobotCheckJobDrop

object

What the browser read out of the dropped zip and what its upload moved. This is the client's own account, stored with the check so the page can print it again. The hub never sees the zip and checks none of this. The snapshot (sources_count, sources_bytes) is the hub's own view.

RobotCheckJobDrop fields
FieldTypeDescription
filenamestring

length ≤ 255

zip_bytesinteger

≥ 0

filesinteger

≥ 0

Entries kept (after the refused ones).

unpacked_bytesinteger

≥ 0

entry_candidatesarray of FilePath

items ≤ 64

refusedarray of RobotCheckJobRefusedPath

items ≤ 64

uploaded_filesinteger

≥ 0

uploaded_bytesinteger

≥ 0

deduped_filesinteger

≥ 0

Files the hub already held (parts: []). For these, 0 bytes were sent.

deduped_bytesinteger

≥ 0

RepoRef

object

Lightweight repo pointer used inside jobs.

RepoRef fields
FieldTypeDescription
idrequiredId
full_namerequiredstring

ModelIntake

object

What a model check found: the policy, its contract against the robot, and (for an import) its source.

ModelIntake fields
FieldTypeDescription
policy_pathstring | null

The ONNX path or checkpoint directory publishing writes.

policy_formatstring | null

onnx, lerobot or lerobot-peft.

policy_typestring | null

onnx, or the LeRobot config's type (act, diffusion, …).

embodimentstring

one of match · mismatch · unstamped · unchecked

unchecked: no robot was named, so the check only read the policy.

stamped_by_checkboolean

The policy was unstamped and this check derived its contract from the interface.

differingarray of ModelIntakeDifference

items ≤ 64

control_classControlClass | null
embodiment_fingerprintstring | null

The fingerprint the (stamped) manifest records.

robot_fingerprintstring | null

The robot's interface_fingerprint when checked.

summarystring | null

The contract in one line (joints, observation, action, rate, chunk).

manifestobject | null

The policy's manifest as read (or as the check derived it).

graphobject | null

An ONNX's graph widths, {input, output}.

paramsinteger | null

Parameter count, from the weights' safetensors header.

sourceModelIntakeSource | null

RobotCheckJobSource

object

One file of the repo as it was when the check was queued.

RobotCheckJobSource fields
FieldTypeDescription
pathrequiredFilePath
sha256requiredSha256
sizerequiredinteger

≥ 0

urlstring (uri) | null (uri)

Presigned 1-hour GET of exactly these bytes. Only the claim response carries it.

RobotCheckJobDraft

object

The draft as the page shows it: the worker's summary of the model, the card that Publish would store, and its needs_you. The hub reads the card and its needs_you from the uploaded robot_card.json.

RobotCheckJobDraft fields
FieldTypeDescription
sourcestring | null
mjcf_pathstring | null
modelobject | null
derivedarray of string
conversionobject | null
cardobject | null

robot_card.json without needs_you. This is exactly what Publish sends to putRobotCard.

needs_youarray of RobotCheckJobNeed
blockinginteger

How many needs_you entries are blocking; Publish is refused while > 0.

RobotCheckJobArtifactOut

object

RobotCheckJobArtifactOut fields
FieldTypeDescription
pathrequiredFilePath
sha256requiredSha256
sizerequiredinteger
replacesrequiredboolean

A file of the snapshot sits at this path; publishing replaces it.

urlstring (uri) | null (uri)

Presigned 1-hour GET.

RobotCheckJobPublished

object

RobotCheckJobPublished fields
FieldTypeDescription
atrequiredstring (date-time)
byUserPublic | null
interface_fingerprintstring | null

pattern ^[0-9a-f]{64}$

visibilityVisibility
filesrequiredarray of RobotCheckJobPublishedFile
smoke_rollout_idstring | null

The smoke gate a model check's publish queued (smoke: true).

smoke_errorstring | null

Why that gate could not be queued (the publish still stands).

RobotCheckJobArtifactRequest

object

RobotCheckJobArtifactRequest fields
FieldTypeDescription
namerequiredFilePath
sizerequiredinteger

≥ 0 · ≤ 268435456

Bytes (≤ 256 MiB; a single PUT).

content_typestring

one of application/json · application/xml · text/plain · application/octet-stream · image/png

default "application/octet-stream"

image/png is the stills'.

RobotCheckJobArtifactUpload

object

RobotCheckJobArtifactUpload fields
FieldTypeDescription
namerequiredstring
keyrequiredStorageKey
urlrequiredstring (uri)

Presigned PUT; send exactly size bytes with Content-Type as declared.

expires_atrequiredstring (date-time)

RobotCheckJobReportStatus

string

one of running · succeeded · failed

The only transitions a worker may make: running → succeeded | failed.

RobotCheckJobDraftIn

object

What lucen robot init said about the model, as the worker reports it.

RobotCheckJobDraftIn fields
FieldTypeDescription
sourcestring

one of mjcf · urdf

mjcf_pathstring | null

length ≤ 1024

modelobject | null

name, base, joints, actuators, mass_kg, physics_dt_s, default_pose_from.

derivedarray of string

items ≤ 256

conversionobject | null

For a URDF: the MJCF written, what the conversion dropped, and the meshes copied.

RobotCheckJobArtifactRef

object

RobotCheckJobArtifactRef fields
FieldTypeDescription
pathrequiredFilePath

TrainingRouteKind

string

one of sim · existing_data · your_demos · existing_data_and_demos · video_to_motion · generated_scene · world_model

TrainingRouteCost

object

What the route would cost and take, and how the hub knows.

TrainingRouteCost fields
FieldTypeDescription
usd_maxrequirednumber | null

The most it could cost. Null when the hub cannot price it.

hours_maxrequirednumber | null

The most training could take, in hours. Null when unknown.

pricedrequiredboolean

False when it runs on the person's own machine, which costs nothing.

basisrequiredstring

Where the numbers come from, in one sentence.

TrainingRouteRecording

object

How a person records the demonstrations this route needs.

TrainingRouteRecording fields
FieldTypeDescription
episodesrequiredinteger

How many demonstrations to record.

commandsrequiredarray of string

The commands to run, in order.

noterequiredstring

What the commands assume, and what is not built yet.

ModelCheckObs

object

What only the person knows about an unstamped ONNX: the observation blocks it consumes, in order (lucen model stamp --obs). Everything robot-side is derived from the robot's interface.

ModelCheckObs fields
FieldTypeDescription
blocksrequiredarray of string

items 1–32

scalesobject | null
cycle_time_snumber | null

> 0

profilestring | null

length ≤ 128

taskobject | null

RobotCheckJobRefusedPath

object

RobotCheckJobRefusedPath fields
FieldTypeDescription
pathrequiredstring

length ≤ 1024

reasonrequiredstring

length ≤ 300

ModelIntakeDifference

object

ModelIntakeDifference fields
FieldTypeDescription
fieldrequiredstring

length ≤ 128

policyany

What the policy's contract says.

robotany

What the robot's interface derives.

ModelIntakeSource

object

Where an imported policy came from (an HF import).

ModelIntakeSource fields
FieldTypeDescription
hf_repostring | null
revisionstring | null

The commit the import read (resolved from a branch or tag).

licensestring | null
filesarray of string
bytesinteger
skippedarray of string

Files of the source repo left out, with why.

RobotCheckJobNeed

object

One open question lucen robot init left in the draft (needs_you), verbatim.

RobotCheckJobNeed fields
FieldTypeDescription
fieldrequiredstring

length ≤ 256

severityrequiredstring

one of blocking · recommended · confirm

blocking refuses Publish. recommended and confirm never refuse it.

whyrequiredstring

length ≤ 2000

namesarray of string

items ≤ 256

suggestionstring | null

length ≤ 1000

proposalobject | null

What init suggests for this item, keyed by the RobotCheckJobOptions field that takes it. The gains item carries kp, kd, optionally armature, and the default_pose they were tested at, all found by simulation. The default pose item carries default_pose. The senses item carries proprioception, the command item command, and the action scale item action_scale. It is a proposal the person confirms by checking again with these values. Nothing is applied on its own, and a blocking item stays blocking until then.

RobotCheckJobPublishedFile

object

RobotCheckJobPublishedFile fields
FieldTypeDescription
pathrequiredFilePath
sha256requiredSha256
sizerequiredinteger
linkedrequiredstring

one of deduped · copied

deduped onto bytes the hub had already verified; copied and hashed by the hub.

StorageKey

string

length ≤ 1024

Object storage key (internal, content-addressed for blobs). A key is not a URL. Presign endpoints turn keys into URLs.