curl --request POST \
--url https://api.eddy.engineer/v1/ideate.proportions \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"board_key": "<string>",
"created_at": "<string>",
"already": [
"<string>"
],
"compare_recipe": {},
"envelope": {
"hi": [
123
],
"lo": [
123
]
},
"icd_key": "<string>",
"images": [
"<string>"
],
"part": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/ideate.proportions"
payload = {
"board_key": "<string>",
"created_at": "<string>",
"already": ["<string>"],
"compare_recipe": {},
"envelope": {
"hi": [123],
"lo": [123]
},
"icd_key": "<string>",
"images": ["<string>"],
"part": "<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({
board_key: '<string>',
created_at: '<string>',
already: ['<string>'],
compare_recipe: {},
envelope: {hi: [123], lo: [123]},
icd_key: '<string>',
images: ['<string>'],
part: '<string>'
})
};
fetch('https://api.eddy.engineer/v1/ideate.proportions', 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/ideate.proportions",
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([
'board_key' => '<string>',
'created_at' => '<string>',
'already' => [
'<string>'
],
'compare_recipe' => [
],
'envelope' => [
'hi' => [
123
],
'lo' => [
123
]
],
'icd_key' => '<string>',
'images' => [
'<string>'
],
'part' => '<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/ideate.proportions"
payload := strings.NewReader("{\n \"board_key\": \"<string>\",\n \"created_at\": \"<string>\",\n \"already\": [\n \"<string>\"\n ],\n \"compare_recipe\": {},\n \"envelope\": {\n \"hi\": [\n 123\n ],\n \"lo\": [\n 123\n ]\n },\n \"icd_key\": \"<string>\",\n \"images\": [\n \"<string>\"\n ],\n \"part\": \"<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/ideate.proportions")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"board_key\": \"<string>\",\n \"created_at\": \"<string>\",\n \"already\": [\n \"<string>\"\n ],\n \"compare_recipe\": {},\n \"envelope\": {\n \"hi\": [\n 123\n ],\n \"lo\": [\n 123\n ]\n },\n \"icd_key\": \"<string>\",\n \"images\": [\n \"<string>\"\n ],\n \"part\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/ideate.proportions")
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 \"board_key\": \"<string>\",\n \"created_at\": \"<string>\",\n \"already\": [\n \"<string>\"\n ],\n \"compare_recipe\": {},\n \"envelope\": {\n \"hi\": [\n 123\n ],\n \"lo\": [\n 123\n ]\n },\n \"icd_key\": \"<string>\",\n \"images\": [\n \"<string>\"\n ],\n \"part\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{}{}Read a board's proportions and anchor them to the contract's envelope (V3.c)
A vision reader (boundary-class: SS_VISION_PROVIDER=gateway through the engine’s LLM gateway, anthropic with SS_VISION_KEY, else a FIXTURE reading) looks at the named board positions (default: every image of variant 1) and reports PROPORTIONS as fractions: the overall extents as ratios (x width, y depth, z height; largest = 1) and features on named faces (kind, shape, centre as fractions of the face, size as fractions of the overall extents, count, confidence, the positions used). The engine validates the grammar (IDEATE_READING 502 names the violation), then ANCHORS the fractions to an envelope in metres — the contract’s keep-in box (icd_key + part), or an explicit envelope — giving every feature in millimetres on its face, the envelope’s extents, and a per-axis ratio_mismatch between the picture and the contract. The result is a content-addressed proportion_proposal: numbers a picture can carry, offered — nothing enters a spec until a human accepts them through ideate.accept. Why: an agent reconstructs 12 / 12 from a dimensioned drawing and 7-9 / 12 from pictures; numbers are the input that matters most, and an image generator has none. Without an envelope the proposal carries fractions only. IDEATE_ENVELOPE when the contract’s keep-in is not a box; IDEATE_READER (502) when the reader could not be reached.
curl --request POST \
--url https://api.eddy.engineer/v1/ideate.proportions \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"board_key": "<string>",
"created_at": "<string>",
"already": [
"<string>"
],
"compare_recipe": {},
"envelope": {
"hi": [
123
],
"lo": [
123
]
},
"icd_key": "<string>",
"images": [
"<string>"
],
"part": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/ideate.proportions"
payload = {
"board_key": "<string>",
"created_at": "<string>",
"already": ["<string>"],
"compare_recipe": {},
"envelope": {
"hi": [123],
"lo": [123]
},
"icd_key": "<string>",
"images": ["<string>"],
"part": "<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({
board_key: '<string>',
created_at: '<string>',
already: ['<string>'],
compare_recipe: {},
envelope: {hi: [123], lo: [123]},
icd_key: '<string>',
images: ['<string>'],
part: '<string>'
})
};
fetch('https://api.eddy.engineer/v1/ideate.proportions', 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/ideate.proportions",
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([
'board_key' => '<string>',
'created_at' => '<string>',
'already' => [
'<string>'
],
'compare_recipe' => [
],
'envelope' => [
'hi' => [
123
],
'lo' => [
123
]
],
'icd_key' => '<string>',
'images' => [
'<string>'
],
'part' => '<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/ideate.proportions"
payload := strings.NewReader("{\n \"board_key\": \"<string>\",\n \"created_at\": \"<string>\",\n \"already\": [\n \"<string>\"\n ],\n \"compare_recipe\": {},\n \"envelope\": {\n \"hi\": [\n 123\n ],\n \"lo\": [\n 123\n ]\n },\n \"icd_key\": \"<string>\",\n \"images\": [\n \"<string>\"\n ],\n \"part\": \"<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/ideate.proportions")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"board_key\": \"<string>\",\n \"created_at\": \"<string>\",\n \"already\": [\n \"<string>\"\n ],\n \"compare_recipe\": {},\n \"envelope\": {\n \"hi\": [\n 123\n ],\n \"lo\": [\n 123\n ]\n },\n \"icd_key\": \"<string>\",\n \"images\": [\n \"<string>\"\n ],\n \"part\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/ideate.proportions")
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 \"board_key\": \"<string>\",\n \"created_at\": \"<string>\",\n \"already\": [\n \"<string>\"\n ],\n \"compare_recipe\": {},\n \"envelope\": {\n \"hi\": [\n 123\n ],\n \"lo\": [\n 123\n ]\n },\n \"icd_key\": \"<string>\",\n \"images\": [\n \"<string>\"\n ],\n \"part\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{}{}Body
V3.b: a CAD recipe to compare -- its engine renders (iso, front, top, right, bottom, back) go to the reader beside the board, captioned MODEL-, and the reading becomes the concept's features the model lacks or gets wrong: a critique as a proposal, accepted like any other. The reply adds compared_recipe_hash and parity (the reader's 0..1 estimate from its notes).
Response
The proposal: the reading, the envelope, every feature in mm, the proposal key
The response is of type object.