Skip to main content
Version: 3.0.0

Operator interventions

This is where you step into a running lab: pause or stop an execution, operate on one labware thread, correct where the system thinks a plate is, send a command straight to a device, and change the numbers a move is made with.

These verbs change runtime state. Read Confirmation and --reason in the overview before running any of them in anger, and read Mid-flight inspection first to see what you are about to act on.

Two separate gates protect them, and they are not the same thing:

  • A confirmation prompt. Most execution-level, thread-level, incident and variable verbs ask y/N (default N) before acting. Answering no exits 40 and changes nothing. --force (--yes, -y) skips the prompt, which is what a script needs: there is no stdin to answer it with. The labware override verbs do not prompt; their gate is the required --reason.
  • A required --reason. On the verbs below, --reason STR is a required option, so --force cannot skip it: there is no way to make the change without saying why. The reason is written on the audit row.

The verbs that require --reason:

Verb
labware edit-locationlabware reset-location
labware set-volumelabware set-tips
labware mark-tips-useddevice release-hold
reservation cancelincident recoverable-timeout abort
incident recoverable-timeout mark-completeevery execution thread surgery verb

Every other verb on this page that changes state accepts --reason as an optional note for the audit row, except execution sim-speedup, which takes no reason and writes no audit row. execution thread recover writes an audit row but takes no reason. The full required and optional lists are in the overview.

Execution-level​

orca execution pause   <id> [--reason "..."]   # pause every non-terminal thread
orca execution resume <id> [--reason "..."] # resume manually-paused threads
orca execution close <id> [--reason "..."] # ACCEPTING -> DRAINING
orca execution stop <id> [--reason "..."] # pause + arm abort (first call)
orca execution stop <id> --confirm [--reason "..."] # abort (second call)
orca execution remove <id> [--reason "..."] # drop a terminal exec from the registry
orca execution sim-speedup <id> <speedup> # change a simulated run's speed

pause​

Pauses every non-terminal thread. Threads already paused by an error stay error-paused. A pause does not change the execution's status. It sets the pause latch, which execution list shows in its own column.

resume​

Resumes manually-paused threads and reports what it did:

$ orca execution resume 7a3f1c0e
resume-all (7a3f1c0e)
resumed: 3
pause_cancelled: 1
error_skipped: 1
completed_skipped: 0

error_skipped counts threads it left alone. Error-paused threads need thread recover with a decision, not a resume.

close an execution​

Moves the execution from ACCEPTING to DRAINING. JOIN_EXISTING submissions against it are rejected from then on; a STANDALONE submission for the same workflow boots a fresh execution. Live threads continue to completion, and the execution becomes terminal once the last one finishes. See Submissions.

$ orca execution close 7a3f1c0e
execution 7a3f1c0e -> phase=draining

stop an execution​

Two calls, confirmed abort. The first call (no --confirm) pauses the execution immediately and arms the abort. Nothing is aborted yet and execution resume disarms it. A second call with --confirm runs the abort: threads are cancelled, reservations released, the execution ends at aborted. A stray --confirm on a not-yet-armed execution never aborts; it pauses and arms, the same as the first call.

$ orca execution stop 7a3f1c0e
execution 7a3f1c0e paused and abort armed; run `orca execution stop 7a3f1c0e --confirm` to abort, or `orca execution resume 7a3f1c0e` to disarm

$ orca execution stop 7a3f1c0e --confirm
execution 7a3f1c0e aborted (phase=aborted)

A stop against an execution that had already finished is a no-op and says so.

A confirmed stop ends a thread parked on an error as well as a running one. It resolves that pause with the same unwind an operator's abort-thread gives, so the action releases its device and records the operations it is dropping rather than abandoning both.

Pitfalls:

  • stop --confirm is a hard abort. Plates in transit can end up somewhere the runtime does not expect. Afterwards, read labware where for every plate in the execution and reconcile with labware edit-location.
  • An abort taken while a plate is genuinely in an arm's jaws leaves a real hold on the mover, and a mover holding one refuses every later pick. Clear it with device release-hold.
  • To wind down without aborting, use close.

