curl --request POST \
--url https://api.eddy.engineer/v1/sequence.plan \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"assembly": {},
"async": true,
"compute": {
"machine": "<string>",
"provider": "<string>",
"region": "<string>"
},
"name": "<string>",
"options": {},
"oracles": true,
"plan": {},
"segments": 123,
"units": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/sequence.plan"
payload = {
"assembly": {},
"async": True,
"compute": {
"machine": "<string>",
"provider": "<string>",
"region": "<string>"
},
"name": "<string>",
"options": {},
"oracles": True,
"plan": {},
"segments": 123,
"units": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
assembly: {},
async: true,
compute: {machine: '<string>', provider: '<string>', region: '<string>'},
name: '<string>',
options: {},
oracles: true,
plan: {},
segments: 123,
units: '<string>'
})
};
fetch('https://api.eddy.engineer/v1/sequence.plan', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eddy.engineer/v1/sequence.plan",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'assembly' => [
],
'async' => true,
'compute' => [
'machine' => '<string>',
'provider' => '<string>',
'region' => '<string>'
],
'name' => '<string>',
'options' => [
],
'oracles' => true,
'plan' => [
],
'segments' => 123,
'units' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/sequence.plan"
payload := strings.NewReader("{\n \"assembly\": {},\n \"async\": true,\n \"compute\": {\n \"machine\": \"<string>\",\n \"provider\": \"<string>\",\n \"region\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"options\": {},\n \"oracles\": true,\n \"plan\": {},\n \"segments\": 123,\n \"units\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eddy.engineer/v1/sequence.plan")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"assembly\": {},\n \"async\": true,\n \"compute\": {\n \"machine\": \"<string>\",\n \"provider\": \"<string>\",\n \"region\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"options\": {},\n \"oracles\": true,\n \"plan\": {},\n \"segments\": 123,\n \"units\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/sequence.plan")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"assembly\": {},\n \"async\": true,\n \"compute\": {\n \"machine\": \"<string>\",\n \"provider\": \"<string>\",\n \"region\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"options\": {},\n \"oracles\": true,\n \"plan\": {},\n \"segments\": 123,\n \"units\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Plan how an assembly goes together: the build order with each step's motion, tool and checks, or a refusal naming the part in the way
The typical chain: sequence.plan on the assembly, then its sequence into sequence.render (a clip) or sequence.sheets (the booklet) with the same assembly; sequence.check verifies an edited order without planning again. A product of twenty parts can take minutes: set plan.time_budget_ms to get the steps found so far as a typed partial plan (complete: false, a refusal of kind budget) instead of waiting. Assembly by disassembly: from the assembled state the planner removes a movable set at a time along a collision-free direction until only the base remains; the build order is the reverse. With oracles on (the default) the three seams are the real engines: the engine’s paths for sets with no straight direction (a slide-and-lift tier of exact sweeps, then the straight lattice and RRT-Connect on SE(3) with a kernel-verified release) and declared screw paths for fasteners detected from their recipes (turns = engagement / pitch from the partner’s tapped hole, re-checked on the refined clearance tier); the engine’s stability of every partial assembly (per contact cluster, the base as the fixture, fastened groups as welds; held parts are a cost, more than max_hands a typed refusal) and its six-axis base orientation for flips; the engine’s tool access for every fastener (the drive’s tool library over the remaining parts within reach; no_tool_access names the blocking parts). Answers the plan (ss.sequence.plan/1: build order, steps with direction / path / tool / held parts / cost terms, typed refusals with witnesses when incomplete, its own content key plan_key), the oracles’ notes (stored paths by content key, held parts per partial assembly, the tool that passed per fastener, the detected fastener specs with cited torques, the oracles’ own refusals) and the ss.assembly.sequence/1 document built from the plan (explode steps = the build steps reversed: translate steps clear of the assembly, path steps with the engine’s waypoints, sub-assemblies as declared groups moved then expanded, checks per step), compiled and stored like sequence.compile. Deterministic: the same assembly and request give the same keys.
curl --request POST \
--url https://api.eddy.engineer/v1/sequence.plan \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"assembly": {},
"async": true,
"compute": {
"machine": "<string>",
"provider": "<string>",
"region": "<string>"
},
"name": "<string>",
"options": {},
"oracles": true,
"plan": {},
"segments": 123,
"units": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/sequence.plan"
payload = {
"assembly": {},
"async": True,
"compute": {
"machine": "<string>",
"provider": "<string>",
"region": "<string>"
},
"name": "<string>",
"options": {},
"oracles": True,
"plan": {},
"segments": 123,
"units": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
assembly: {},
async: true,
compute: {machine: '<string>', provider: '<string>', region: '<string>'},
name: '<string>',
options: {},
oracles: true,
plan: {},
segments: 123,
units: '<string>'
})
};
fetch('https://api.eddy.engineer/v1/sequence.plan', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eddy.engineer/v1/sequence.plan",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'assembly' => [
],
'async' => true,
'compute' => [
'machine' => '<string>',
'provider' => '<string>',
'region' => '<string>'
],
'name' => '<string>',
'options' => [
],
'oracles' => true,
'plan' => [
],
'segments' => 123,
'units' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/sequence.plan"
payload := strings.NewReader("{\n \"assembly\": {},\n \"async\": true,\n \"compute\": {\n \"machine\": \"<string>\",\n \"provider\": \"<string>\",\n \"region\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"options\": {},\n \"oracles\": true,\n \"plan\": {},\n \"segments\": 123,\n \"units\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eddy.engineer/v1/sequence.plan")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"assembly\": {},\n \"async\": true,\n \"compute\": {\n \"machine\": \"<string>\",\n \"provider\": \"<string>\",\n \"region\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"options\": {},\n \"oracles\": true,\n \"plan\": {},\n \"segments\": 123,\n \"units\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/sequence.plan")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"assembly\": {},\n \"async\": true,\n \"compute\": {\n \"machine\": \"<string>\",\n \"provider\": \"<string>\",\n \"region\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"options\": {},\n \"oracles\": true,\n \"plan\": {},\n \"segments\": 123,\n \"units\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Body
As solve.structural's mode: async runs the plan as a job on a worker, never on the gateway — 202 with job_id, phase: queued, poll (/v1/jobs/{job_id}), events and, on a fleet, pool; poll until phase is done (or error with a typed error), and the finished job carries this route's whole 200 body under sequence_plan (plan, plan_key, complete, order, notes, sequence, key, placements, …). sync (the default) answers in the request, unchanged; a product of several parts can take minutes there, and a client that gives the request up cancels the plan on the gateway.
sync, async 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).
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), time_budget_ms (a wall-clock budget: when it runs out the plan comes back as found so far — complete: false, one refusal of kind budget, stats.budget_expired — and every path search gets the remaining time as its cap; 100 ..= 3600000; none by default).
Response
plan {schema, components, base, order, steps[], cost, complete, refusals[], stats, key}, plan_key, complete, order[], notes {paths, hands, tools, fasteners, refusals, oracles, units, poses, stats}, key, blob_uri, kind, steps, flat[], movers[], base[], sequence, placements[]