curl --request POST \
--url https://api.eddy.engineer/v1/ideate.accept \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"actor": "<string>",
"created_at": "<string>",
"icd_key": "<string>",
"part": "<string>",
"proposal_key": "<string>",
"features": [
"<string>"
],
"graded": true,
"note": "<string>",
"pos_tol_mm": 2,
"size_tol": 0.15
}
'import requests
url = "https://api.eddy.engineer/v1/ideate.accept"
payload = {
"actor": "<string>",
"created_at": "<string>",
"icd_key": "<string>",
"part": "<string>",
"proposal_key": "<string>",
"features": ["<string>"],
"graded": True,
"note": "<string>",
"pos_tol_mm": 2,
"size_tol": 0.15
}
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({
actor: '<string>',
created_at: '<string>',
icd_key: '<string>',
part: '<string>',
proposal_key: '<string>',
features: ['<string>'],
graded: true,
note: '<string>',
pos_tol_mm: 2,
size_tol: 0.15
})
};
fetch('https://api.eddy.engineer/v1/ideate.accept', 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.accept",
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([
'actor' => '<string>',
'created_at' => '<string>',
'icd_key' => '<string>',
'part' => '<string>',
'proposal_key' => '<string>',
'features' => [
'<string>'
],
'graded' => true,
'note' => '<string>',
'pos_tol_mm' => 2,
'size_tol' => 0.15
]),
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.accept"
payload := strings.NewReader("{\n \"actor\": \"<string>\",\n \"created_at\": \"<string>\",\n \"icd_key\": \"<string>\",\n \"part\": \"<string>\",\n \"proposal_key\": \"<string>\",\n \"features\": [\n \"<string>\"\n ],\n \"graded\": true,\n \"note\": \"<string>\",\n \"pos_tol_mm\": 2,\n \"size_tol\": 0.15\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.accept")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"actor\": \"<string>\",\n \"created_at\": \"<string>\",\n \"icd_key\": \"<string>\",\n \"part\": \"<string>\",\n \"proposal_key\": \"<string>\",\n \"features\": [\n \"<string>\"\n ],\n \"graded\": true,\n \"note\": \"<string>\",\n \"pos_tol_mm\": 2,\n \"size_tol\": 0.15\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/ideate.accept")
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 \"actor\": \"<string>\",\n \"created_at\": \"<string>\",\n \"icd_key\": \"<string>\",\n \"part\": \"<string>\",\n \"proposal_key\": \"<string>\",\n \"features\": [\n \"<string>\"\n ],\n \"graded\": true,\n \"note\": \"<string>\",\n \"pos_tol_mm\": 2,\n \"size_tol\": 0.15\n}"
response = http.request(request)
puts response.read_body{}{}A human accepts proportions from a proposal into the spec, graded by the engine (V3.c / V4.a)
Writes the named features of an ANCHORED proposal (default: all of them) onto the ICD node governing part — a proportions attribute for machines and a paragraph in the node’s spec text for the agent, each line a feature in millimetres on its face with the board, the proposal and the actor as provenance — and saves the ICD as a NEW module version whose brief carries proportions. The actor must be human:<name> (HUMAN_GATE); an unanchored proposal refuses IDEATE_UNANCHORED; an unknown feature name, or one the node already carries, refuses IDEATE_FEATURE. V4.a: an accepted feature is GRADED by default — the brief’s goal carries a require_proportions clause per feature (its centre in world metres on the keep-in box’s face, its size, the tolerances), and the reward reports missing_proportions and proportion_checks (each verdict with its reason and the nearest candidate); satisfied needs none missing. What is graded is exact and stated: a circle is a cylindrical face of that diameter on that axis (a hole’s wall faces inward, a boss’s outward), a rectangle a planar face parallel to the named face with those extents; a single feature is also placed within pos_tol_mm, a pattern (count > 1) is counted and sized. graded: false keeps a proportion as spec text only.
curl --request POST \
--url https://api.eddy.engineer/v1/ideate.accept \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"actor": "<string>",
"created_at": "<string>",
"icd_key": "<string>",
"part": "<string>",
"proposal_key": "<string>",
"features": [
"<string>"
],
"graded": true,
"note": "<string>",
"pos_tol_mm": 2,
"size_tol": 0.15
}
'import requests
url = "https://api.eddy.engineer/v1/ideate.accept"
payload = {
"actor": "<string>",
"created_at": "<string>",
"icd_key": "<string>",
"part": "<string>",
"proposal_key": "<string>",
"features": ["<string>"],
"graded": True,
"note": "<string>",
"pos_tol_mm": 2,
"size_tol": 0.15
}
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({
actor: '<string>',
created_at: '<string>',
icd_key: '<string>',
part: '<string>',
proposal_key: '<string>',
features: ['<string>'],
graded: true,
note: '<string>',
pos_tol_mm: 2,
size_tol: 0.15
})
};
fetch('https://api.eddy.engineer/v1/ideate.accept', 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.accept",
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([
'actor' => '<string>',
'created_at' => '<string>',
'icd_key' => '<string>',
'part' => '<string>',
'proposal_key' => '<string>',
'features' => [
'<string>'
],
'graded' => true,
'note' => '<string>',
'pos_tol_mm' => 2,
'size_tol' => 0.15
]),
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.accept"
payload := strings.NewReader("{\n \"actor\": \"<string>\",\n \"created_at\": \"<string>\",\n \"icd_key\": \"<string>\",\n \"part\": \"<string>\",\n \"proposal_key\": \"<string>\",\n \"features\": [\n \"<string>\"\n ],\n \"graded\": true,\n \"note\": \"<string>\",\n \"pos_tol_mm\": 2,\n \"size_tol\": 0.15\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.accept")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"actor\": \"<string>\",\n \"created_at\": \"<string>\",\n \"icd_key\": \"<string>\",\n \"part\": \"<string>\",\n \"proposal_key\": \"<string>\",\n \"features\": [\n \"<string>\"\n ],\n \"graded\": true,\n \"note\": \"<string>\",\n \"pos_tol_mm\": 2,\n \"size_tol\": 0.15\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/ideate.accept")
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 \"actor\": \"<string>\",\n \"created_at\": \"<string>\",\n \"icd_key\": \"<string>\",\n \"part\": \"<string>\",\n \"proposal_key\": \"<string>\",\n \"features\": [\n \"<string>\"\n ],\n \"graded\": true,\n \"note\": \"<string>\",\n \"pos_tol_mm\": 2,\n \"size_tol\": 0.15\n}"
response = http.request(request)
puts response.read_body{}{}Body
Response
The new ICD key, the features accepted and the paragraph written
The response is of type object.