remove​

Drops an execution from the runtime's registry and clears its events from the event bus. It is refused with 30 (CONFLICT) unless the execution is already completed, partially completed, failed or aborted.

It does not erase history. The durable execution record survives, so execution list still shows the run and execution detail still answers for it, and the operations archive is append-only and untouched. See Audit and history.

sim-speedup​

Changes how fast a SIM run goes. The value is how many times faster than real time, from 0.1 to 1000: 1 is real time and 10 is ten times faster. The change applies from the next device command. The command in progress finishes at the old speed.

orca execution sim-speedup 7a3f1c0e 10

A LIVE run is paced by its hardware and a check run never waits, so both refuse with sim_speedup_not_applicable. A finished run refuses with exit 30 (CONFLICT). The verb takes no --reason and writes no audit row. See Simulated speed.

Thread-level surgery​

Thread surgery works on paused threads. If the thread is running, pause it or the execution first. How a method and an action are written is on Methods and Actions. What a thread is made of is on Threads.

orca execution thread pause          <exec> <tid> [--reason "..."]
orca execution thread resume <exec> <tid> [--reason "..."]
orca execution thread spawn <exec> <template-name> [--labware-id <id>] [--reason "..."]
orca execution thread skip-method <exec> <tid> --method-name <name> --reason "..."
orca execution thread insert-method <exec> <tid> --where <head|tail|before|after> [--anchor <name>] (--template <name> | --from-file <path>) --reason "..."
orca execution thread replace-method <exec> <tid> <target-method> (--template <name> | --from-file <path>) --reason "..."
orca execution thread skip-action <exec> <tid> (--action-command <cmd> | --action-id <id>) --reason "..."
orca execution thread insert-action <exec> <tid> <action-file.py> --where <head|tail|before|after> [--anchor <name>] --reason "..."
orca execution thread replace-action <exec> <tid> <target-command> <action-file.py> --reason "..."

Methods are targeted by name, not by index. Method names are not unique within a lane, so skip-method takes the first match and you re-run for a later occurrence. Inserts require --where; before and after also require --anchor. Method inserts and replacements take exactly one of --template (an already-registered method template) or --from-file (a .py file holding a single @orca.method). Action inserts and replacements always read a .py file holding a single @orca.action, passed positionally, because action templates have no global registry.

skip-method​

Skip a pending method. The thread resumes at the next method and the reservations that method would have taken are never acquired. For a method that has already started, recover the thread with abort-method.

Abort the method in progress​

orca execution thread recover <exec> <tid> abort-method aborts the running action, skips the rest of the method and advances to the next one. It is a recovery decision, offered only where the thread's pause honours it. See Recover.

insert-method / insert-action​

Splice a method or action into a paused thread's lane at the position --where names.

replace-method / replace-action​

A pending target is spliced in place (skip plus insert), and the CLI says the replacement is queued and applies when the target is reached. If the target is the method or action the thread is error-paused on, the replacement is staged to run next and the CLI prints the next step: recover the thread with abort-method / abort-action (after making the cell physically safe) to drop the failed step. See Recover.

spawn​

Start an extra thread from an existing template inside the execution. The template name is positional; --labware-id attaches an existing labware instance instead of creating one. The new thread runs on its own. It does not join an action another thread is waiting at, so it does not recover an AUTO_SPAWN_FAILED incident. That thread stays paused at SPAWN_CAPACITY; once the cause is fixed, RETRY on it spawns again (see recover).

$ orca execution thread spawn 7a3f1c0e sample_thread
spawned thread 9d3c1b7e (sample_thread) status=running

Variables​

orca var set    <name> <value> --execution <id> [--submission <sid>] [--reason "..."]
orca var set-global <name> <value> [--reason "..."]
orca var get-global <name>
orca var unset <name> --execution <id> [--submission <sid>] [--reason "..."]
orca var unset-global <name> [--reason "..."]

