ETL: run records -> features/labels -> deterministic split -> content-addressed dataset
curl --request POST \
--url https://api.eddy.engineer/v1/data.build \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"spec": {
"domain": "structural",
"label_outputs": [
"<string>"
],
"limit": 10000,
"name": "dataset",
"source_keys": [
"<string>"
],
"sweep_blob_id": "<string>",
"val_fraction": 0.2
}
}
'import requests
url = "https://api.eddy.engineer/v1/data.build"
payload = { "spec": {
"domain": "structural",
"label_outputs": ["<string>"],
"limit": 10000,
"name": "dataset",
"source_keys": ["<string>"],
"sweep_blob_id": "<string>",
"val_fraction": 0.2
} }
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({
spec: {
domain: 'structural',
label_outputs: ['<string>'],
limit: 10000,
name: 'dataset',
source_keys: ['<string>'],
sweep_blob_id: '<string>',
val_fraction: 0.2
}
})
};
fetch('https://api.eddy.engineer/v1/data.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/data.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([
'spec' => [
'domain' => 'structural',
'label_outputs' => [
'<string>'
],
'limit' => 10000,
'name' => 'dataset',
'source_keys' => [
'<string>'
],
'sweep_blob_id' => '<string>',
'val_fraction' => 0.2
]
]),
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/data.build"
payload := strings.NewReader("{\n \"spec\": {\n \"domain\": \"structural\",\n \"label_outputs\": [\n \"<string>\"\n ],\n \"limit\": 10000,\n \"name\": \"dataset\",\n \"source_keys\": [\n \"<string>\"\n ],\n \"sweep_blob_id\": \"<string>\",\n \"val_fraction\": 0.2\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/data.build")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"spec\": {\n \"domain\": \"structural\",\n \"label_outputs\": [\n \"<string>\"\n ],\n \"limit\": 10000,\n \"name\": \"dataset\",\n \"source_keys\": [\n \"<string>\"\n ],\n \"sweep_blob_id\": \"<string>\",\n \"val_fraction\": 0.2\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/data.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 \"spec\": {\n \"domain\": \"structural\",\n \"label_outputs\": [\n \"<string>\"\n ],\n \"limit\": 10000,\n \"name\": \"dataset\",\n \"source_keys\": [\n \"<string>\"\n ],\n \"sweep_blob_id\": \"<string>\",\n \"val_fraction\": 0.2\n }\n}"
response = http.request(request)
puts response.read_body{
"blob_uri": "<string>",
"dataset_blob_id": "<string>",
"manifest": {
"dataset_version": "<string>",
"domain": "<string>",
"features": [
"<string>"
],
"labels": [
"<string>"
],
"name": "<string>",
"result_keys": [
"<string>"
],
"rows": 123,
"source": "runs",
"train_blob_id": "<string>",
"train_rows": 123,
"val_blob_id": "<string>",
"val_fraction": 123,
"val_rows": 123,
"x_stats": [
{
"max": 123,
"mean": 123,
"min": 123,
"name": "<string>",
"std": 123
}
],
"y_stats": [
{
"max": 123,
"mean": 123,
"min": 123,
"name": "<string>",
"std": 123
}
]
},
"skipped": [
{
"reason": "<string>",
"result_key": "<string>"
}
]
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Data
ETL: run records -> features/labels -> deterministic split -> content-addressed dataset
Extracts the box training family (structural: [lx, ly, lz, e, nu, force_z, element_size] -> [max_von_mises, max_displacement]; thermal: [lx, ly, lz, k, t_hot, t_cold, element_size] -> [max_temperature, max_heat_flux]) from run records, splits train/val by content hash (no RNG), computes normalization statistics over the train split, and stores JSONL shards plus a manifest content-addressed. The manifest's address is the dataset id - a pure function of the included source set, identical across engine instances. Ineligible runs are skipped and reported on the source-all path, and hard-error when explicitly named. Network training families: domain 'circuit-sweep' / 'system-sweep' sources a circuit/system sweep corpus manifest instead of run records - set spec.sweep_blob_id to the sweep manifest address and spec.label_outputs to the outputs to learn (circuit: 'node:<name>' operating-point/final node voltage or 'branch:<ref>' current; system: '<component>.<var>' final series value). Features are the applied axis values in axis declaration order (feature names = the axis dot-paths); the dataset is a pure function of (sweep manifest address, spec knobs); negative sweep cases are excluded from the rows and counted on the manifest (excluded_negatives) - never silently thinner. Unknown outputs refuse typed, listing what the case's solution carries.
POST
/
v1
/
data.build
ETL: run records -> features/labels -> deterministic split -> content-addressed dataset
curl --request POST \
--url https://api.eddy.engineer/v1/data.build \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"spec": {
"domain": "structural",
"label_outputs": [
"<string>"
],
"limit": 10000,
"name": "dataset",
"source_keys": [
"<string>"
],
"sweep_blob_id": "<string>",
"val_fraction": 0.2
}
}
'import requests
url = "https://api.eddy.engineer/v1/data.build"
payload = { "spec": {
"domain": "structural",
"label_outputs": ["<string>"],
"limit": 10000,
"name": "dataset",
"source_keys": ["<string>"],
"sweep_blob_id": "<string>",
"val_fraction": 0.2
} }
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({
spec: {
domain: 'structural',
label_outputs: ['<string>'],
limit: 10000,
name: 'dataset',
source_keys: ['<string>'],
sweep_blob_id: '<string>',
val_fraction: 0.2
}
})
};
fetch('https://api.eddy.engineer/v1/data.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/data.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([
'spec' => [
'domain' => 'structural',
'label_outputs' => [
'<string>'
],
'limit' => 10000,
'name' => 'dataset',
'source_keys' => [
'<string>'
],
'sweep_blob_id' => '<string>',
'val_fraction' => 0.2
]
]),
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/data.build"
payload := strings.NewReader("{\n \"spec\": {\n \"domain\": \"structural\",\n \"label_outputs\": [\n \"<string>\"\n ],\n \"limit\": 10000,\n \"name\": \"dataset\",\n \"source_keys\": [\n \"<string>\"\n ],\n \"sweep_blob_id\": \"<string>\",\n \"val_fraction\": 0.2\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/data.build")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"spec\": {\n \"domain\": \"structural\",\n \"label_outputs\": [\n \"<string>\"\n ],\n \"limit\": 10000,\n \"name\": \"dataset\",\n \"source_keys\": [\n \"<string>\"\n ],\n \"sweep_blob_id\": \"<string>\",\n \"val_fraction\": 0.2\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/data.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 \"spec\": {\n \"domain\": \"structural\",\n \"label_outputs\": [\n \"<string>\"\n ],\n \"limit\": 10000,\n \"name\": \"dataset\",\n \"source_keys\": [\n \"<string>\"\n ],\n \"sweep_blob_id\": \"<string>\",\n \"val_fraction\": 0.2\n }\n}"
response = http.request(request)
puts response.read_body{
"blob_uri": "<string>",
"dataset_blob_id": "<string>",
"manifest": {
"dataset_version": "<string>",
"domain": "<string>",
"features": [
"<string>"
],
"labels": [
"<string>"
],
"name": "<string>",
"result_keys": [
"<string>"
],
"rows": 123,
"source": "runs",
"train_blob_id": "<string>",
"train_rows": 123,
"val_blob_id": "<string>",
"val_fraction": 123,
"val_rows": 123,
"x_stats": [
{
"max": 123,
"mean": 123,
"min": 123,
"name": "<string>",
"std": 123
}
],
"y_stats": [
{
"max": 123,
"mean": 123,
"min": 123,
"name": "<string>",
"std": 123
}
]
},
"skipped": [
{
"reason": "<string>",
"result_key": "<string>"
}
]
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Body
application/json
Response
Dataset manifest (stored as a blob; its content address is the dataset id), plus any skipped runs with typed reasons