curl --request POST \
--url https://api.eddy.engineer/v1/graph.build \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"product": "<string>",
"bom_key": "<string>",
"icd_key": "<string>",
"reports": [
{
"kind": "<string>",
"request": {}
}
],
"studies": [
{
"domain": "<string>",
"item": "<string>",
"request": {}
}
]
}
'import requests
url = "https://api.eddy.engineer/v1/graph.build"
payload = {
"product": "<string>",
"bom_key": "<string>",
"icd_key": "<string>",
"reports": [
{
"kind": "<string>",
"request": {}
}
],
"studies": [
{
"domain": "<string>",
"item": "<string>",
"request": {}
}
]
}
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({
product: '<string>',
bom_key: '<string>',
icd_key: '<string>',
reports: [{kind: '<string>', request: {}}],
studies: [{domain: '<string>', item: '<string>', request: {}}]
})
};
fetch('https://api.eddy.engineer/v1/graph.build', 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/graph.build",
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([
'product' => '<string>',
'bom_key' => '<string>',
'icd_key' => '<string>',
'reports' => [
[
'kind' => '<string>',
'request' => [
]
]
],
'studies' => [
[
'domain' => '<string>',
'item' => '<string>',
'request' => [
]
]
]
]),
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/graph.build"
payload := strings.NewReader("{\n \"product\": \"<string>\",\n \"bom_key\": \"<string>\",\n \"icd_key\": \"<string>\",\n \"reports\": [\n {\n \"kind\": \"<string>\",\n \"request\": {}\n }\n ],\n \"studies\": [\n {\n \"domain\": \"<string>\",\n \"item\": \"<string>\",\n \"request\": {}\n }\n ]\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/graph.build")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"product\": \"<string>\",\n \"bom_key\": \"<string>\",\n \"icd_key\": \"<string>\",\n \"reports\": [\n {\n \"kind\": \"<string>\",\n \"request\": {}\n }\n ],\n \"studies\": [\n {\n \"domain\": \"<string>\",\n \"item\": \"<string>\",\n \"request\": {}\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/graph.build")
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 \"product\": \"<string>\",\n \"bom_key\": \"<string>\",\n \"icd_key\": \"<string>\",\n \"reports\": [\n {\n \"kind\": \"<string>\",\n \"request\": {}\n }\n ],\n \"studies\": [\n {\n \"domain\": \"<string>\",\n \"item\": \"<string>\",\n \"request\": {}\n }\n ]\n}"
response = http.request(request)
puts response.read_body{}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Build a product's graph from the documents in the store
PX7: one pdb-graph graph per product assembled from EVERY document kind the store holds for it — the BOM’s lines and items, the materials and supplier offers they pin, the studies declared here per item and solver domain (studies[]: {item, domain, request}; the request’s material is replaced by the item’s shipped properties at evaluation), the ICD’s requirements with metric checks reading the studies of their part. Every node is set, the graph stabilised through the engine’s evaluators (the pure item.* / cost.* / check.cmp methods and the native solvers for study.<domain>), the definition and state committed on graph/<product>. Answers the receipt: hashes, the nodes, what evaluated. PX12: requirements with REPORT checks read a report/<kind>/<product> node built from reports[]; requirements with SPATIAL checks (the query as JSON {study: "<item>/<domain>", field, region, component?, stat?}) read a spatial/<item>/<domain>/<h> node that aggregates the study’s stored field through its result key. PX11 (2026-10-14): an em_lowfreq study’s request carries its materials on its bodies — the item’s mu_r, eps_r and sigma are threaded onto the bodies material_bodies names (stripped before the solve), else the bodies named the item, else every body; a cfd study’s solver_version picks the stack as the route does.
curl --request POST \
--url https://api.eddy.engineer/v1/graph.build \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"product": "<string>",
"bom_key": "<string>",
"icd_key": "<string>",
"reports": [
{
"kind": "<string>",
"request": {}
}
],
"studies": [
{
"domain": "<string>",
"item": "<string>",
"request": {}
}
]
}
'import requests
url = "https://api.eddy.engineer/v1/graph.build"
payload = {
"product": "<string>",
"bom_key": "<string>",
"icd_key": "<string>",
"reports": [
{
"kind": "<string>",
"request": {}
}
],
"studies": [
{
"domain": "<string>",
"item": "<string>",
"request": {}
}
]
}
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({
product: '<string>',
bom_key: '<string>',
icd_key: '<string>',
reports: [{kind: '<string>', request: {}}],
studies: [{domain: '<string>', item: '<string>', request: {}}]
})
};
fetch('https://api.eddy.engineer/v1/graph.build', 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/graph.build",
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([
'product' => '<string>',
'bom_key' => '<string>',
'icd_key' => '<string>',
'reports' => [
[
'kind' => '<string>',
'request' => [
]
]
],
'studies' => [
[
'domain' => '<string>',
'item' => '<string>',
'request' => [
]
]
]
]),
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/graph.build"
payload := strings.NewReader("{\n \"product\": \"<string>\",\n \"bom_key\": \"<string>\",\n \"icd_key\": \"<string>\",\n \"reports\": [\n {\n \"kind\": \"<string>\",\n \"request\": {}\n }\n ],\n \"studies\": [\n {\n \"domain\": \"<string>\",\n \"item\": \"<string>\",\n \"request\": {}\n }\n ]\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/graph.build")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"product\": \"<string>\",\n \"bom_key\": \"<string>\",\n \"icd_key\": \"<string>\",\n \"reports\": [\n {\n \"kind\": \"<string>\",\n \"request\": {}\n }\n ],\n \"studies\": [\n {\n \"domain\": \"<string>\",\n \"item\": \"<string>\",\n \"request\": {}\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/graph.build")
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 \"product\": \"<string>\",\n \"bom_key\": \"<string>\",\n \"icd_key\": \"<string>\",\n \"reports\": [\n {\n \"kind\": \"<string>\",\n \"request\": {}\n }\n ],\n \"studies\": [\n {\n \"domain\": \"<string>\",\n \"item\": \"<string>\",\n \"request\": {}\n }\n ]\n}"
response = http.request(request)
puts response.read_body{}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Body
Response
OK
The response is of type object.