Name and value are positional; the execution is a required --execution flag (id or prefix). The -global verbs take no execution. A global set this way is saved in the package's global_variables.json as its value, so it survives a reload. unset-global removes only that value: a declared global falls back to its default. See Variables.

A variable read inside a running thread resolves through the layers described in Monitor and in Variables. Setting mid-flight takes effect on the next read. It does not retroactively change a value a thread has already read. A retry at a failed device call re-sends the same call with the same arguments, so it does not pick up a value set while the thread was paused there.

$ orca var set shake_speed 600 --execution 7a3f1c0e
shake_speed = 600 (execution 7a3f1c0e)

--submission is what changes an already-submitted thread. A submission's own layer outranks the execution scope, so setting at execution scope while a submission holds its own value changes nothing for that submission's threads. The CLI warns when that happens and names the submissions to look at. unset --submission <sid> clears one submission's override so its threads fall back to the execution value.

Labware​

These verbs correct the runtime's record of labware. How a workflow declares the labware it needs is on Labware.

Put down what a run needs​

orca labware load-run <workflow> [--item NAME[=UL]]... [--clear-all-first --yes]

load-run records the labware a workflow expects on the deck before it starts: every thread whose plate is put down before the run, or only the threads named with --item. NAME=UL also sets that volume in every well. It discharges whatever holds a start position, registers the labware there, and reports what it kept and what it could not load. --clear-all-first clears every labware record first, reused labware included. It moves nothing: put the plates down yourself, then run it. orca thread list shows which threads are put down before a run.

Where a plate is​

orca labware edit-location  <id> <location> --reason "..."
orca labware reset-location <id> <location> --reason "..."
orca labware register (<template> | --labware-type <type>) [--barcode <bc>] [--location <loc>] [--reason "..."]
orca labware edit-barcode <id> <barcode> [--reason "..."] # or --barcode <barcode>
VerbWhen to use
edit-locationThe runtime thinks a plate is at X and it is physically at Y. No transporter is invoked; you are asserting the plate is already there. A thread carrying this labware throws away the move it had planned and plans a fresh one from the new position, so you may put the plate anywhere reachable rather than back where the run left it. Refused only if another plate is already there, or a thread has reserved the spot.
reset-locationClear the location history and set a new starting location, with no audit link to any prior move. Only safe before any thread has moved this labware; at runtime it corrupts the owning thread's location assumptions.
registerRecord labware you have just put down. See below.
edit-barcodeThe recorded barcode is wrong (mis-read, manual relabel). Positional or --barcode; conflicting values are rejected. In-flight actions that already captured the old barcode do not see the change. A barcode another labware holds is refused; see Barcodes.

register names the labware one of two ways, and exactly one: a template argument for labware the deployment package declares, or --labware-type for a catalog definition it does not, which derives an ad-hoc labware template on the spot. The second is what lets an operator introduce labware the workflow author never anticipated, instead of editing code. Passing both, or neither, is a usage error. Browse the catalog first with orca labware catalog.

--location may be any deck site, device site, storage position or mover gripper. It does not physically place anything.

register does not always mint a new instance. When a thread is parked waiting for labware of this template at this location, the operator has just placed that labware, so the expectation is adopted and its existing instance is what arrives. Only a slot nothing is waiting on mints a new instance. The REST answer says which happened: adopted_thread_id names the thread that took the labware, and is null when a new labware was made.

The match is by template name. To release a parked thread, register by the template name the thread waits for. A --labware-type register derives an ad-hoc template named adhoc__<labware_type>, which no thread waits for, so it is always refused with spawn_incompatible at a slot where a thread is waiting.

Every refusal lands before anything is written, so state never lands half-registered:

RefusalExitCause
spawn_incompatible30A thread is waiting at that slot for a different template. The refusal names the location, the template the thread expects and the one you offered. You learn at your own call rather than through a thread failing behind you.
location_reserved30Another thread has claimed the slot. The refusal carries what the claim is for and whether that labware exists yet: on its way, or a person being asked to place it.
slot_occupied30Something else is already there. The refusal names the occupant.
barcode_in_use30Another labware already holds that barcode. The refusal names the barcode and the labware that holds it. See Barcodes.
LabwareHasNoModel2cheshire-drivers exposes no model for that labware type, so no instance can be made. The refusal names the type. This is not an edge case: most seeded catalog rows cannot be built, so try a --labware-type register before you need it. The check runs before the derived template is constructed, so a refused register leaves no template behind.

