curl --request POST \
--url https://api.eddy.engineer/v1/sequence.service \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"assembly": {},
"targets": [
"<string>"
],
"options": {},
"oracles": true,
"segments": 123,
"service": {},
"units": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/sequence.service"
payload = {
"assembly": {},
"targets": ["<string>"],
"options": {},
"oracles": True,
"segments": 123,
"service": {},
"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: {},
targets: ['<string>'],
options: {},
oracles: true,
segments: 123,
service: {},
units: '<string>'
})
};
fetch('https://api.eddy.engineer/v1/sequence.service', 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.service",
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' => [
],
'targets' => [
'<string>'
],
'options' => [
],
'oracles' => true,
'segments' => 123,
'service' => [
],
'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.service"
payload := strings.NewReader("{\n \"assembly\": {},\n \"targets\": [\n \"<string>\"\n ],\n \"options\": {},\n \"oracles\": true,\n \"segments\": 123,\n \"service\": {},\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.service")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"assembly\": {},\n \"targets\": [\n \"<string>\"\n ],\n \"options\": {},\n \"oracles\": true,\n \"segments\": 123,\n \"service\": {},\n \"units\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/sequence.service")
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 \"targets\": [\n \"<string>\"\n ],\n \"options\": {},\n \"oracles\": true,\n \"segments\": 123,\n \"service\": {},\n \"units\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Service procedure: the parts to remove, in order, to replace a given part
Given the parts to free, the smallest set of parts that must come off first (fewest parts, then the planner’s cost), the removal order and the reassembly, as one sequence document that plays both ways; the same checks as sequence.plan. Service procedure: to replace a part, the minimal disassembly that frees it. A uniform-cost search over removed-sets on the engine’s exact blocking relation with the engine’s oracles (declared screw paths for detected fasteners, the engine tool access on every part of a set, the engine stability of what is left with the held parts as a cost): fewest parts removed before the target first, then direction changes / tool changes / held parts / travel, then a fixed tie order. Answers freed: true with the procedure (ss.sequence.service/1: removed_first[], removal_order[], the removal steps and the reassembly in build form with its own plan, cost, stats, key), the oracles’ notes, and the ss.assembly.sequence/1 document compiled and stored like sequence.plan (explode steps = the removal, build steps = the reassembly: one document, both ways). A target that cannot be freed answers freed: false with the typed refusal (cannot_free: the target set, the parts removed in the deepest state reached, its cone (AQ2.b: with rotations[] {axis, point, kind: hinge | spin | ball}, the rotation lines its contacts leave free; contacts of kind conical are a male cone seated in a female cone of one half angle or a ball in a countersink, tangent patches carry their line, and a ring on a plane, a ring on a shaft and an O-ring in its groove are closed forms) and the first blocker per direction, the oracle refusals met; budget: the search bound). An unknown target, a base target or an empty target list is 400 SEQUENCE_INVALID. Deterministic.
curl --request POST \
--url https://api.eddy.engineer/v1/sequence.service \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"assembly": {},
"targets": [
"<string>"
],
"options": {},
"oracles": true,
"segments": 123,
"service": {},
"units": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/sequence.service"
payload = {
"assembly": {},
"targets": ["<string>"],
"options": {},
"oracles": True,
"segments": 123,
"service": {},
"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: {},
targets: ['<string>'],
options: {},
oracles: true,
segments: 123,
service: {},
units: '<string>'
})
};
fetch('https://api.eddy.engineer/v1/sequence.service', 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.service",
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' => [
],
'targets' => [
'<string>'
],
'options' => [
],
'oracles' => true,
'segments' => 123,
'service' => [
],
'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.service"
payload := strings.NewReader("{\n \"assembly\": {},\n \"targets\": [\n \"<string>\"\n ],\n \"options\": {},\n \"oracles\": true,\n \"segments\": 123,\n \"service\": {},\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.service")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"assembly\": {},\n \"targets\": [\n \"<string>\"\n ],\n \"options\": {},\n \"oracles\": true,\n \"segments\": 123,\n \"service\": {},\n \"units\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/sequence.service")
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 \"targets\": [\n \"<string>\"\n ],\n \"options\": {},\n \"oracles\": true,\n \"segments\": 123,\n \"service\": {},\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
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).
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