Skip to main content
POST
What must be assembled before what (the precedence graph), with line-balancing input and a robot task plan

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.

cycle_time_s
number

The line cycle time (seconds): sets min_stations.

dfa
object

The DFA overrides: parts {: {difficulty (tangle | nest | slippery | delicate | flexible | sharp), needs_tweezers, two_hands, obstructed_access, restricted_vision, hold_down, self_locating, resistance, securing (none | snap | plastic_bend | rivet | screw), moves_relative, different_material, separate_for_assembly, alpha_deg, beta_deg, size_mm, thickness_mm, density_kg_m3, handling_code, insertion_code, handling_seconds, insertion_seconds}}, density_kg_m3 (default 7850), ideal_time_s (default 3).

line_units
integer

Units released into the flow document (default 10).

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.

plan
object

AQ3's request: base[] (component ids; empty = the fixed ones, else the largest part), constraints[] ({kind: before, a, b} | {kind: group, parts[]} | {kind: keep_together, parts[]} | {kind: serviceable, part, within?}), fasteners[] ({component, drive} — detected fasteners are added), search ({kind: beam, width} | {kind: astar, max_nodes, heuristic (true: the admissible travel bound, AQ3.c)}), weights (direction_change, reorientation, tool_change, held_part, travel, fastener_deferral, service_delay), up (the base's up, default +z), max_subassembly_depth, prefer_subassemblies (AQ3.c: touching parts each removable on their own are also offered as one sub-assembly step, planned below; off by default).

samples
integer

Pose samples per robot step (1 ..= 64, default 8).

segments
integer

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

units
string

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

usd
boolean

Also answer the time-sampled USD layer (usda).

Response

graph {schema, tasks[] {id, step, parts[], kind, tool, time_s, time_source}, edges[] {from, to, why}, relations, order[], acyclic, key}, graph_key, line_input {schema, tasks[] {id, time_s, predecessors[], parts[], tool}, total_time_s, cycle_time_s, min_stations, max_task_s, balancer, key}, multisim (the flow document), multisim_check {ok, key, blocks}, robot_plan {schema, units, steps[] {id, step, parts[], tool, fasteners[], duration_s, start_s, paths[] {part, poses[]}, text}, total_s, key}, usda, dfa_key, plan_key, complete, order[], sequence_key