Barcodes​

Two labware never share a barcode. register and edit-barcode both refuse a barcode another labware already holds, with barcode_in_use (HTTP 409, exit 30). The refusal carries barcode and existing_labware_id, the labware that holds it. Nothing is written.

  • A removed labware keeps its barcode. A labware taken off with discharge, clear-submission or clear-all still holds its barcode, so a new labware cannot reuse it. Give the new one a different barcode.
  • A blank barcode is no barcode. An empty or whitespace-only barcode is stored as none, and any number of labware may have none. edit-barcode <id> "" clears a barcode.
  • Setting a labware's own barcode again is not a conflict.

Tips and volumes​

orca labware set-volume      <id> --well A1=100 --well B1=50 --reason "..."
orca labware confirm-volumes <id> [--reason "..."]
orca labware set-tips <id> --position A1 --position A2 --reason "..."
orca labware mark-tips-used <id> -p A1 -p A2 --reason "..."
orca labware confirm-tips <id> [--reason "..."]

orca device set-mounted-tips <name> --tip 0=rack_1:A1 --tip 1=rack_1:A2 [--reason "..."]
orca device confirm-mounted-tips <name> [--reason "..."]

set-* states a new truth. confirm-* agrees with what the record already says. Both clear the stale mark; use confirm-* when the physical state matches and set-* when it does not.

A confirm-* verb is refused when there is nothing worth agreeing with. All three confirms refuse in three cases, and set-* is the verb in each:

CaseCodeWhy confirm is wrong
Nothing is trackednothing_to_confirmThere is no value to agree with. A read of unknown is not a read of empty.
An in-flight action is holding operationsheld_by_unfinished_actionThe read is behind. Confirming would freeze a number that is about to change when the action ends.
An aborted action lost work it had really donework_lostThe record is short by an amount nobody can look up, and the labware looks exactly as the record describes it to anyone glancing at the shelf. Confirming would freeze a wrong number and mark it checked.

Each refusal is HTTP 422, so the CLI exits 1 and prints the code. The extras carry labware_id or device_name. nothing_to_confirm and work_lost also carry settle_with, the verb that settles it as the unsettled worklist spells it, such as set-tip-state. held_by_unfinished_action has no settle_with: settle the action first.

A record that was merely contradicted is not refused. Something was proved wrong at one position at one moment, and the pick that proved it is already folded in, so an operator who looks can find the record right and agree with it. It confirms like any other stale row.

orca state unsettled names the right verb per row, so read it rather than guessing. State explains why one row gets confirm-* and another set-*.

  • set-volume asserts absolute per-well volumes in uL. Repeat --well WELL=VOLUME. It overrides tracked volume, seeds the driver tracker if the labware is on-deck, and rejects an overfill beyond a well's capacity.
  • set-tips asserts the rack's absolute layout: tips sit at exactly the positions named, and nowhere else. Passing no --position asserts an empty rack.
  • mark-tips-used is the narrow version: it marks the named positions empty and moves the rack's next pick past them, leaving every other position's tracked state alone. Reach for it when a pick found air or a hand took a column.
  • set-mounted-tips is absolute per head: any channel you do not name is recorded as carrying nothing. It writes Orca's record only; nothing sends it to the driver. A vendor protocol runs only when the record says the head is empty and someone has stated or confirmed it since the last restart or reconnect. See Actions.

How a plate is carried​

orca labware carry          <id> [--z-offset 4] [--jaw-opening 82] [--clear z-offset] [--reason "..."]
orca labware carry-normally <id> [--reason "..."]

