Skip to main content
POST
Service procedure: the parts to remove, in order, to replace a given part

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
assembly
object
required

The assembly (components with recipes and poses, mates). Fixed components are the base unless plan.base names it.

targets
string[]
required

The component ids to free (every one comes out).

options
object

The oracles' options: paths / stability / access / detect_fasteners (booleans), path_difficulty (0–100, the RRT budget), path_tolerance_rel and release_rel (of the scene diagonal), slide_samples, seed, friction ({default, pairs[]}), max_hands, tools[] (allowed tool id prefixes), min_gap_mm, property_class ("8.8" | "10.9" | "12.9" | "A2-70" | null).

oracles
boolean

The real AQ4 / AQ5 / AQ6 oracles (default true); false plans by geometry alone.

segments
integer

Tessellation segments for the placements (8 ..= 128, default 16).

service
object

The search: base[] (component ids; empty = the fixed ones, else the largest part), weights (direction_change, tool_change, held_part, travel), max_nodes (state expansions, default 20000), up (the base up on the bench, default +z).

units
string

The assembly's length unit: m (default) or mm.

Response

freed (true), procedure {schema, targets[], stays[], removed_first[], removal_order[], removal[], reassembly[], parts_removed_first, cost, plan, stats, key}, procedure_key, removed_first[], removal_order[], stays[], notes, placements[], key, blob_uri, kind, steps, flat[], movers[], base[], sequence; or freed (false), refusal {reason: cannot_free | budget, ...}, message