carry is the narrowest move-parameter layer there is: it is about this one physical object, not a type, a place or an arm. It exists for what the other layers cannot say, such as a plate that came out of the sealer with a lid on it and must be carried higher until the lid is off. It wins over the labware type's grip profile, the position's numbers and the arm's defaults. Name at least one field to set, or one to --clear. carry-normally drops the whole override.

Anything true of the labware type belongs in grip-profiles set, where the next plate of that type inherits it.

Taking labware off the platform​

orca labware clear-submission <submission-id> [--force] [--reason "..."]
orca labware discharge <labware-id> [--force] [--reason "..."]
orca labware clear-all [--force] [--yes] [--reason "..."]

These clear the runtime's record. They dispose of nothing physically; that is the operator's job.

The record is written first and the driver half runs afterwards and cannot raise, so a discharge still works with the handler offline, which is often exactly why you are reaching for it. A deck that could not be reached keeps its record of holding the labware, so a later sweep tries again rather than believing a clear that never happened, and names the deck in the log.

  • clear-submission is the ordinary end-of-run tidy-up. The run's plates are closed out, and anything a thread declared LEAVE_IN_PLACE stays, because a resident's identity is what carries its volume and remaining tips into the next run. The CLI reports how many were cleared and names the ones preserved.
  • discharge removes one labware. Any thread still tracking it fails on its next reference. --force bypasses the active-thread refusal for every thread; it is not needed to release a manual-remove park, which is already exempt.
  • clear-all is the panic button: every labware in the runtime, deck residents included. On an interactive TTY it prompts. On a non-TTY it refuses without --yes and exits 2, so a typo in a script cannot wipe a live deck.

--force on all three bypasses the active-execution refusal. Each takes an optional --reason for the audit row. A labware removed by any of them keeps its barcode.

Devices​

Device types and where a driver comes from are on Devices. Read the current state of one with device list and device info before you change it.

Lifecycle​

orca device connect    <name> [--reason "..."]
orca device initialize <name> [--reason "..."]
orca device disconnect <name> [--reason "..."]
orca device mode <name> SIM|LIVE [--confirm]

None of these takes a mode. While a run is active a command goes in that run's mode. With no run active it goes in the device's own sim or live setting.

orca device mode changes that setting and brings the device up in it. It prints a warning and asks first, and it is refused during a run. See Sim or live, per device.

A SIM or LIVE run brings every device up when it starts, so these are for working by hand.

  • connect opens the link and nothing else. It moves nothing and readies nothing.
  • initialize brings the device up and resets driver state. It can drop the labware the driver was tracking, reset calibration, and interrupt an action holding the device lock. It asks for no motion: homing is its own command. A clean run clears any fault standing on the device.
  • disconnect ends the session. Anything mid-action on that device fails, and hardware that holds motor power while connected (a PF400 arm) drops it here.

connect and initialize also re-seed the driver's deck from the world model.

Faults and holds​

orca device take-control    <name> [--reason "..."]
orca device release-control <name> [--reason "..."]
orca device clear-fault <name> [--reason "..."]
orca device release-hold <mover> [--to <location>] [--force] --reason "..."

take-control is a standing claim: the workflow will not touch the device, and a running thread that tries to use it or to move labware into or out of it fails until you release it. Without it, a workflow can start a move into the device between two of your own commands. release-control gives it back, so be clear of the device first.

clear-fault says a device has been looked at. A command that fails, times out, or is cancelled after it reached the device faults it, and the workflow stops driving it until the fault is cleared. Look at the machine and put it right first: this clears the record, not the trouble. It is usually not needed. Recovering a thread paused on that fault with retry, retry-action or continue clears it on the way, and so does a clean initialize or home. Reach for it when the machine is fit and neither of those applies.

release-hold frees a mover the record says is holding a plate. Give --to the position you actually put the plate: the jaws are freed and the thread carrying it plans a fresh move from there. Leave --to off when the jaws are empty and the record is wrong, and the labware is discharged instead. --force allows the discharge while a live thread still carries the labware, and is ignored when --to is given, because a carrying thread is told to plan again rather than stranded. No mover is driven either way; push the corrected world out afterwards with reconcile-deck.

Deck and world sync​

orca device compare-deck   <name>   # read-only, see Monitor
orca device reconcile-deck <name> [--reason "..."]

reconcile-deck re-dispatches the deck layout and re-declares every labware the ledger places on that liquid handler's deck. It is a state push, and it moves nothing. Use it after anything that rebuilt the driver's session outside orca (a run cancelled at the touchscreen, a driver-internal recovery) so a retry can find its labware again.

It runs the comparison first and hands back what it is about to overwrite, because the push destroys the evidence. Every difference is filed as an incident, so it reaches the operator queue whether or not anyone read the answer. See State.

Sending a command by hand​

orca device send <name> <command> [key=value ...] [--params <json>] [--confirm] [--reason "..."]

Arguments are positional key=value pairs or one --params JSON object. --params wins if both are given. Values in key=value form are typed best-effort: true/false to bool, then int, then float, else string.

send reaches any command the device advertises, including the vendor commands a driver forwards to its hardware from a vendor surface. The names are the ones orca device capabilities <name> lists. An orca-side namespace (shaker.shake) is not part of the command name and is dropped. A vendor command's prefix names the object it lives on (gripper.ungrip) and is sent whole.

orca device send shaker_01 set_temperature celsius=37
orca device send shaker_01 shake --params '{"duration": 30, "speed": 500}'
orca device send ml_star send_command --confirm line="..."

send refuses connect, initialize and disconnect and names the verb to use.

--confirm is for one thing. The driver flags exactly one kind of command requires_confirm: the raw vendor console (send_command and the aliases a backend gives it). Its payload is a string nothing between the CLI and the instrument can read, so nothing can say what it will do. Every other vendor command runs without a confirm. Free to run is not the same as safe.

Typed operator commands​

These do the common jobs with checked arguments. Run orca device <verb> --help for each one's options.

VerbWhat it does
orca device pick-plate <arm> <position>Pick the plate the record has at a site, the way a run's move does.
orca device place-plate <arm> <position>Place the plate in the jaws at a site.
orca device move-to <arm> <position>Move a transporter to one of its teachpoints.
orca device open-gripper <arm>Open the jaws.
orca device aspirate, dispense, mixOne pipetting command on a liquid handler.
orca device configure-deck <name> <layout>Store a deck layout and push it to the liquid handler.
orca device batch <name>Run several commands in order on one device, holding it throughout. --keep-going runs the rest after one fails.

A pick or place by hand goes through the same code as a run's move, so the labware record follows it. With no plate on record at the site, a pick uses the device's default grip and is not refused.

Pitfalls:

  • These bypass workflow coordination. While the engine holds a device for a workflow step, a command sent by hand is refused at once with device_locked. It does not wait.
  • They refuse a device under external control by someone else. See Faults and holds.

Manual steps​

When action code calls ctx.manual_step(...), the thread parks until an operator confirms.

orca manual-step confirm <step-id> --execution <id> [--reason "..."]

The step id is positional and the execution is a required flag. Confirm fires immediately with no prompt. It writes an audit row, and --reason is optional. List the outstanding ones with manual-step list.

Reservations​

orca reservation cancel <reservation-id> --execution <id> --reason "..."

Forces release of a held reservation. The thread that held it gets a typed error and pauses with an incident. Use it only for a genuinely stuck reservation (a hung driver, a manual intervention that needs the device), and read reservation list first to get the id. Long waits are normal and are not a reason to cancel.

Calibration and move parameters​

A move's numbers resolve through six layers, each strictly narrower than the one before:

LayerSet withAbout
seedbuilt-inThe starting point when nobody has said anything.
arm defaultsorca move-defaults set <transporter>One arm, deployment-wide.
labwareorca grip-profiles set <labware-type>One labware type, wherever it goes.
siteorca teachpoints update and the access config it referencesOne position.
this labware hereorca teachpoints labware set <device> <position> <labware-type>One labware type at one position.
this one plateorca labware carry <id>One physical object, for as long as the override holds.

The site layer is a teachpoint, a position taught on one transporter. Each layer contributes a sparse patch and the merge is field-wise, so a layer sets what it knows and inherits the rest. That is what lets one number be corrected without restating the other nine. orca move-defaults show <transporter> prints every field with the layer that won it. See Move parameters for the full model, and Transporters for the arms themselves.

orca grip-profiles list
orca grip-profiles show <labware-type>
orca grip-profiles set <labware-type> [--resource-width 82] [--z-offset 3] [--clear jaw_opening] [--reason "..."]
orca grip-profiles reset <labware-type> [--reason "..."]

orca move-defaults list
orca move-defaults show <transporter>
orca move-defaults set <transporter> [--jaw-opening 90] [--speed 60] [--clear z-offset] [--reason "..."]
orca move-defaults reset <transporter> [--reason "..."]

The approach fields (access type, clearance, z above, grasp offset) are deliberately absent from both. A teachpoint supplies them for every move and resolves after those layers, so change them on the access config the teachpoint references, or on the per-labware override at that one position.

--clear hands a field back to the layer underneath rather than setting it to zero. Repeat it per field. Both set verbs refuse a call that names nothing to set and nothing to clear.

Teachpoints, deck layouts, access configs​

Reads for all three are in Inspect. The writes:

orca teachpoints create <device> <position> --coord-type <cartesian|joint> (--coords <json> | --coords-file <path>) [--access-config <name>] [--gateway <name>] [--orientation <left|right>] [--taught-with <labware-type>] [--reason "..."]
orca teachpoints update <device> <position> (--coords <json> | --coords-file <path>) [--access-config <name>] [--gateway <name>] [--orientation <left|right>] [--taught-with <labware-type>] [--reason "..."]
orca teachpoints delete <device> <position> [--reason "..."]
orca teachpoints capture <device> <position> [--coord-type <cartesian|joint>] [--orientation <left|right>] [--access-config <name>] [--gateway <name>] [--reason "..."]
orca teachpoints export <device> [--out <file>]
orca teachpoints import <device> <file> [--overwrite] [--reason "..."]

orca teachpoints labware set <device> <position> <labware-type> [--z-offset 2] [--clear clearance] [--reason "..."]
orca teachpoints labware clear <device> <position> <labware-type> [--reason "..."]

orca deck-layouts save <device> <name> --config-file <path> [--reason "..."]
orca deck-layouts delete <device> <name> [--reason "..."]

orca access-configs create <name> --access-type <vertical|horizontal> [--gripper-offset 20] [--vertical-clearance 20] [--horizontal-clearance 100] [--reason "..."]
orca access-configs update <name> --access-type <...> [...] [--reason "..."]
orca access-configs delete <name> [--reason "..."]

capture saves where the arm stands now. It is refused on a device set to sim unless the device is always_sim. export writes every teachpoint on a device, and import takes that file as it is, saving every valid row and listing each refused one.

Both create and update need exactly one of --coords (inline JSON object) or --coords-file (a path to one). Coordinate values must be numbers or strings; a bool, a null or a nested object is rejected. --orientation is required for cartesian coordinates.

A position name may contain slashes. Deck-slot positions are usually named after their device, such as flex_1/B4-slot, and every teachpoint verb takes that name as it is, the per-labware set and clear included. One shape is refused: a name whose second-to-last / segment is labware, such as flex_1/labware/B4. A delete of that name would reach the route that clears the B4 labware override on teachpoint flex_1, so the teachpoint could never be deleted. create refuses it with HTTP 400 (exit 2). Names such as labware/B4, flex_1/labware and flex_1/labware_hotel are allowed.

update always rewrites the coordinates, so it cannot be used to change only the access config. Access config, gateway, orientation and taught-with change only when their option is passed, coord_type is preserved, and per-labware overrides are left alone (edit those with teachpoints labware).

deck-layouts save stores a layout under its name, new or replacing the one stored. It needs orca runtime reload to take effect. access-configs delete is refused while the config is protected or still referenced by a teachpoint.

See also​