# Eddy API > This file is very large and may be truncated. For an index of this content, please refer to https://eddy-ac74d702.mintlify.app/llms.txt instead. > The physical world, programmable — geometry, physics and space behind one typed API. # For agents and tools Source: https://eddy-ac74d702.mintlify.app/agents The machine-readable forms of this reference, on this site and on every engine. This site publishes [`/llms.txt`](/llms.txt) (the index) and [`/llms-full.txt`](/llms-full.txt) (every page as one Markdown document); every page's Markdown is one `.md` away from its URL, and the contextual menu on each page copies it. Every engine serves the same reference as text, from its own build, so an agent working against one engine reads what that engine runs: * `GET /v1/openapi.json` — the OpenAPI 3.1 document this site is generated from * `GET /docs/llms.txt` and `GET /docs/llms-full.txt` — the index and the whole API as Markdown * `GET /v1/solvers` — the solver catalog joined with the live registry (what is registered, at which version and build) * `GET /docs/solvers/{id}.md` — one solver's page as Markdown, with its operations rendered in full `ss-mcp` exposes every operation as an MCP tool derived from the same spec — it runs the API rather than reading about it. # An account's ledger statement as CSV (CR7) Source: https://eddy-ac74d702.mintlify.app/api-reference/admin/get-admin-credits-account-statement-csv openapi.json GET /admin/credits/{account}/statement.csv Any billing account's ledger statement, as `/v1/credits/statement.csv` writes the caller's own: every entry of a UTC month (every entry when no month is named) with its effect on the balance. An instance admin's. # The reconcile reports (CR7) Source: https://eddy-ac74d702.mintlify.app/api-reference/admin/get-admin-credits-reconcile openapi.json GET /admin/credits/reconcile The reports this engine ran — the nightly ones (each UTC day, ten minutes in, the day before) and an admin's — newest first, at most 31, and the last day the nightly run reconciled. An instance admin's. # Every account's monthly statement line as CSV (CR7) Source: https://eddy-ac74d702.mintlify.app/api-reference/admin/get-admin-credits-statements-csv openapi.json GET /admin/credits/statements.csv One row per billing account (per org) for a UTC month (default this month): the org's name, the available balance at the month's start, granted (purchases, allowances, trials, refunds), charged (debits and captures), expired, the balance at its end, what is held, the usage rows and credits the meter priced, and the month's reconcile state. An instance admin's. # List API keys (hashes + metadata, never plaintext) Source: https://eddy-ac74d702.mintlify.app/api-reference/admin/get-admin-keys openapi.json GET /admin/keys # Recent usage events (newest first) Source: https://eddy-ac74d702.mintlify.app/api-reference/admin/get-admin-usage openapi.json GET /admin/usage Events carry cost accounting: {provider, region, machine, threads, rate_per_cpu_hour_usd, cost_usd} (cache hits cost 0). The response also includes `totals`: {cost_usd, wall_ms (uncached), solves, cached} over the returned window. # Grant credits to an account (CR1) Source: https://eddy-ac74d702.mintlify.app/api-reference/admin/post-admin-credits-account-grant openapi.json POST /admin/credits/{account}/grant An admin grants credits to a billing account (an org): `credits` (to the millicredit), `source` (purchase, allowance, trial, promo, admin), an optional expiry, and an idempotency `key` — the same key never grants twice (the reply says `replayed`). # Refund credits to an account (CR1) Source: https://eddy-ac74d702.mintlify.app/api-reference/admin/post-admin-credits-account-refund openapi.json POST /admin/credits/{account}/refund An admin refunds credits to a billing account as a grant that never expires; the same `key` never refunds twice. # Reconcile the credits now (CR7) Source: https://eddy-ac74d702.mintlify.app/api-reference/admin/post-admin-credits-reconcile openapi.json POST /admin/credits/reconcile Reconciles a UTC day (`day`, default yesterday) or a window (`from_unix_ms` < `to_unix_ms`): each account's served balance against the fold of its entries; the usage the meter priced against the ledger's debits and captures (within one millicredit of remainder per account, one per settled run, and the rows within `grace_ms` of either edge, default 10,000) — more priced than charged is `missing_debit`, more charged is `over_charged`; and the payment provider's settled payments against the purchase grants (`missing_grant`, `grant_amount`, `refused_payment`, `unknown_payment`). Billing off: `not_charged`; usage rows older than the store keeps: `incomplete`. A mismatch alarms (the bootstrap org's admins get `reconcile_mismatch`) and is never corrected automatically. An instance admin's. # Create an API key Source: https://eddy-ac74d702.mintlify.app/api-reference/admin/post-admin-keys openapi.json POST /admin/keys Returns the plaintext key exactly once; only its BLAKE3 hash is stored. `llm_gateway_token` (admins only) gives the key -- the tenant -- its own LLM-gateway credential: `/v1/llm.*` then call the gateway as that tenant and list the models its team was granted (see `/admin/keys/{key_hash}/llm-gateway`). `scopes` (AS1) limits the key to the operations whose declared effects (`x-eddy-effect`) its `:` grants cover. `preset` (HE13.3) names a fixed scope list in place of `scopes`: `isaac` is the smallest set the Isaac integrations need (`interop:read`, `interop:write`, `interop:compute`, `reports:read`: the interop import, export, calibrate and audit calls and the report behind each result key; no solve family, no project or blob write, nothing under `/admin`). The key is stored with those scopes and the answer echoes `preset`; naming both `preset` and `scopes`, or an unknown preset, is 400 INVALID_PRESET. The token is stored sealed (AES-256-GCM, bound to the key's hash); with no seal key on the deployment a token is refused (503 SEAL_UNCONFIGURED) and a key without one still mints. `limits` (admins only, else 403) sets the key's request-rate limit (see `/admin/keys/{key_hash}/limits`); out of bounds is 400 INVALID_LIMITS. # Set or clear an API key's request-rate limit Source: https://eddy-ac74d702.mintlify.app/api-reference/admin/post-admin-keys-key-hash-limits openapi.json POST /admin/keys/{key_hash}/limits A token bucket per key: `burst` calls at once, refilled at `requests_per_minute`. Every `/v1` and `/admin` call the key makes (by its `x-api-key` header, or by a page session signed in with it) takes one; an empty bucket is 429 RATE_LIMITED with `retry-after` and `x-ratelimit-*`. `limits: null` clears the key's own limit, so the deployment default (SS_KEY_RATE_DEFAULT; unset = unlimited) applies. Enforced per gateway replica; another replica picks a change up within its key cache window (30 s). Calls the engine makes in-process with the key (tools.call, an app function's ss.call) count too; an agent run's tools act under its own delegated token. Admins only; requests_per_minute 1..=1000000, burst 1..=100000, else 400 INVALID_LIMITS. # Set or clear an API key's own LLM-gateway token Source: https://eddy-ac74d702.mintlify.app/api-reference/admin/post-admin-keys-key-hash-llm-gateway openapi.json POST /admin/keys/{key_hash}/llm-gateway The key IS the tenant: with a token of its own, `/v1/llm.models` lists the gateway's live grant to that token and `/v1/llm.messages` forwards with it; `token: null` returns the key to the deployment's own gateway credential and allowlist. Admins only; the token is stored sealed (AES-256-GCM, bound to the key's hash) and never answered back (`record.llm_gateway` says whether one is set, `record.llm_gateway_sealed` whether it is sealed). With no seal key on the deployment a token is refused (503 SEAL_UNCONFIGURED); clearing one always works. A value in the at-rest format (`sealed:…`) is refused (400 INVALID_TOKEN). # Revoke an API key Source: https://eddy-ac74d702.mintlify.app/api-reference/admin/post-admin-keys-key-hash-revoke openapi.json POST /admin/keys/{key_hash}/revoke # Set or clear an API key's default webhook Source: https://eddy-ac74d702.mintlify.app/api-reference/admin/post-admin-keys-key-hash-webhook openapi.json POST /admin/keys/{key_hash}/webhook An async job submitted with this key (`x-api-key`) and no `webhook` of its own is delivered to the key's default: one POST of the finished job record, signed exactly as a request's webhook (`x-eddy-signature: blake3=`, keyed by `secret`; no secret = unsigned), three attempts, logged on the job under `webhook`. A request's own `webhook` wins. `url: null` clears it. The secret is stored sealed, bound to the key's hash (no seal key on the deployment: a signed default is 503 SEAL_UNCONFIGURED, an unsigned one is stored), and never answered. An admin sets any key's; a signed-in person, the keys they own; a key does not set its own. # Seal every stored tenant LLM-gateway token under the active seal key Source: https://eddy-ac74d702.mintlify.app/api-reference/admin/post-admin-keys-seal openapi.json POST /admin/keys/seal The migration for tokens at rest: every key whose LLM-gateway token is legacy plaintext, or sealed under a key that is not the deployment's active one (`SS_SEAL_KEY`; older keys open from `SS_SEAL_KEY_PREVIOUS`), is sealed again under the active key. Each record is rewritten atomically from its current value, so a key revoked or re-tokened meanwhile keeps that change. Idempotent: a second call counts everything `already_sealed`. A token this engine cannot open is left as it is and named in `failed`. Admins only; 503 SEAL_UNCONFIGURED with no seal key. # Re-wrap stored model keys under the current KEK (CR5.b) Source: https://eddy-ac74d702.mintlify.app/api-reference/admin/post-admin-llm-keys-rewrap openapi.json POST /admin/llm-keys/rewrap The instance admin: every stored model key whose data key a previous key-encryption key wrapped (SS_KMS_LOCAL_KEY_PREVIOUS) is re-wrapped under the current one; the sealed key itself never changes. Answers what moved, what was current already and what could not move (and why). # Deterministic assembly render: components posed, merged and coloured per BOM item (C22.9.b) Source: https://eddy-ac74d702.mintlify.app/api-reference/asm/post-v1-asm-render openapi.json POST /v1/asm.render Components rebuild (unique by recipe hash), pose into world by the mate solve and merge into one disjoint-shell scene (the C19.4.h path); each component is coloured by its BOM item from a fixed palette unless `colors` names it. Then the same deterministic ray cast as POST /v1/cad.render: eight canonical views on a right-handed basis, `fit: shared`, annotations, world-space overlays, contact sheets, BMP or PNG -- the same request renders the same bytes. An unbuilt component is a typed refusal; a render never quietly drops a part. # Assembly drawing sheet: BOM + balloons as a saved cad2d sheet (C19.4.h) Source: https://eddy-ac74d702.mintlify.app/api-reference/asm/post-v1-asm-sheet openapi.json POST /v1/asm.sheet Components rebuild, pose into world, and merge into one disjoint-shell B-rep so the three views (and optional iso) hidden-line classify ACROSS components; instances of one part collapse to one BOM item with a quantity; every instance gets a balloon (item number, leader to the top-view centroid); the BOM table lands right of the views on the `bom` layer. The result is a normal cad2d sheet project (plottable at GET /v1/review.plot/{id}, DXF at GET /v1/review.dxf/{id}, reviewable, dimensionable). Idempotent: the project id is the content address of (assembly, segments, sheet, scale, name, iso, title). DR.b9: by default the sheet is ss-drawing's assembly drawing (`engine: drawing`; BOM rows add `part_number`, the reply adds `sheets`, `sheet_projects`, `interfaces`); the C19 path above answers with `engine: legacy`, an explicit scale or an ANSI sheet, and the reply names the engine. AQ17: `sequence` draws the exploded view from an authored sequence document instead of the seed. # The document's boards, circuits, phases and sources as a tree, its loads, phase balance and typed findings (MEP12) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-circuits-key openapi.json GET /v1/bim.circuits/{key} Derived from the model and never stored. A board is a component whose project parameter `Board` names it; it is fed by one circuit of another board (`Supplied by`, `/`) or is an origin fed by a `Source`, with the source's entered `Source loop impedance`; its `Distribution system` names one of the project's (a board without one takes its supplying board's). A load is a component whose family has a `power` connector; it joins a circuit through `Circuit` (`/`), a wire through its `system`. A circuit's data (`Phase`, `Protection`, `Conductor`, `Cable length`...) may be entered on any member and must agree. Phases are entered or follow the board's pole numbering (way n starts on phase ((n - 1) mod 3) + 1), the basis always stated. Each board's `balance` gives the VA on each phase, how far the largest is above the average, the VA of loads whose phase is not known, and a verdict against an entered `Phase imbalance limit`. Findings: `LOAD_WITHOUT_CIRCUIT`, `LOAD_UNEVALUABLE`, `LOAD_VOLTAGE_MISMATCH`, `CIRCUIT_NAME`, `CIRCUIT_BOARD_UNKNOWN`, `CIRCUIT_DATA_CONFLICT`, `CIRCUIT_PHASE_UNKNOWN`, `CIRCUIT_PHASE_INVALID`, `PHASE_POLES_MISMATCH`, `BOARD_NAME_REPEATED`, `BOARD_WITHOUT_SUPPLY`, `BOARD_SYSTEM_MISSING`, `BOARD_SYSTEM_UNKNOWN`, `SUPPLY_PHASES_MISMATCH`, `SUPPLY_VOLTAGE_MISMATCH`, `BOARD_ON_CIRCUIT`, `PHASE_IMBALANCE`, `ELECTRICAL_VALUE_INVALID`, `ELECTRICAL_PARAMETER_WRONG_KIND`; a circuit or board with any on it, on a member or below it (a value not read included) is not `complete`; a project parameter of the wrong kind leaves every one incomplete. Circuit names are compared with board and way trimmed and a numbered way without leading zeros. `parameters` lists every parameter with its unit and `commands` the `parameter` runs that add them. The project's seeded wire tables are not read. The first 1,000 findings are listed; `finding_count` counts them all. # The electrical tree sized: maximum demand, cable selection, voltage drop, fault loop and basic protection coordination (MEP13) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-circuits-sizing-key openapi.json GET /v1/bim.circuits.sizing/{key} Maximum demand is the connected load with entered diversity (a load's and a board's `Diversity`), labelled so; a standard's demand method only through a value table (a board's `Demand method: table`, factors `demand_factor/`). Ratings, trip multiples and the voltage drop limit come only from entered values or the value tables named in `values` (adopted, in force for `state` on `on`, the caller's own; MEP8), read by the keys `cable_rating///
` (A), `trip_multiple/` (1), `voltage_drop_limit` (%), and cited on every value taken; a table that can't be read is named in `table_gaps`. Physics is open: resistance from IACS resistivity at the entered `Conductor temperature` (90 C assumed and said where none), reactance neglected; voltage drop 2 Ib R cos(phi) / U0 on one phase, on three the worst phase's current plus the neutral's (the phasor sum of the line currents) times R cos(phi) / U0, against the strictest limit on the path from the origin; `Zs = Ze + sum(R1 + R2)`, checked against `U0 / Ia`; the largest prospective fault current at a board (U0 over the source's impedance, from the origin's entered `Source fault current`, and the line conductors' at 20 C) against the device's `Breaking capacity`; `Ib <= In <= Iz x derating`; a device rated below the one feeding its board. `selection` is the smallest rated section meeting every check it can be held to, with `modify` commands that enter it. Each check is `pass`, `fail` or `unevaluable` naming its gaps; a circuit the tree did not complete is unevaluable (`TREE_INCOMPLETE`), never a pass. A design aid for a person to review. # The BIM command catalog, with menu placement and who serves each (BC4) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-commands openapi.json GET /v1/bim.commands BIMCraft's commands as the page and agents read them: id, label, aliases, documented params, ribbon menu, whether undoable, and `service` (engine | history | create | filesystem) with the refusal code a run would give. Labels and params name no other vendor (the fence's item 5). `rvt` says whether this build reads `.rvt` files. # An element's design data, computed and with its state, for the Properties panel (BP1, D1) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-design-project-element openapi.json GET /v1/bim.design/{project}/{element} The element's design data from every air design the project's BIM graph keeps: a terminal's design flow and pressures, a duct's design flow, size (current and proposed), velocity and pressure drop, a fitting's K and flow per path. Computed values, shown beside the element's parameters and never entered into them; each with its node's state: `fresh`, `pending` (the head moved and a sync is coming), `stale` (with the inputs that moved) or `none`. # One element, with how a property grid edits it (BC5.b) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-element-key-id openapi.json GET /v1/bim.element/{key}/{id} The element as `elements` shows it, plus `edit`: the `modify` command's documented params, the fields it takes, the read-only ones, the command that makes this category (`made_by`) and the `delete` call. # The elements of a document, by category and level, paged (BC4) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-elements-key openapi.json GET /v1/bim.elements/{key} BIMCraft's `elements` reply: `count`, `returned`, and each element as the engine shows it (its id, GUID, category, type and level by name, its parameters). # A document's placed equipment, with each record's source and licence (MEP6) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-equipment-key openapi.json GET /v1/bim.equipment/{key} Read by a BIM worker: every component whose `Equipment` project parameter (text, for components) names an equipment record's key. Each record is resolved for the caller (the seed; a hand entry its licence lets the caller see; an Energy Rating record from a snapshot the caller's organisation holds) and shown once, in `records` by key, with its source, licence, attribution and, for a pump on a curve, the curve; each placement names its record by `reference` and says whether it `resolved`. Findings: `EQUIPMENT_PARAMETER_WRONG_KIND`, `EQUIPMENT_REFERENCE_MALFORMED`, `EQUIPMENT_UNKNOWN`, `EQUIPMENT_PORTS_DIFFER` (the family's connectors against the record's ports) and the record's own (`EQUIPMENT_DATA_GENERIC`, `EQUIPMENT_CURVE_UNEVALUABLE`, `EQUIPMENT_DESIGN_POINT_OFF_CURVE`). # The document's fittings, their loss data, the size check's basis, and proposals that place generic elbows, tees and reducers (MEP4) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-fittings-key openapi.json GET /v1/bim.fittings/{key} Read off the system graph (`/v1/bim.systems/{key}`), within its budgets. `fittings` lists every pipe fitting and accessory with its connectors' nominal sizes and its loss data: `loss` and `branch_loss` are what a person entered as the project parameters `Loss coefficient` and `Branch loss coefficient` (made by `commands`, set by `modify {id, params}`), never looked up, and `not_entered` names what is missing (never zero); a reducer also lists Borda–Carnot's abrupt-expansion closed form, named with what it assumes. `sizes` states the size check's basis: a run's type gives its outside section, a connector's size is nominal, and a run has a nominal size only where its `Nominal size` is entered; nominal sizes at a node must agree, runs without one compare outside to outside, and a run without one meeting a connector is listed in `unmapped`, never a pass or a step. Where sizes differ the graph's finding is `SIZE_STEP_WITHOUT_REDUCER` (`steps`). `proposals` place the generic families (`Generic elbow`, `Generic tee`, `Generic reducer` and their duct kin, round only) at bends, junctions of three runs, branches on a main's length (`JOINED_MID_RUN`) and size steps, each as the commands `/v1/bim.run` takes in order: `family` when the project lacks it, `modify` on the runs, `pipe` or `duct` where a main is split, `component`. A command's `id` may be `"$n"`, the first id the n-th command of the same proposal made. `skipped` names where no fitting is proposed and why (a sloped or upright run, a rectangular duct, a run too short, a size step at a bend or a tee, four runs at a node, a project family of the generic name that is not the generic one). The first 1,000 of each are listed; the counts count them all. Refusals are the graph's: `SYSTEMS_TOO_LARGE`, `SYSTEMS_OVER_BUDGET`. # The default 3D view's scene as glTF 2.0 (BC4) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-gltf-key openapi.json GET /v1/bim.gltf/{key} A `.glb` (metres, y up, a node per element named by its id, GUID and category); `x-eddy-nodes` and `x-eddy-triangles` count it. # The project's BIM graph: every derived value's state (BP1) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-graph-project openapi.json GET /v1/bim.graph/{project} Every node of the project's BIM graph with its state (`fresh`, `stale` with the inputs that moved, `none`), the briefs it keeps, the head it was brought up to date for and the project's current head (`behind` while a background sync is coming). Reads only; evaluates nothing. # One node of the project's BIM graph: its value and its state (BP1) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-graph-value-project openapi.json GET /v1/bim.graph.value/{project} The node's value as kept (the service's answer, JSON) with its state. A stale node answers its last value, marked stale. # MEP33's verdict folded from the project's BIM graph at one head, with stale checks named (BP3, D5) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-graph-verdict-project openapi.json GET /v1/bim.graph.verdict/{project} The verdict (`ss.mep.verdict/1`) folded by `compose::verdict` from the values the project's graph keeps: the system graph, MEP7's measures, the clashes, each air design, each water system, the circuits and their sizing, every one read at the one head the graph was brought up to date for. A check whose nodes are stale or not yet computed is `stale` (its fold's own state kept as `was`), naming the nodes and what moved; while the graph is behind the project's head every check reading a node is `stale` with the node `pending`. `clean` needs every check fresh and passing. Reads only. # A project's head and its chain of keys (BC3) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-history-project openapi.json GET /v1/bim.history/{project} The pointer the project holds: `head`, `initial`, `history` (each step's key, command, label and params, so the chain folds to an episode) and `redo`; from the live chain's head when a store is mounted and one exists, else the record. `mounted`, `epoch` and `editable` say where it came from and what the caller may do. # Export a document as IFC4, dated by the caller (BC4) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-ifc-key openapi.json GET /v1/bim.ifc/{key} BIMCraft's IFC4 (ISO 10303-21) of the document; the header's date is `timestamp` (seconds since the epoch, 0 when absent), never the clock, so the same document exports to the same bytes. An external artifact (`x-eddy-artifact`). # The engine's inspect of a document: counts, levels, types, warnings (BC4) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-inspect-key openapi.json GET /v1/bim.inspect/{key} BIMCraft's `inspect` reply (name, units, levels, element counts by category, the library's types, materials, families, parameters, phases, warnings) plus `key`. # The document's exact measures as report_measures for /v1/req.verify (BC5), with its system graph's (MEP7) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-measures-key openapi.json GET /v1/bim.measures/{key} `bim:count.`, `bim:level..elevation` (mm) and each room's `area`, `perimeter` and `volume` as the room schedule computes them, tier `exact`. MEP7: the system graph's measures under `mep:` (see /v1/standards.check), with paths from `sources` (element ids, comma-separated, at most 64; MEASURES_SOURCES, MEASURES_SOURCE_UNKNOWN, MEASURES_SOURCE_NOT_CONNECTED), and `mep` {schema, sources, gaps, systems, systems_more, notes}: what could not be measured is a gap naming its code, why and its elements, never a value. # Panel schedules per board and the single-line diagram of the electrical tree, with the generated sheets' plan (MEP14) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-panels-key openapi.json GET /v1/bim.panels/{key} Derived from MEP12's tree sized by MEP13 for the same document, never stored. A schedule has a row per circuit in way order: way, phases (and their basis), what it serves, its connected VA and A on each phase, its protective device, breaking capacity, cable (`*` where the sizing selected it rather than a person entering it), length, voltage drop from the origin and Zs where sized, and MEP13's verdict; every row ties to the graph: the circuit's name, the loads it serves with their power connectors, its wires, the boards it feeds and `entered_on`, the elements holding its data. Board totals (connected load, maximum demand, fault level, drop to the board) and phase balance are MEP12's and MEP13's own. `printed` is each schedule cell for cell as the sheets print it. `diagram` lays the tree out from each source to its boards and their ways, deterministically (names and way order only). Read-only: a change is the engine's own `modify` on an element of `entered_on`, through /v1/bim.run. What cannot be drawn honestly is listed in `refused` (`PANEL_BOARD_WITHOUT_SUPPLY` for a board with no supply and every board below it, `PANEL_BOARD_REPEATED`, `PANEL_NO_BOARDS`), and then there is no diagram and the sheets are refused; `sheets` is the plan of the generated set on `paper`, or `sheets_refused` says why not. A design aid for a person to review. # Your organisation's product files and confirmed mappings (MEP27) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-products openapi.json GET /v1/bim.products Newest first: each file with its format, terms and the day it was imported (at most 100 kept), and each confirmed mapping with its product, the record it made, who confirmed it and on what day (at most 200 kept; the last confirmation of a product of a file takes the place of earlier ones). Never another organisation's. # Fetch a BIM document by its key: the canonical project file (BC3) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-project-key openapi.json GET /v1/bim.project/{key} The canonical bytes (BIMCraft's project file, compact, keys sorted) whose BLAKE3 is the key; `x-eddy-key` carries it. # The sheets of a document, by number (BC4) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-sheets-key openapi.json GET /v1/bim.sheets/{key} Each sheet's id, number and name. # The document's system graph: connected pipes and ducts, their groups and typed findings (MEP3) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-systems-key openapi.json GET /v1/bim.systems/{key} Derived from the document and never stored: runs' ends and pipe and duct connectors within `tolerance` mm (1 by default, 50 at most) are one node, a fitting's or a valve's connectors are joined through it, and a pipe never joins a duct. Each group lists its elements, its runs' systems, its connectors' domains (cold, hot, waste, vent, storm, gas, air, refrigerant), its terminals and its loops, and is `complete` when no finding names it. Findings: `OPEN_END` (a run's end or a fitting's connector meets nothing), `UNCONNECTED_TERMINAL` (a fixture's or a terminal's connector meets nothing), `SYSTEM_MISMATCH` (two systems or two domains joined), `JOINED_MID_RUN` (an end on another run's length, with no fitting), `CONNECTORS_UNEVALUABLE` (a component whose connectors do not work out for its values, so it joins nothing), `SIZE_STEP_WITHOUT_REDUCER` (MEP4: ends of different sizes meet with no reducer, compared on a stated basis: nominal sizes agree, runs without an entered `Nominal size` compare outside sections; `sizes` counts the nodes compared and lists the run-to-connector pairs with no common basis as `unmapped`, never a pass). An end is open when it reaches at most one other node, so a run drawn over another or shorter than the tolerance is a dead end. `values` are the entered design values (`Design flow`, `Fixture demand`, both L/s), and `design.commands` the `parameter` runs that add them to a project. A summary lists the first 1,000 findings (`finding_count` counts them all); `detail=full` adds `nodes`, `edges` and `runs` and lists every finding. Refusals: `SYSTEMS_TOO_LARGE` past 200,000 ends and connectors, `SYSTEMS_OVER_BUDGET` past its work budget (which charges each component its family's formulas), `SYSTEMS_TOLERANCE` (including a tolerance that is not a finite number), `LEVEL_UNKNOWN`. # A document's thermal data and zones, and what an energy model of it still lacks (MEP15) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-thermal-key openapi.json GET /v1/bim.thermal/{key} Read by a BIM worker. Each material's thermal properties as entered (`material {thermal}`), each wall, floor, roof and ceiling type as a construction with its layers' resistances and its U-value surface to surface (without surface films), each door and window type's rated U-value, SHGC and visible transmittance (`type {thermal}`, or a family's numbers `U value`, `SHGC`, `Visible transmittance`), and the rooms grouped into zones by the room project parameters it names (`parameters`: Zone, setpoints, occupancy, gains, outdoor air, infiltration), with areas and volumes to the walls' centre lines. Nothing has a default: `gaps` names everything an energy model would refuse. # The views of a document: plans, sections, elevations, sheets and the 3D view (BC4) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-bim-views-key openapi.json GET /v1/bim.views/{key} What the project browser lists, each with its kind, name and id (a sheet's number, a level's elevation). # An Energy Rating snapshot's document (MEP29) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-mep-energy-rating-snapshot-key openapi.json GET /v1/mep.energy_rating.snapshot/{key} # The equipment library: the seed and your organisation's records (MEP6) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-mep-equipment openapi.json GET /v1/mep.equipment The seed (generic parts, ours; EnergyPlus curves under EnergyPlus's licence) and the caller's organisation's hand entries and Energy Rating records, each with its key, source and licence; the organisation's Energy Rating snapshots; the schema's vocabulary; and how to place a record on a component. # One equipment record, its findings, attribution and curve (MEP6) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/get-v1-mep-equipment-key openapi.json GET /v1/mep.equipment/{key} The seed's record, or a stored record you may read; otherwise 404 `EQUIPMENT_UNKNOWN`, the same for a key never stored and one held by another organisation. # An air network sized on the network solver with the fan's duty and a check of the fan and air-handler records: a supply from its rooms' loads by equal friction or static regain (MEP22), or with `design.role` a return or an exhaust from its rooms' airflows (HV9) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-air openapi.json POST /v1/bim.air Read off the system graph (`/v1/bim.systems/{key}`) by a BIM worker on the light lane. `design.loads` is a load report (`ss.mep.loads/1`: each room's peak sensible cooling, W, entered by a person until the load report of MEP20 makes one) and gives each supply terminal its airflow, the load over ρ c_p ΔT, shared equally among a room's terminals (named in the row, or found inside the room's region on its level). The source's group is sized by `design.method`: `equal_friction` (the default: each duct the smallest listed size within the friction rate and the velocity limit) or `static_regain` (a tree only: the ducts leaving the source by equal friction, each other duct the smallest size whose losses the fall in velocity pressure pays for); the method is named on the result. Fittings' losses go on the link they act on: entered (MEP4) first, then our CFD's (MEP23, `computed`), then Borda–Carnot for an expansion; a bend or junction with no fitting, a fitting with none, or a terminal with no load makes the result `unevaluable`, each named in `gaps`. **Pressure basis: total.** Every coefficient is a total-pressure one, the solver's head is read as total pressure relative to the room, a link's static pressure is its total less its own velocity pressure, and a terminal needs its velocity pressure plus its device's drop. **As drawn** (`basis`): the sizes are proposals, so each link's velocity, friction and pressures and `fan`, the duty (flow, total pressure, static pressure at the outlet), are the network as the model draws it (each run at its `current` section); each link's `proposed` gives its proposed section with the same values, and `fan_if_proposed` the duty with every proposal adopted (absent where every run is drawn as proposed); `selection` checks each fan and air-handler record the caller may read (`candidates`, or its own and the seed's), and each choice's `method` says how: `curve` where the record holds a fan curve (`fan_curve`: pressure against flow at a stated speed and density), read against the system curve through the duty (dP = k Q^2, the network as drawn), with `curve` giving the operating point where the two cross, the margin against the design duty, where on the curve it sits (`region`: `stable`, `stall`, `beyond_stable`, or `not_stated` where the record gives no stable range) and the speed that meets the duty by the fan laws, the verdict `meets`, `short_of_duty`, `stall` or `off_curve` (nothing is extrapolated); else `rating point only, no curve`, the rated point against the duty. `proposals` are `type` and `modify` commands that set the sizes; nothing is changed. `defaults` names every value this route assumed (ours, not a standard's). Refusals: `AIR_BAD_INPUT`, `AIR_SOURCE`, `AIR_TOO_LARGE`, `AIR_STATIC_REGAIN_NEEDS_TREE`, the export's `SYSTEMS_*` and the solver's codes (`NO_SIZE_MEETS_LIMITS`, `MACH_LIMIT_EXCEEDED`…), each 400. A terminal a load row names that is not a supply terminal of the source's group is the gap `TERMINAL_NOT_JOINED` (its `elements` name them) and the design is `unevaluable`; the ducts joined are still sized, each joined terminal on its own share of its room's airflow. **Returns and exhausts (HV9).** With `design.role` (`return` or `exhaust`) the network that ends at `design.source` (the air handler's return connector, a return fan or an exhaust fan: its duct connector flowing in) is a design of its own, never a mirrored supply: `design.airflows` (`ss.mep.airflows/1`: each room's airflow, L/s, shared equally among its grilles, whose duct connectors flow out) gives each grille its flow, every duct is sized by equal friction on the air it gathers, and the junctions converge: a tee's entered coefficients are read as its converging ones on the common (leaving) duct's velocity, each put on the leg it acts on, and a tee with none takes the momentum balance's closed form (physics, not measured; each loss's `note` says so) unless `design.tee_losses` is `entered`, which makes it the gap `FITTING_LOSS_NOT_ENTERED`. A closed form that comes out a gain (K < 0: a slow leg drawn along by a fast one) is applied as 0, its computed K kept beside it (`k_computed`) and the floor a finding (`NEGATIVE_LOSS_COEFFICIENT`): conservative, the fan is never credited with the junction's ejector gain (the owner's decision of 2026-11-27); `design.tee_gains: refuse` keeps it, and the design is unevaluable on the gap of that name. The pressure basis is total, relative to the room: the room's air is at rest at zero, a grille's node sits at the room's total less the grille's entered drop (`terminal_pressure_pa`; no velocity pressure is owed on the way in), every total on the inlet side is negative, and `fan` gives the flow, `total_pressure_pa` (its outlet's total less its inlet's), `static_pressure_pa` (the total less the velocity pressure at its outlet), `external_static_pressure_pa` (the static rise across it), the inlet's total and static and the discharge's total; `index_run` lists the index run's links from the index grille to the fan. An exhaust's discharge is the duct group its fan's outlet joins, designed as drawn to its discharge terminals (`discharge`, each terminal discharging one velocity pressure and `discharge_terminal_pressure_pa`), or an entered `discharge_pressure_pa` where none is drawn. The answer is as drawn with the proposal beside it, exactly as a supply's (`fan_if_proposed`, each link's `proposed`). **The air balance** (a return's `design.balance`): supply = return + exhaust + relief + pressurisation for the rooms one air handler serves, the return this design's and the rest entered; `balance` gives the residual and `closes`, the finding `AIR_BALANCE_NOT_CLOSED` (in `findings`) says by how much it does not, and with `supply_static_pressure_pa` it gives the unit's external static pressure, supply and return together, which a unit's record is checked against. A return's or an exhaust's own gaps: `TERMINAL_WITHOUT_AIRFLOW`, `NO_TERMINAL`, `TEE_NOT_CONVERGING`, `TEE_LEFT_THROUGH_BRANCH`; static regain is refused (`AIR_BAD_INPUT`). # A year on a weather file room by room: heating and cooling energy by month, peak hours, free-float temperatures (`ss.mep.annual/1`, MEP21) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-annual openapi.json POST /v1/bim.annual Computed by a BIM worker on the heavy lane by our building energy engine's run on a weather file (port slices A to D with MEP21's annual run): the rooms become spaces and zones as the energy model makes them (`/v1/bim.energy`, MEP16), January 1 is repeated until it converges (warm-up), then each day of the weather file's year runs in turn, each zone with a setpoint held at it by an ideal system and each zone without one floating. The weather file is a stored blob (`POST /v1/blobs`, an EPW of one year of hours, January 1 to December 31) named by its key in `weather`; the site is the file's own location, as the referee takes it on such a run. Each zone says its year's and each month's heating and cooling energy (kWh: the ideal system's sensible heat to the zone air, the outdoor air it brings in not in it), the year's peak hourly heating and cooling (the largest hour's mean rate) with date and hour ending, and the zone air's highest, lowest and mean hourly temperature with the hours of the extremes (`basis` says free-floating for a zone with no setpoint); `building` sums them. Gains are on all year at their entered values; the calendar has no holidays and no daylight saving; the values not entered take the referee's defaults, each named in `conditions.defaults`. The engine's version is in `engine`; the result is a function of (document, weather, engine, the request). With a gap (a weather file that isn't one year `WEATHER_REFUSED`, what stops the energy model, a separation line between rooms, a building past the report's work budget `ANNUAL_TOO_LARGE`) `state` is `unevaluable` and `gaps` names each one. # Clashes: the building systems against the structure and each other, hard and with entered clearances, insulation and access zones (`ss.mep.clashes/1`, MEP31) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-clashes openapi.json POST /v1/bim.clashes Computed by a BIM worker on the heavy lane under its own work budget. System elements are pipes, ducts, conduits, cable trays, and components that are pipe fittings, pipe accessories or equipment, or generic families with a pipe or duct connector; structure is walls, floors, columns, structural columns, beams, footings and strip footings, with doors', windows', floor openings' and shafts' voids cut as the engine cuts them. A component whose family's name contains "sleeve" (or is listed in `sleeves`) is a sleeve: where a run lies wholly inside one, that stretch is not tested against the structure. Elements the system graph joins (MEP3), conduits and trays whose ends meet, never clash. Kinds: `hard` (overlap deeper than the tolerance; `depth` is the most the element can be shrunk and still meet), `insulation` (the gap less than the insulation), `clearance` (the gap less than insulation plus the required clearance, from an entered value or an adopted value table, cited in `required_from`), `access` (an element more than the tolerance into an equipment's access zone). Each clash: a stable `id` (from the two elements' GUIDs), `status` against `previous` (`new`, `active`; ids gone are listed in `resolved`), both elements with their systems, the measure, a `point` and a `box` to zoom to; `groups` by system element. Roofs, ceilings, stairs, linked models, wires and devices are not checked (`not_checked`). A rule whose value can't be read, or an element whose solid can't be built, is named in `gaps` and the reply is not `complete`. Refused by name: `CLASHES_REQUEST`, `CLASHES_TOO_LARGE`, `CLASHES_OVER_BUDGET`, and the graph's `SYSTEMS_TOO_LARGE` / `SYSTEMS_OVER_BUDGET`. # An air handler's cooling coil: the outside, room, mixed, off-coil and supply air states, coil sensible, latent and total load, apparatus dew point and bypass factor, condensate, and the supply air checked against the rooms' loads (`ss.mep.coil/1`, HV8) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-coil openapi.json POST /v1/bim.coil A BIM worker on the light lane works out the coil of the air handler `design.system` names for the rooms it serves. **Loads:** `design.loads` is MEP20's load report whole (`/v1/bim.loads`: each room's `sensible_cooling_w`, `latent_cooling_w`, setpoint and outdoor air; a report of another document than `key` is the gap `COIL_LOADS_OTHER_REVISION`, `verdict: unevaluable`), with `design.rooms` naming the rows served (none: every cooled row) and any value entered in place of a row's; or with no report, every room entered (`name, sensible_w, latent_w, setpoint_c`). **Outside air** is an input: `outdoor_air_l_s` for the system (0 for none), or every room's (`rooms[].outdoor_air_l_s`, or the report's rows where the rooms enter `Outdoor air per person` or `Outdoor air per area`); with none the request is refused, `COIL_OUTDOOR_AIR_MISSING`, naming the rooms without: no rate is assumed and none comes from a standard. **States**, each with dry bulb, wet bulb, dew point, humidity ratio, enthalpy, relative humidity and specific volume, by the load engine's moist-air relations at one pressure (the design day's, or `pressure_pa`, or the standard atmosphere at `elevation_m`): `outside` (entered, or the report's cooling design day: its maximum dry bulb with the wet bulb or dew point entered with it), `room` (the return air, at the rooms' setpoints mixed by their supply flows), `mixed` (by the outside air's share of the supply, enthalpy and humidity ratio by mass), `off_coil`, `supply` (the off-coil air after the fan's heat, `fan_pickup_k` or `fan_heat_w`, draw-through) and `apparatus_dew_point`. **What fixes the answer:** four relations tie the supply flow, the off-coil temperature and humidity ratio, the room's humidity ratio, the apparatus dew point and the bypass factor (the rooms' sensible loads carried by the supply air; their latent loads absorbed by it, a latent watt being a kilogram of vapour at the room's temperature; the off-coil state on the line from the mixed state to saturation at the apparatus dew point, a bypass factor of the way from it), so the request gives two of: the supply temperature `supply_c` (or the rooms' supply flows, `rooms[].supply_l_s` or MEP22's answer whole in `design.air`, which fix it), the room's design humidity (`room_relative_humidity_percent` or `room_humidity_ratio`, else the report's `cooling_room_rh_percent`), the coil's `apparatus_dew_point_c`, its `bypass_factor` (or `contact_factor`), or the `supply_humidity_ratio` stated outright. With no supply temperature and no flows it is **chosen from the rooms' sensible heat ratio and the coil**: where the room ratio line from the room state meets the coil's line from the mixed state; `supply_temperature.chosen_by` says which way it came about, `states.room_humidity_from` whether the room's humidity was entered or found from the latent balance, `coil.coil_from` whether the coil's two numbers were given or found. Fewer givens are refused `COIL_INPUT_MISSING` (the message lists every one missing), more `COIL_OVER_DETERMINED`, except the two that are checks: a supply temperature with flows, and a supply humidity ratio with a room humidity. **Coil:** `total_kw` (supply mass flow times the mixed less off-coil enthalpy, less the condensate's own enthalpy), `sensible_kw` (at the off-coil air's specific heat), `latent_kw` (the rest), `apparatus_dew_point_c`, `bypass_factor`, `contact_factor`, `condensate_kg_h` and `condensate_l_h`, and `made_of` (room sensible and latent, outside air sensible and latent, fan), which add to the air's enthalpy drop. **Checks and typed failures** (`verdict: fails`, each in `findings`): `COIL_SUPPLY_FLOW_SHORT` (a room's supply flow can't carry its sensible load at that supply temperature; the finding lists each room, its capacity and the flow it needs), `COIL_LATENT_NOT_ABSORBED` (the off-coil air can't absorb the room latent load: a stated supply is too wet, or no cooling coil leaves air dry enough at that temperature above the coldest apparatus dew point, `coil.min_apparatus_dew_point_c`, 0 C unless entered), `COIL_OUTDOOR_AIR_EXCEEDS_SUPPLY`, `COIL_NO_SUPPLY_TEMPERATURE`. Notes: `COIL_DRY` (nothing condenses), `ROOM_DRIER_THAN_DESIGN`, `ROOM_SURPLUS_AIR`. `rooms` gives each room's flow, sensible capacity and its own humidity. `defaults` names every value assumed (no fan heat, 1.2 kg/m3 for an entered L/s, the 0 C floor): ours, not a standard's. Refusals, each 400: `COIL_BAD_INPUT`, `COIL_INPUT_MISSING`, `COIL_OUTDOOR_AIR_MISSING`, `COIL_OVER_DETERMINED`; an unknown field 422. # Convert an H-track building model (ss.aec.model/1) into a BIM project, one way (BC5) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-convert openapi.json POST /v1/bim.convert The old document's levels, types and elements become the commands that make them, run on an empty project; what has no counterpart is listed under `skipped`, and `ids` maps old eid to new id. By the old key, inline, or an old `bim` project record (converted in place; its chain, when it has one, is rotated onto the new head). # A starting design basis the person confirms: design days from stored weather, the NCC's constructions and room-use values, each with its source (`ss.mep.basis/1`, HV2) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-design-basis openapi.json POST /v1/bim.design_basis Made by a BIM worker on the heavy lane. Every value is `{value, unit, source, confirm: true}`: `source` names the publication, edition and clause or table it was read from, or says "Eddy starting value, not from a standard"; a value with nothing to source it is null with its `gap` code, listed in `gaps`. Never a silent default: nothing enters the model until `apply.commands` is run with `/v1/bim.run.batch`. **Design days** (`design_days`, MEP20's `settings.design_days` shape, wrapped field by field) come from the hourly `ss.gp.weather/1` documents named in `weather` (stored with `/v1/gp.weather.snapshot`; the basis reads them by key and never fetches: fetching needs the network, ERA5 the operator's CDS key): the 0.4 % (or 1 %, 2 %) cooling dry bulb by nearest rank over the hours, the mean wet bulb and wind of the hours within 0.5 K of it, the hottest month's mean daily range, and the 99.6 % (or 99 %) heating dry bulb, each source naming the series, its years and the percentile (`design_conditions` holds every percentile and the method; this engine's statistics, not a published design table). With no weather there are no design days (`BASIS_WEATHER_NOT_GIVEN`). **The edition**: NCC 2025 or NCC 2022 Volume One, as entered (`edition`), else the one the ABCB's adoption table puts in force in `state` on `date` (NSW, Queensland, South Australia and Tasmania stay on NCC 2022 until 1 May 2027), else NCC 2025, each said so in `edition.source`; in NSW, NSW's variations are applied where they bear on a value (NSW Table D2D18, NSW J7D3(2), and in NCC 2022 NSW J4D6's tables). **Constructions** from that edition's Part J4 deemed-to-satisfy values for the entered climate zone and class (J4D4(1), J4D6 and its tables, Table J4D7), Specification 36's air films and Specification 37's area-weighted U-value and solar admittance, giving the glazing's U and SHGC at the facade's glazing fraction (the model's, entered, or a starting value). **Room uses**: occupancy (Table D2D18), heat per person (Table S35C2n), lighting (Table J7D3a), equipment (Table S35C2l), setpoints (S34C2(e)) and infiltration (S34C2(f)); with `key`, each room's use is read from its name unless `rooms` gives it. Outdoor air is not proposed (`BASIS_OUTDOOR_AIR_NOT_SOURCED`: no Australian Standard's table is encoded). `loads_settings` is `/v1/bim.loads`'s `settings` once whole (else null). `apply.commands` are the engine's own `material`, `type`, `parameter` and `modify` commands: stand-in resistance layers on the outdoor and ground types that fall short, ratings on the project's window types, the room parameters made where missing and each room's values; a value the model already holds is kept (`apply.kept`). Uses: office, meeting, lobby, corridor, toilet, staff_room, kitchen, storage, plant, retail, restaurant, cafe, classroom, laboratory, library, auditorium, stair, carpark, bedroom, ward, gym, computer_room. Gaps: `BASIS_SITE_NOT_LOCATED` (no geocoder: give coordinates), `BASIS_WEATHER_NOT_GIVEN`, `BASIS_WEATHER_FAR`, `BASIS_WEATHER_INCOMPLETE`, `BASIS_CLIMATE_ZONE_NOT_GIVEN`, `BASIS_CLASS_NOT_COVERED`, `BASIS_ROOM_USE_NOT_GIVEN`, `BASIS_USE_NOT_IN_TABLE`, `BASIS_OUTDOOR_AIR_NOT_SOURCED`, `BASIS_GLAZING_CANNOT_MEET`, `BASIS_SHGC_UNCONSTRAINED`, `BASIS_CONSTRUCTION_UNREAD`, `BASIS_PER_ROOM_GAIN_NEEDS_AREA`, `BASIS_PARAMETER_UNUSABLE`, `BASIS_BATCH_TOO_LARGE`. Refusals: `BASIS_BAD_INPUT` and `BASIS_WEATHER_UNUSABLE` (400), `INPUT` (an unknown field, 422), an unknown key (404). # A document's schedules, bill of materials and printed set's plan (`ss.mep.documents/1`, MEP34) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-documents openapi.json POST /v1/bim.documents Derived by a BIM worker from the document at `key` and the equipment records it names (resolved for the caller: another organisation's record is unknown to it), never stored. Schedules: `equipment` (every component naming a record through `Equipment`: kind, record, rated values in the record's units, source, licence), `pumps_fans`, `terminals` (components with an incoming air duct connector and no record: room, neck, `Design flow`), `fixtures` (plumbing and drains: MEP10's parameters), `boards` (MEP14's boards, when the model has them), `takeoff_runs` (pipes, ducts, conduits, trays, wires and cables by kind, system, type and size: count and 3D length) and `takeoff_fittings`. Each row names its elements and their GUIDs. The bill of materials: a line per record (`equipment`), per family and type (`component`), per run kind, type and size in metres to the millimetre (`run`), each with its elements, source and licence (a customer's or a VDI 3805 record's licence kept, `customer's own data`), find numbers 10, 20, ... A value none gives is `-`. The plan of the printed set: `G-01` the cover and drawing list, `M-` mechanical schedules, `H-` fixtures, `E-` MEP14's single-line diagram and panel schedules unchanged then Boards, `T-` the take-off, `B-` the bill (or `sheets_refused`). `omitted` names a discipline left out and why (MEP12's or MEP14's refusal); `findings` name `DOCUMENTS_RECORD_UNRESOLVED` and `DOCUMENTS_RUN_TYPE_UNKNOWN`; `records_unknown` the record keys the caller cannot read. Light lane. HV5, the engineering schedule: `equipment`, `pumps_fans` and `terminals` lead with a `Tag` (the `Mark` entered, else the kind's prefix and a number in level order: `AHU-01`, `FAN-01`, `PMP-01`, `AT-01`, `EQ-01` for no record). `equipment` carries Manufacturer and Part number (the record's `identity.brand` / `identity.model`; `no product record` for a generic template, EnergyPlus's data or a family), Required (the duty of each design in `designs`: MEP22's airflow and static or total pressure as drawn, with the duty if MEP22's proposed sizes are adopted in brackets where it differs; MEP25's sensible cooling and heating; MEP24's plant capacity, flow and pump head), Rated at duty, Check (`pass`, `fail: ...`, MEP25's own verdict on the record, or `not checked: ...`), Electrical kW, FLA A (`full_load_current`, or `(calc)` from `rated_voltage`, `power_factor` and `identity.phase`), Weight kg, Size L x W x H mm, Record key and Design key; `terminals` the MEP22 flow and Throw / Noise (`not selected (HV10)`). A cell with no number says why; each row's `gaps` name the typed code (`{column, code, message}`: `SCHEDULE_NO_DESIGN`, `SCHEDULE_NOT_RATED`, `SCHEDULE_NOT_IN_RECORD`, `SCHEDULE_NO_PRODUCT_RECORD`, ...) and its `sources` where each number came from (`{column, key, path}`: the record's key and `rated.`, or the design result's key and the path in its answer). Each bill line carries its elements' `tags`; `designs` lists each design read (`{design, element, key, status, code, message}`, its key BLAKE3 of the design's own answer). # Does an issued bill of materials tie to the model at its head? (MEP34) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-documents-check openapi.json POST /v1/bim.documents.check The issue's snapshot and EBOM read here; a BIM worker reads the document at the issue's head again and compares every bill line (identity, quantity, unit, elements by id and GUID) and every EBOM line (find number, child, quantity, unit), and checks the issue's item is released pinning this issue. Tied: 200 `{tied: true}`; with the project's head moved since, `head_moved` and `since_issue` (what the bill would change at the new head). Any difference: 409 `DOCUMENTS_BOM_MISMATCH`, naming each line by find number and what differs (`quantity`, `unit`, `elements`, `missing_in_model`, `not_on_bill`, `missing_in_plm`, `extra_in_plm`, `child`). # Two issues compared: heads, sheets, schedule rows and bill lines (MEP34) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-documents-diff openapi.json POST /v1/bim.documents.diff From the two issues' records and snapshots, by a BIM worker (no document read): `same_head`; sheets added, removed and changed (by number; each sheet's digest is BLAKE3 of its drawn SVG); each schedule's rows added, removed and changed (rows keyed by their elements' GUIDs, changed cells with before and after); bill lines added, removed and changed in quantity (keyed by identity); `unchanged` when nothing but the issue's own name, purpose and date differs. # Issue the set: freeze it at the head, the bill of materials into PLM, released (`ss.mep.issue/1`, MEP34) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-documents-issue openapi.json POST /v1/bim.documents.issue With `project`, `key` must be the project's head now (`DOCUMENTS_NOT_HEAD`, 409). A worker draws the set and its snapshot on the heavy lane; each bill line's item is made or reused in the caller's organisation (`part:~:mep-<16 hex>` or the shared `part:mep-...`; a line of equipment pins its record as payload `mep_equipment`); the issue's own document item (`...:mep-issue-<16 hex>`) gets the EBOM (`ss.plm.bom/1`, lines `as_stored` at each child's head revision), its payload the issue record, the PDF and the snapshot attached, and is released on `date`. An issue name is unique per project (or key): `DOCUMENTS_ISSUE_EXISTS` (409). A set with a discipline left out is refused `DOCUMENTS_OMITTED` (409) unless `allow_omitted`; a component naming a record the caller cannot read, `DOCUMENTS_RECORD_UNRESOLVED` (409). HV5: `designs` as `/v1/bim.documents` takes them; the issue record keeps them (`designs`, the request, re-run by `/v1/bim.documents.check`) and what they gave (`design_results`, each design's `{design, element, key, status}`). # The printed set as one PDF, or one sheet as PDF, SVG or PNG, marked PREVIEW, NOT ISSUED (MEP34) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-documents-sheet openapi.json POST /v1/bim.documents.sheet Drawn by a BIM worker on the engine's own sheet frame (the project standard's paper, border and title block), the issue strip and the document key under every drawing; the whole set as one PDF on the heavy lane, one sheet on the light lane. Kept as an artifact (`bim_documents`, header `x-eddy-artifact`; `x-eddy-pages`). A schedule wider than the paper (HV5's equipment schedule) prints in column groups, the tag first in each; `designs` as `/v1/bim.documents` takes them. # One sanitary or stormwater drainage system of a document: the NCC's discharge-unit method or roof catchment, falls, vents, part-full flow, proposed sizes (MEP11) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-drainage openapi.json POST /v1/bim.drainage Read off the system graph by a BIM worker, as a tree toward `outlet` (the component whose connector takes the flow away). **Sanitary**: NCC 2025 Volume Three C1V1 and C2V3, built in (CC BY 4.0, attributed in `ncc`): each section carries `K × ΣDU + other`, at least the largest fixture upstream's discharge units in L/s; `K` entered, or Table C2V3a's upper end for `building_class`; a fixture's DU is its entered `Discharge units` or Table C2V3b's row its `Fixture type` names; graded runs are solved part full by Colebrook–White (C2V4's 1.5 mm and 1.01e-6 m²/s unless entered) against C2V1's 0.8 to 2 m/s and fill (its 0.65:0.35 end read as the most of the area liquid fills, stated). An adopted value table (`value_table`) adds AS/NZS 3500-shaped checks by key (`fixture_units:`, `max_fixture_units:`, `min_grade:`), cited on each run; no paid value is built in. **Storm**: each inlet's `C I A / 3600` L/s from its entered `Catchment area`, `rainfall_intensity_mm_h` and `runoff_coefficient`; Manning's formula with `manning_n`; the roofs' plan area beside the catchments (`CATCHMENT_SHORT`). Findings: `DRAIN_FALLS_UPHILL`, `DRAIN_NO_FALL`, `DRAIN_OVER_CAPACITY`, `DRAIN_TOO_FULL`, `DRAIN_VELOCITY_LOW`, `DRAIN_VELOCITY_HIGH`, `DRAIN_GRADE_LOW`, `DRAIN_OVER_TABLE_LOAD` (fail); `DRAIN_UNVENTED`, `VENT_TERMINAL_LOW`, `DRAIN_SMALLER_DOWNSTREAM`, `FREQUENCY_FACTOR_OUTSIDE_TABLE`, `CATCHMENT_SHORT` (check). A dry branch rising all the way to an open end is a vent, not a gap. `verdict`: `meets`, `fails`, or `unevaluable` with `gaps`. # A document's rooms as an energy model: space boundaries, adjacency, and the energy referee's input file (MEP16) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-energy openapi.json POST /v1/bim.energy Made by a BIM worker on the heavy lane. Each enclosed room is a space and each zone (MEP15) a zone; walls, floors, roofs, doors and windows become surfaces with what lies beyond each (outdoors, the ground, another room's surface, or adiabatic, named in `notes`). With the designer's `settings` (site, design days, ground temperature; nothing built in) and no gap, the file is written to the blob store (`model_key`, `uri`) and `state` is `written`; with any gap (a room not enclosed, a floor or roof missing, a material without thermal data, a value out of range) nothing is written, `state` is `unevaluable` and `gaps` names each one. The file is the referee's input for checking our engine; it is not a compliance result. # Keep an air design in the project's BIM graph, so its sizes stay correct after edits (BP1) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-graph-air openapi.json POST /v1/bim.graph.air Saves (or with `remove`, takes out) an air design's brief in the project's BIM graph on ParamDB (docs/bim-paramdb-plan.md), then brings the graph up to date at the project's head. The graph keeps MEP22's answer (`air/`, the bytes `/v1/bim.air` gives), the design data by element (`design/`, `ss.mep.design_data/1`: each terminal's, duct's and fitting's design flow, size and velocity, computed and never written into the model), the verdict's air check (`verdict.air/`) and, when `loads` is `{report: {settings, sizing?}}`, MEP20's load report on the model's envelope (`loads/`, heavy: deferred until `update`). After every later edit of the project a background sync re-runs the light nodes; an edit that touches nothing a node reads cuts off there, and a head seen before (an undo) is answered from the store's memo. Every node is `fresh`, `stale` (with the inputs that moved) or `none`. Needs a mounted store (503 `PDB_UNMOUNTED`). # Keep a service's request in the project's BIM graph: water, drainage, hydronic, sizing, panels, documents, clashes or a route (BP2, BP3) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-graph-brief openapi.json POST /v1/bim.graph.brief Saves (or with `remove`, takes out) a service's request (`request`: its route's body without `key`) in the project's BIM graph as `/`, then brings the graph up to date. At every sync the gateway prepares the request as its route does (the value tables at their revisions, the records the caller may read), so a new adoption of a table makes the node stale; the node's value is the service's own answer (without the head's key, with `inputs` as the route echoes it; a refusal of the inputs is kept as `{refused: {code, message}}`). A brief that reads value tables and names no `on` is pinned to today's date, resolved once here. `clashes` and `route` are heavy: deferred until `update` or `/v1/bim.graph.sync {update}`, and a route plan is never re-run by itself (D3); its node is `applied` while the head is the plan's result. A `water` brief adds the verdict's water check; a `sizing` brief the electrical check (`circuits` beside it); any piped brief the system graph and MEP7's measures. R7: `checker` keeps MEP7's checker over the graph's own `measures` (`{state?, on?, packs?, sources?}`): its packs (those named, else those adopted in force for `state` on `on`) and the tables their rules read are pinned at their revisions when the brief is saved and when a sync names its node in `update`. A pack or table adopted anew never re-runs it: `GET /v1/bim.graph` shows the node `stale` with `rules` among its causes and `rules_moved` (`{item_id, from, to}`), and the graph's verdict marks its checker check stale, until the person brings it up to date. # Bring the project's BIM graph up to date, and the heavy nodes named (BP1) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-graph-sync openapi.json POST /v1/bim.graph.sync Brings every light node of the project's BIM graph up to date at its current head and, for each node named in `update` (`["*"]`: every one), runs the heavy ones too ("Bring up to date"). A node whose evaluation is refused for a reason of the moment (busy, timeout) stays stale and is named in `failed`; a heavy node not asked for stays stale and is named in `deferred`. 404 `BIM_GRAPH_NONE` when the project keeps no graph. # The gate that a project's history is its own episode (BC5.b) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-history-check openapi.json POST /v1/bim.history.check Every recorded step, replayed on the document recorded before it, must leave the document the chain recorded after it: by key, or, for a document stored before a file format step, by its bytes in the engine's format (`migrated` counts those steps, and `folded` is then the head's key in the engine's format). `diverges_at` names the first step that does not. # A chilled, condenser or heating water loop designed on the network solver: flows from its terminals' loads, the index circuit and the pump's duty, each balancing valve's drop and authority, the closed loop checked, sizes proposed, and plant and pump records checked against the duty (MEP24) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-hydronic openapi.json POST /v1/bim.hydronic Read off the system graph (`/v1/bim.systems/{key}`) by a BIM worker on the light lane. A loop is a plant component (`design.plant`) whose `chilled`, `heating` or `condenser` water connector flowing out feeds the supply pipes and whose connector flowing in takes the return back (or `supply_connector` / `return_connector` by their place in its family's list); the terminals are the components with one connector on each side. Each terminal's flow is its load over ρ c_p ΔT at the loop's mean temperature (water, or an ethylene or propylene glycol mixture, from the ported EnergyPlus tables), the load read from the request's own row for it, a load report's row naming it (MEP20's `ss.mep.loads/1`), its `Cooling coil load`, `Heating coil load` or `Condenser heat`; or its flow from its row or MEP2's `Design flow`. Every terminal says where its flow came from. **Design, then a closed-loop check.** The design solve gives each circuit's loss (supply pipes, the terminal's `Coil pressure drop`, its `Control valve drop`, return pipes, the plant's entered drop); the largest is the index circuit and the pump's head; every other balancing valve drops the difference. The closed loop (the pump as that head, or `available_head_kpa`, between the expansion tank at the entered fill pressure and the plant's outlet) is solved again and must give every terminal its design flow back. **Read `verdict` and `design_point` first:** `not_valid` (a node under gauge zero: the fill pressure cannot hold the loop), `short` (a terminal under its flow, named), `unevaluable` (each gap named in `gaps`), `meets`. `arrangement` says direct or reverse return by the circuits' lengths, the rule stated. `sizing` (with `propose_sizes`, a velocity or friction limit and `sizes`) gives `type` and `modify` commands and the loop designed again on them; nothing is changed. `selection` checks the chillers, boilers, hot-water heaters (`water_heater` duty) and pumps the caller may read (`candidates`, or its own and the seed's): capacities at their rating point (a chiller's on its capacity curve where `entering_condenser_c` is given and inside its fitted range), pumps on their curve by solving the loop again with each. `detail: full` adds the closed loop as `network`, for a referee. Refusals: `HYDRONIC_REQUEST`, `HYDRONIC_PLANT`, `HYDRONIC_SIZES`, `HYDRONIC_TOO_LARGE`, the export's `SYSTEMS_*`, each 400; `EQUIPMENT_TOO_MANY_RECORDS` 422. # The IFC coherence gate: export and read back, the same elements by category (BC5) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-ifc-check openapi.json POST /v1/bim.ifc.check Levels, walls, floors, ceilings, doors, windows, columns, beams, roofs, rooms, stairs and railings must come back in the same numbers; the differences are listed, never hidden. # Import an IFC, .bimcraft, DXF or Revit (.rvt) file as a candidate document (BC4) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-import openapi.json POST /v1/bim.import An import mints a candidate document and never mutates a model (the I-track doctrine): `ifc` and `rvt` read the file into a new document whose GUIDs are minted from the file's bytes (the same file is the same candidate); `bimcraft` opens a project file; `dxf` places the drawing into the document at `key` through `import_cad` with `params`. `.rvt` needs a build with the `rvt` feature; one without refuses it by name (`RVT_NOT_BUILT`, 501). "Autodesk" and "Revit" name the file format only. TL3c: `blob` (a blob id) instead of `text` or `bytes_base64`: the file is read from the blob as the caller and imported exactly as if sent inline; giving both is 400 FILE_GIVEN_TWICE. # Every pipe and duct of a document against insulation R-values a person typed or an adopted value table names; no R-value is built in (MEP24) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-insulation openapi.json POST /v1/bim.insulation By a BIM worker on the light lane. `rules` are typed requirements (`medium` pipe or duct, the runs' `system` or every system, `up_to_mm` a pipe's outside diameter or a duct's larger side, `r_value` m²·K/W, and optionally `fluid_c` and `ambient_c` for the heat through a pipe's insulation); `table` names an adopted value table (MEP8) whose entries are `pipe::` or `duct:…` in `m2K/W`, resolved in your namespace and in force for `state` on `on`. A run takes the most specific rule (a named system, then the smallest size bound; a tie the larger R). What a run has is its `Insulation R value`, else its `Insulation thickness` over its `Insulation conductivity`; not entered is `unevaluable`, never a pass. `propose` adds `modify` commands that set a short or unentered run's `Insulation R value` to what its rule requires. Every result cites its rule (`rules_applied`) and the table's entries. Refusals: `INSULATION_REQUEST`, `INSULATION_TOO_LARGE`, each 400. # Design-day heating and cooling loads room by room, with what makes them up (`ss.mep.loads/1`, MEP20) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-loads openapi.json POST /v1/bim.loads Computed by a BIM worker on the heavy lane by our building energy engine's zone sizing (port slice D): the rooms become spaces and zones as the energy model makes them (`/v1/bim.energy`, MEP16), each zone with a setpoint is held at it by an ideal sizing system through each design day after its warm-up, and each zone's loads are averaged over the averaging window, their peak taken and the design day chosen by flow, then times the sizing factor (`design_w`, beside the calculated `calculated_w`). Each load names its design day (as entered), date and time of peak (null when a design flow has no load and no day passes the referee's own test), the outdoor and zone air then, the design air flow at the design supply temperatures, and its `components`: the heat each kind of thing gave the zone air at the peak (people, lighting, equipment, walls, roofs, floors, doors, windows, internal mass, infiltration, the air's stored heat), averaged over the same window, which with the system's delivery sum to zero. Zone loads exclude the outdoor air a system brings in; each zone's design outdoor air flow is given beside them. **Latent (HV8):** each cooled zone's row also gives `latent_cooling_w`, `total_cooling_w` and `sensible_heat_ratio`, and under `cooling.latent` what the latent load is made of at the sensible peak, averaged over the same window: people's latent part (their activity less its sensible part, split by the load engine's fit at the room's air temperature unless the room enters `People sensible fraction`; `people` gives the split and says which), the equipment's, and infiltration's (its dry air times the outdoor less the room humidity ratio; negative where the outdoor air is the drier), a latent watt being a kilogram of vapour at the room's temperature; the room's humidity ratio is the design relative humidity's (`sizing.cooling_room_rh_percent`) or, with none, the sizing run's own zone air, and the row says which. `cooling.outdoor_air` is the load of the zone's outdoor air brought to the room's state (sensible, latent, total), apart from the room's loads since it lands on the air handler's coil (`/v1/bim.coil`); `outdoor_air_entered` says whether the room entered a rate. The sensible results are unchanged by any of it. **Gains:** people, lighting and equipment are on all day at their entered values on the cooling design days, and off on the heating design days (usual practice, as the referee's WinterDesignDay schedules hold them), named in `conditions.defaults` and said in `conditions.heating_gains`; `sizing.keep_heating_gains` keeps them on, said there. The sun on a heating day is its sky clearness's (0: none), each day's in `conditions.heating_solar`. The weather and design conditions are named as entered (`settings`: site, design days, ground temperature; nothing built in) and the sizing values not entered take defaults, each named in `conditions.defaults` (factors of 1 and an hour's window are the referee's; the supply air's are ours, since the referee has none). A supply air that can't meet a zone's setpoint is a gap, never a 0 W load. The engine's version is in `engine`. Rows are what air sizing reads (`/v1/bim.air`'s `design.loads`): `name`, `room` (a sized zone of one room), `sensible_cooling_w`. With a gap (what stops the energy model, a separation line between rooms, nothing conditioned, a building past the report's work budget `LOADS_TOO_LARGE`) `state` is `unevaluable` and `gaps` names each one. # A structured brief to the engine's commands that draw it: the shell, our generic families, terminals, sources, boards and their entered values, with the next requests (`ss.mep.layout/1`, MEP33); with `existing`, the services alone into the document's own building (MEP33b) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-mep-layout openapi.json POST /v1/bim.mep.layout Start an agent's design here, on a new project (`bim_project_create`) with `shell`: the layout reads the document's levels and refuses one that already has walls (`LAYOUT_DOCUMENT_NOT_EMPTY`). Or (MEP33b) into an architect's model already in the project (an imported `.ifc` or `.rvt`) with `existing` in place of `shell`: nothing is drawn but the services, placed into the rooms `bim_mep_rooms` reads (call it first for the storeys and room names to place by); a room it could not read is refused by name (`LAYOUT_ROOM_NOT_READ`), and the answer's `rooms` lists every room not read and every room placed in a rectangle smaller than itself; `placements` gives every component's room. `brief` is `ss.mep.brief/1`, its fields in this request's schema: the shell and its rooms; per discipline what to place and the values the brief gives (air: plants, rooms' diffusers and loads, tee losses, and the return and exhaust where asked; water: meter, heater, fixtures, flows, pressures, pipe sizes, elbow loss, drainage by others or asked; electrical: boards and their supply or feeder, lights, outlets, circuit data); the person's checks. Every number the design rests on comes from the brief; the families' geometry, the placement on a grid in each room and the cable lengths' 20 % allowance are ours, named in `defaults`. The answer: `commands` (each `{command, params, as?}`; run them all with `bim_run_batch` on the project, each an undoable step), `handles` (the names `as` gives, used as `"$name"`), `placed`, `circuits`, `next` (the requests to send after, in order: `bim_route` per tree (each supply, then each return, exhaust and discharge asked for) then `bim_run_batch` on its `commands`, `bim_water` with `propose_sizes` then `bim_run_batch` on `sizing.commands`, then `bim_mep_verdict`; pass `next` as the batch's `fill` to get its names as ids, and set each body's `key` to the project's head when you send it), `could_not` (what this design leaves undone, by code: tell the person), `defaults`, `notes`. Nothing is stored. Refused by name: `LAYOUT_BRIEF`, `LAYOUT_DOCUMENT_NOT_EMPTY`, `LAYOUT_LEVELS`, `LAYOUT_PLENUM_TOO_SHALLOW`, `LAYOUT_ROOM`, `LAYOUT_ROOM_UNKNOWN`, `LAYOUT_ROOM_NOT_READ`, `LAYOUT_NO_ROOMS`, `LAYOUT_ROOMS_OVERLAP`, `LAYOUT_SHAFT`, `LAYOUT_AIR`, `LAYOUT_WATER`, `LAYOUT_ELECTRICAL`, `LAYOUT_VALUE_MISSING`, `LAYOUT_NO_SPACE`, `LAYOUT_TOO_LARGE` (each 400). `questions` (R2 of the rules plan): what the layout asks, typed (`ss.question/1`), beside `air_zoning`, which stays one release. A source's `distribution` the brief leaves out is the layout's starting value, named in `defaults`. # An architect's model's levels and rooms as the layout reads them, and every room it could not read, with why (`ss.mep.rooms/1`, MEP33b) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-mep-rooms openapi.json POST /v1/bim.mep.rooms Read before laying services into an imported building (`bim_mep_layout` with `existing`). Storeys are the document's levels by elevation, numbered from 1, each with its height to the level above and its usual ceiling height (of the ceilings drawn on it, the height over the most ceiling area, else `ceiling_mm` as entered here). `rooms`: each room read, with `name` (what a brief places by: the room's own name, or with its number where two on a storey share it), `number`, `id`, `area_m2` (the engine's own boundary), `rect` (the axis-aligned rectangle the layout places into: the room when it is one, else the largest one inside it, at least 1000 mm each way) and `coverage` (its share of the room), `outline` and `holes`, `ceiling_mm` (the ceiling drawn over most of it, else its level's usual, as `ceiling_from` says) and `ceiling_space_mm` (above that ceiling to a 200 mm slab under the level above; the air goes only where it is at least 725 mm). `not_read`: every room that can't be used, with `code` and `why`: `ROOM_NOT_ENCLOSED`, `ROOM_SHARES_SPACE`, `ROOM_NO_LEVEL_ABOVE`, `ROOM_NO_CEILING_HEIGHT`, `ROOM_NO_CEILING_SPACE` (its ceiling leaves no ceiling space under the level above: an open-to-above ceiling, say), `ROOM_SHAPE`, `ROOM_NAME`, `ROOM_NAME_TWICE`, `ROOM_LIMIT` (the first 400 rooms are read). A storey's `walls_to_slab` (MEP32b), where it has any: of the walls crossing its ceiling space (`of`), those running from under its usual ceiling to within 400 mm of the level above (`count`), and the first 20 of their types' names (`types`). `shafts`: the document's rectangular shafts. `ceilings_too_high`: each room whose ceiling leaves no ceiling space or less than the air needs, with `room_id`, `ceiling_ids` (the ceilings drawn over it), `ceiling_mm`, `ceiling_space_mm`, the level's `usual_ceiling_mm` and the space it would leave (`usual_ceiling_space_mm`), `needs_mm` (725), `gets_no_services` and `effect`: what a proposal to lower the ceiling reads. Nothing is stored or changed. Refused: `ROOMS_REQUEST` (400); the document's own refusals as `bim.elements` gives them. `questions` (R2 of the rules plan): where walls run to the slab on at least half of a storey's ceiling-space crossings, whether to cross the partitions (`WALLS_CROSS`, `ss.question/1`: `interior` changes the model, so it is approved with the plan; `none`). Absent where nothing is asked. # Is the design checker-clean, in one compact answer, and what is left undone (`ss.mep.verdict/1`, MEP33) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-mep-verdict openapi.json POST /v1/bim.mep.verdict Runs the units' own routes on the document `key` names and folds their answers, so it cannot disagree with them: for air or water, `graph` (MEP3: no finding), `served` (MEP7's measures from `sources`: every terminal reached; it fails when a terminal the design meant a source to serve is not joined to it: the terminals each `air[].loads.rooms[].terminals` names for its `source`, and any other terminal of a sourced system's medium and domain left joined to no run, each listed under `TERMINALS_NOT_SERVED` with `elements`, `meant`, `reached` and `not_joined`), `checker` (MEP7's `standards.check` with `packs`, adopted by a person: every verdict `pass`; no pack is `not_run`; with no pack and `intent`, the design-intent check: the design checked against its own stated targets, not a standard), `clashes` (MEP31 with `clashes`' rules: none, complete); per `air` design (MEP22's `design`, as `bim_air` takes it): valid, every room with a load served, every terminal's airflow from its room's load; per `water` request (MEP10's body less `key`): `meets`; for electrical, MEP12's tree with no finding and MEP13's sizing (with `electrical.values`, adopted tables) passing every check. Each check: `pass`, `fail`, `unevaluable` (a gap or a refusal: never a pass) or `not_run`, a `summary`, at most 10 `items` naming elements (the rest counted in `more`). `clean` is every check `pass`. HV3: with air, `package` holds the HVAC design package's own checks in the same shape, beside `checks` (never in `clean`): `loads` (every air design sized from MEP20's computed loads, held to the report `loads` runs; entered loads are `LOADS_NOT_COMPUTED`, a room the air serves with no computed cooling load `ROOM_LOAD_NOT_COMPUTED`, another load than the report's `LOAD_NOT_THE_REPORTS`), `equipment` (each air handler's record named by its `Equipment` parameter against MEP22's duty at the rating point, the margin stated: `EQUIPMENT_NOT_SELECTED`, `EQUIPMENT_UNDER_CAPACITY`, `EQUIPMENT_NO_RATED_DATA`, `EQUIPMENT_RECORD_UNREADABLE`, `EQUIPMENT_DUTY_UNKNOWN`; each `packaged` system by its own verdict and codes, `EQUIPMENT_AT_RATING_ONLY`) and `section_j` (MEP26's report: its modelled tests pass, or `SECTION_J_TEST_FAILS`, `SECTION_J_NOT_REPORTED`, `SECTION_J_NOT_RUN`); `package_complete` is `clean` and every package check `pass`. `could_not` is what the design leaves undone, by code, from the layout's codes (pass them in `could_not`) and what the answers show, each with its sentence: tell the person every one. The clash check runs on the heavy lane. A busy, unknown or forbidden document answers as its unit would (429, 404, 403). Refused by name: `VERDICT_REQUEST` (400). # An element's lines in pixels of a view, to overlay as a selection (BC5.b) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-outline openapi.json POST /v1/bim.outline Each element's polylines and fill rings in the pixels of the image the same parameters render; the 3D view has none (pass `selected` to bim.view and it tints). # Packaged, split and VRF systems: each unit's candidate records checked against the load report and the first that meets selected, the refrigerant tree's lengths, heights and sizes against the record's or the maker's limits, charge and room concentration (MEP25) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-packaged openapi.json POST /v1/bim.packaged A BIM worker on the light lane designs each system `design.systems` names (`packaged`: one unit; `split`: an outdoor and an indoor unit; `vrf`: an outdoor unit and its indoor units on one refrigerant tree) against `design.loads`, an `ss.mep.loads/1` load report (MEP20's, with `sizing.profiles: true` for the coincident peak) or loads entered by a person. Each unit is held to the zones it `serves` (else the room it stands in); a VRF outdoor unit to its system's sum (the default) or coincident peak (`outdoor_basis`). Each candidate record (MEP6 keys, resolved here for the caller; `unknown_records` lists those that name nothing readable) is checked: rated capacity corrected to the design conditions **only** by the record's own curves or curves entered for the unit (`dx_cooling_capacity_ft`, `dx_heating_capacity_ft`; for a VRF outdoor unit also the combination-ratio correction and the piping correction factor, as EnergyPlus's system-curve VRF model takes them); with none, the verdict is `meets_at_rating` or `short_at_rating`, never `meets`. Sensible loads are compared with the corrected total times the sensible heat ratio (the record's, else entered). Every choice says what its data is (`generic`, entered by hand and from what, registered Energy Rating data with its day and snapshot) and carries its licence. The refrigerant tree (MEP3's graph, the line set drawn as one run per segment) gives total, longest actual and equivalent lengths, first branch to farthest, heights and each segment's size from the maker's entered table; every limit is the outdoor unit's record's or entered in `limits`, never built in; a breach is a named finding (`PIPE_LENGTH_TOTAL_EXCEEDED`, `HEIGHT_BETWEEN_INDOOR_EXCEEDED`, `COMBINATION_RATIO_OUT_OF_RANGE`, `REFRIGERANT_CONCENTRATION_EXCEEDED`, …), a missing limit a gap (`LIMIT_NOT_GIVEN`). The room concentration's limit is read only from an adopted value table (`concentration_table`, MEP8, entry `refrigerant:` in kg/m3, resolved for `state` on `on`). Each system's `verdict` is `meets`, `incomplete` (something not known, named in `gaps`) or `fails` (a named finding, or a unit every candidate of which is short). `proposals` are the engine's own commands (`parameter`, `modify` setting each unit's `Equipment` to its selected record); a pipe drawn at another size than the maker's table gives is named (`REFRIGERANT_PIPE_SIZE_DIFFERS`), not resized, since resizing alone leaves size steps with no reducer; nothing is changed. Refusals: `PACKAGED_BAD_INPUT`, `PACKAGED_TOO_LARGE`, the graph's `SYSTEMS_*`, each 400; `EQUIPMENT_TOO_MANY_RECORDS` 422. # Print the generated electrical sheets (single-line diagram, then panel schedules), one of them, the diagram or a board's schedule (MEP14) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-panels-sheet openapi.json POST /v1/bim.panels.sheet The set is drawn on the engine's own sheets (its title block and margins for the project's standard): the single-line diagram first, shrunk to fit if it must but never below 60 %, then every board's schedule in columns, a long one in continued pieces. With no `sheet` every sheet as one PDF; `sheet` (a number, such as E-01) for one as PDF, PNG or SVG; `view: diagram` or `view: schedule` with `board` for one view at 1 : 1. Refused by name when anything cannot be drawn honestly (`PANEL_BOARD_WITHOUT_SUPPLY`, `PANEL_BOARD_REPEATED`, `PANEL_NO_BOARDS`), or does not fit (`PANEL_TOO_LARGE_FOR_PAPER`, `PANEL_TOO_LARGE`). The bytes come back with `x-eddy-artifact` and `x-eddy-pages`. # Pick the element and the model point under a pixel of a view (BC5.b) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-pick openapi.json POST /v1/bim.pick `at` is in pixels of the image the same `view`, `width`, `height`, `azimuth` and `elevation` render. The nearest element as the engine prefers them (`id`), every one within `tol` px when `all`, or the elements inside the box `at`–`to` (`crossing`: touching too); `point` in model millimetres for a plan (a cut's or a sheet's own for those), `point3` on the 3D view's surface. # The plan that puts a confirmed product in place of a generic component: the engine's commands, the ports matched, what does not connect named (MEP27) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-product-bind openapi.json POST /v1/bim.product.bind Worked out by a BIM worker on a copy of the document; nothing is stored. The product stands where the generic component stood (its place, level, turn and mirroring) and its ports are where its own geometry puts them. `commands` are the engine's own, to run in order through `/v1/bim.run`, each an undoable step: `family` (the product's, in the generic part's category, only when the project lacks it), `parameter` (MEP6's `Equipment`, only when absent), `modify` of the component to the product's family with `Equipment` set to the record's key, then a `modify` of each run end moved to the product's port. The generic part's connectors are paired with the product's ports (same kind, domain and flow that agree, size within `size_tolerance_mm`, default 0.5 mm); a run end follows its port when it is within `max_shift_mm` (default 300 mm). Findings: `PRODUCT_CONNECTION_LOST` (a connection no port answers), `PRODUCT_PORT_NOT_CONNECTED` (a port answers but what met the connector cannot follow it, or does not meet it after the commands), `PRODUCT_PORT_OPEN` (a port taking no connector's place), `PRODUCT_CONNECTOR_NOT_CARRIED` (a power, data or earthing connector of the generic part, which a product file's pipe and duct ports cannot carry). `before` and `after` are the graph round the part; `rerun` names the results that read it (the graph, MEP6's placements, the checker, and water, drainage or air where its ports carry what they read), to run again once the commands are run. Refusals by name: `PRODUCT_MAPPING_UNKNOWN` (404, a mapping your organisation did not confirm), `EQUIPMENT_UNKNOWN`, `PRODUCT_TARGET`, `PRODUCT_ALREADY_BOUND`, `PRODUCT_FAMILY_NAME_TAKEN`, `PRODUCT_EQUIPMENT_PARAMETER`, `PRODUCT_BIND_SETTINGS`, `PRODUCT_COMMAND_REFUSED`, the graph's `SYSTEMS_*`. # A person confirms (or edits, then confirms) a product's mapping: the equipment record and the family it makes (MEP27) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-product-confirm openapi.json POST /v1/bim.product.confirm Nothing binds without this: the actor is a person (`human:`; a signed-in user signs as themself). A BIM worker holds the mapping to the file your organisation kept (every port of the product mapped once; every value's `from` a field of the product, or `entered`) and to `ss.mep.equipment/1` (rated values only in each quantity's one unit, within what is physically possible), and records what the person changed from the proposal in `edited`. It makes the equipment record (`source.kind: customer`, the file's key as its snapshot, your stated licence), stored in MEP6's library for your organisation, and the family the product becomes (its box and a connector per port). The confirmed mapping is kept, so the same file maps the same way next time. Refusals by name: `HUMAN_GATE`, `ACTOR_MISMATCH`, `PRODUCT_FILE_UNKNOWN` (404), `PRODUCT_MAPPING_SHAPE`, `PRODUCT_MAPPING_SCHEMA`, `PRODUCT_MAPPING_FILE`, `PRODUCT_UNKNOWN`, `PRODUCT_MAPPING_KIND`, `PRODUCT_MAPPING_NAME`, `PRODUCT_MAPPING_FIELD`, `PRODUCT_MAPPING_BOX`, `PRODUCT_MAPPING_PORT`, `PRODUCT_MAPPING_PORT_MISSING`, `PRODUCT_LICENCE` and the record's `EQUIPMENT_*` codes. # Import a customer's product file (an IFC of types with ports, or a catalogue) and propose how its ports and data map onto our schema (MEP27) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-product-import openapi.json POST /v1/bim.product.import Through the BIM upload door, read by a BIM worker. `format` is `ifc` (types `IFC…TYPE` carrying `IfcDistributionPort`s, nested on the type or on an occurrence of it, with their property sets and an `IfcBoundingBox`), `catalogue_json` (`ss.mep.product_catalogue/1`) or `catalogue_csv` (its flat form: `id`, `name`, `kind`, any data columns with their unit in brackets, and `port.` columns), as docs/mep/MEP27.md defines them, or `vdi3805` (a VDI 3805 sheet-4 pump record: a `.vdi` file, or the manufacturer's ZIP holding one in `bytes_base64`; read from the records themselves, its articles' fields kept by position for a person to map, docs/mep/MEP28.md). The file is kept to the caller's organisation, behind a licence pin with the terms the person states in `licence`, and is never shared or seeded. Each product is listed; up to ten (`products`, else the first) come with their reading and a **proposal** (`ss.mep.product_mapping/1`): its kind, name, identity, rated values in the schema's units, box and every port as a connector (kind, domain, flow, size, place, direction), each choice in `reasons` with what it was read from, why and a confidence; `unmapped` names what nothing holds; `conflicts` where the file disagrees with itself, `blocking` ones to settle before confirming. A product the organisation confirmed before answers its confirmed mapping in `confirmed`. Refusals by name: `PRODUCT_FILE_EMPTY`, `PRODUCT_FILE_MALFORMED`, `PRODUCT_FILE_UNIT`, `PRODUCT_FILE_NO_PORTS`, `PRODUCT_FILE_TOO_MANY`, `PRODUCT_FILE_TOO_LARGE` (413), `PRODUCT_FORMAT`, `PRODUCT_VDI_SHEET`, `PRODUCT_ARCHIVE_MALFORMED`, `PRODUCT_ARCHIVE_ENTRIES`, `PRODUCT_ARCHIVE_PATH`, `PRODUCT_ARCHIVE_METHOD`, `PRODUCT_LICENCE_MISSING`, `PRODUCT_LICENCE`, `PRODUCT_BYTES_ALREADY_STORED` (409); products without ports or with more than eight are listed in `refused`. # Create a BIM project: an empty one or a synthetic sample (BC4) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-project-create openapi.json POST /v1/bim.project.create A new project record (app `bim`) at a fresh document key, or with `project` the replacement of that project's head as a step of its history (undoable). `sample` is `new` (two levels, named in `language`), `highrise` (upstream's synthetic office tower, 1–80 storeys) or `tower` (the reference tower). The same name makes the same document: GUIDs are minted from BLAKE3 over the inputs. # Open a .bimcraft project file as a candidate document (BC4) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-project-open openapi.json POST /v1/bim.project.open The file's JSON object or text, read as BIMCraft's `open` reads one, without the filesystem: an older format brought up, a newer refused (`DOCUMENT`), the library synced, the whole model checked (`MODEL_CHECK` names the element). Fields this engine does not know are left out and named. With `project: true` a project record is made of it. # Redo steps of a project's history (BC3) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-redo openapi.json POST /v1/bim.redo The head moves forward along the redo chain; a run clears it. # Routing: proposed routes in ceiling space and risers for one tree, as the engine's own commands to accept (`ss.mep.route/1`, MEP32) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-route openapi.json POST /v1/bim.route Worked out by a BIM worker on a copy of the document, on the heavy lane under the router's own work budget; nothing is stored. One tree: the `source` component's free pipe or duct connector (`connector` picks one) joined to each of `terminals`' free connectors of the same medium, in each level's ceiling space (from its highest ceiling's top to the next level, or entered in `zones`) and in rectangular shafts (risers), round the engine's own geometry (walls, columns, beams, slabs less their rectangular shafts and openings, runs, components' family boxes, entered access zones) read as boxes grown by the route's half section and clearance. A component that is no part in a ceiling space is left out and listed in `not_obstacles` with why and, unless left out everywhere, `levels`: a conceptual mass (generic family `Mass`), everywhere; or, in the named levels' storeys only and an obstacle on every other, a box that runs right through a level's ceiling space and covers at least half of it in plan, or at least a tenth of it and holds a connector the route joins there (a volume drawn round the building). Nothing MEP31 checks is left out: a system component, equipment of any kind, a sleeve, or anything with a pipe or duct connector. What is left of such a box on other levels keeps the rectangular shafts as voids, as a slab does. Method: a grid every `pitch_mm` with a line through every connector; a Steiner tree by shortest paths (A* over node and direction under length + `bend_cost_mm` a turn + `tee_cost_mm` a tee, a turn or tee at a riser three times, every turn followed by room for MEP4's generic fittings); candidates (two terminal orders, mains laid first along each axis on each level) and the cheapest finished tree kept. Then on the copy: the runs (`type`, `system`), MEP4's fittings, the tees' entered losses (`air.tee_loss`), the pipe elbows' entered loss (`elbow_loss`), MEP22's sizes where `air` gives its inputs, or HV9's where `extract` gives a return's, an exhaust's or a discharge's (planned again for MEP22's largest size when it grows), MEP3's graph and MEP31's check with the request's rules. The answer: every route with its `reason` (where it joins, length, turns, cost, the straight-line ideal and what blocks it), the `commands` in order for `/v1/bim.run` (`"$n"` is the first id the n-th command made; run them on the document `key` names, each an undoable step, to reach `after_key`), the `measures` (terminals joined, clashes by kind, length, fittings placed and missing, MEP22's fan total pressure, risers), and `findings` by name (`ROUTE_UNREACHABLE`, `ROUTE_CONNECTOR_BLOCKED`, `ROUTE_CONNECTOR_NOT_AXIAL`, `ROUTE_TERMINAL_CONNECTED`, `ROUTE_TERMINAL_DOMAIN`, `ROUTE_FITTING_NOT_PLACED`, `ROUTE_CLASH`, `ROUTE_CLASH_CHECK_INCOMPLETE`, `ROUTE_GRAPH_FINDINGS`, `ROUTE_NOT_JOINED`, `ROUTE_SIZING_GAP`, `ROUTE_RATED_WALL`, `ROUTE_BEND_NO_LOSS`: a duct bend with no loss coefficient a design can read, none entered and none in MEP23's computed table, a tight or flat one, named with why; `air.sections.elbow_loss` enters one); `complete` only with none. Shafts no riser may use are listed apart (`shafts_not_used`). Risers run only in shafts; MEP31's clearance and insulation rules (entered or from a value table) and access zones are planned for. Slice 1: round ducts and pressure pipes; rectangular ducts, gravity drainage and pipe sizing are not routed (a duct route is drawn round; MEP22 may size a run as a flat rectangle where no round section fits the depth over it, `air.sections`). Walls (MEP32b), only when `walls.cross` is `interior`: a wall that closes a ceiling space may be crossed where it is interior there (a room read on both sides; on a side with no room, a ceiling of that storey drawn over it; or, on a side with neither, its level's floor under it and the next level's over it, an enclosed space the model has no room or ceiling for: each crossing's `interior_by` says which, `rooms`, `ceilings` or `slabs`, and every one but `rooms` is for a person to check), at `walls.cost_mm` a crossing (default 20 widths of the type, a weight of ours); never a wall that is curved, not along an axis, thicker than 500 mm, load-bearing by its `LoadBearing` parameter or listed in `walls.never` (ids or type names). Each crossing gets a sleeve, a generic round family `Wall sleeve (MEP32b)` (its bore the run's size plus twice its insulation and clearance, its length the wall's thickness plus clearance), placed by a command after the sizes; the wall itself is not changed. The answer then adds `crossings` (each `wall`, `type`, `thickness_mm`, `at`, `run_size_mm`, `sleeve` {command, element, diameter_mm, length_mm}, `rating` {from: `parameter` | `entered` | `not read`, value?}, `structure`, `interior_by`, `level`), `walls_read` (the walls counted by why they may or may not be crossed), `settings.wall_cost_mm` and each route's `walls`; a crossing through a wall with a fire rating (its `Fire Rating` parameter, or listed in `walls.rated`) is the finding `ROUTE_RATED_WALL`, and a type's name is never read as a rating. Left out or `none`, the answer is as it was without crossing. Refused by name: `ROUTE_REQUEST`, `ROUTE_SOURCE`, `ROUTE_TERMINAL`, `ROUTE_TYPE`, `ROUTE_MEDIUM`, `ROUTE_NO_PLENUM`, `ROUTE_TOO_LARGE`, `ROUTE_OVER_BUDGET`, `ROUTE_COMMAND_REFUSED` (422), and MEP3's, MEP31's and the value tables' own. R1–R3 of the rules plan: `issues` (each finding as `ss.issue/1`, its class read from what the plan placed on its copy and what the reach check found closed or open, and the rungs of the `mep.air.duct` ladder the plan ran), and `questions` where a main fits no section in the room around it (`AIR_ONE_MAIN_WONT_DO` for its plant; a larger main can't be done there). # Run one command of the catalog on a document or a project's head (BC3/BC4) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-run openapi.json POST /v1/bim.run An edit is a command plus parameters, run server-side as a pure function of (document, command, params): the document after is stored under its own key and, with `project`, the project's head moves — through its live chain when a store is mounted (the CAS on the epoch the head was read at; a lost CAS or a stale `key` is `PROJECT_HEAD_MOVED`), through the record otherwise. A refusal changes nothing and is typed, naming the command and the element the engine named: `UNKNOWN_COMMAND`, `COMMAND_USES_FILESYSTEM` (the nine file commands and any `path` parameter), `COMMAND_IS_HISTORY` (undo/redo: use bim.undo / bim.redo), `COMMAND_REPLACES_PROJECT` (new/highrise/tower: use bim.project.create), `FONT_NOT_BUNDLED`, `COMMAND_FAILED`, `LIVE_READ_ONLY`. # Run many engine commands in order, each an undoable step, with `"$n"` and `"$name"` filled from the ids earlier ones made (`ss.bim.batch/1`, MEP33) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-run-batch openapi.json POST /v1/bim.run.batch Accept a plan in one call: the commands a layout, a route (`commands`), water sizing (`sizing.commands`), air sizing (`proposals`) or a product binding answers. Or pass `plan` `{tool, body}` instead of `commands`, with `project` (or `key` alone): `tool` is `bim_mep_layout`, `bim_route` or `bim_water`; the plan is made on the project's head, or on the document `key` names when there is no `project`, its commands then accepted as a chain of documents from it and no project changed (any `key` in `body` is replaced, and water always proposes sizes), and its commands (`sizing.commands` for water) are accepted in the same call, so an agent never copies them; `plan` in the answer is the plan's summary (the layout's `placed`, `could_not` and `defaults`, and into a document's own building its `rooms`: the first 50 not read, the rest counted, those placed in part and those whose ceiling is the level's; the route's `complete`, `measures`, `finding_counts` and first findings; the water's verdicts and sizing), and a layout's `next` is filled without asking. Each command runs through `/v1/bim.run` as it would alone (on `project`, a step in its history; on a `key`, a chain of documents). Before a command runs, any string in its `params` that is exactly `"$n"` becomes the first id the n-th command of this batch made, and `"$name"` the id the command given `as: name` made; a reference to nothing is refused (`BATCH_REFERENCE`). The batch stops at the first refusal: the commands before it ran and stay, and the answer names it (`refused`: index, command, code, message) so the rest can be sent again from there. `fill` is any JSON (a layout's `next`): answered as `filled` with every `"$name"`, `"$n"` and `"$head"` (the head after the batch) it can resolve replaced, and the rest listed in `unfilled`. At most 2,000 commands and 2 MiB. The answer: `before`, `after` (the head now), `ran` of `of`, `complete`, `made` (each command's ids), `handles` (name to id), `filled`, `refused`. A project keeps the engine's own undo limit of steps in its history. # A schedule of a document: the table, as JSON with its CSV, or as CSV / XLSX bytes (BC4/BC5) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-schedule openapi.json POST /v1/bim.schedule A built-in schedule by `category` (room, door, window, wall, …, or `multicategory`) or one of the project's by `name`, computed by the engine; every number is the engine's own (tier `exact`). The CSV or XLSX is an artifact by content address (`schedule_key`, `x-eddy-artifact`). # The Section J report (NCC J1V3): annual greenhouse gas emissions against a reference building, and the reference proposed for review first (`ss.mep.section_j/1`, MEP26). Never a claim of NCC acceptance Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-section-j openapi.json POST /v1/bim.section_j Two modes on one document. `mode: propose` builds the reference building of NCC J1V3 (Specification 34, S34C2) from the document's own energy model and the person's pack of DTS values (`reference`: walls', roofs' and floors' R-values of their layers, glazing U and SHGC, Part J7 lighting, Part F6 outdoor air, the PV method), and lists every change with its clause and the source of its value; the NCC's own values (walls' solar absorptance 0.6, infiltration 0.35 or 0.7 ACH, the thermostat ranges, Tables J9D5a and J9D5b, 225 W/m²) are built in, CC BY 4.0. It answers `ss.mep.section_j.reference/1` with a `digest`. `mode: report` (the default) runs only on an accepted digest (`accepted_reference`) and a `weather_record` (file, version, year, scenario: NCC 2025 refuses anything but year 2050 under RCP8.5, S34C3(1)(d)): three years on the stored weather file (`weather`, `POST /v1/blobs`) through the annual engine (MEP21) in a worker on the heavy lane, the proposed building, the reference, and the proposed building with the reference's services; each year's zone loads and outdoor air become fuel by the entered seasonal efficiencies (`services.proposed`, `services.reference`), PV is generated from the file's global horizontal irradiance, and fuel becomes emissions by Table S34C3 for the edition and state (built in, every state but the ACT), entered factors (`emissions`) or an adopted value table (`emissions_table`, its id, resolved here for `state` on `on`). It answers each run's end uses, fuels and emissions, the emissions test (97 % of the reference for NCC 2025, 100 % for 2022), the services test, the comfort test asked for (`comfort`: `dry_bulb` or `zone_loads` per Specification 48 are computed; `pmv` is refused by name), and `ncc_acceptance.claimed: false` with every reason. A gap (no weather record, a stale or missing digest `REFERENCE_NOT_ACCEPTED`, the ACT without factors, a building past the work budget `SECTION_J_TOO_LARGE`, what stops the energy model) is `state: unevaluable` with `gaps` naming each one. # Record one command on a BIM session (BC3) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-session-append openapi.json POST /v1/bim.session.append The command is run on the session's head and the document after is stored under its key, as a run would store it; a refusal records nothing. # Fold a BIM session into an episode artifact (BC3) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-session-finish openapi.json POST /v1/bim.session.finish The chain replayed from its initial document must end at the recorded head; the episode (initial hash, steps with their keys, final hash) is stored by content address. # Open a BIM command-recording session (BC3) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-session-start openapi.json POST /v1/bim.session.start A recorder over commands (the N5 recipe): the session starts from a document by key or a project's head; each append runs one command and records the key after; the finish folds the chain to an episode artifact. Recorded ≡ direct: the keys are the run route's keys. # Print a sheet, or every sheet, to PDF, PNG or SVG (BC4/BC5) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-sheet openapi.json POST /v1/bim.sheet One sheet by number, name or id, or with no `sheet` every sheet in order of number (PDF only). The bytes come back with `x-eddy-artifact` and `x-eddy-pages`. # Snap a pixel of a plan to the engine's snap points (BC5.b) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-snap openapi.json POST /v1/bim.snap Endpoints, midpoints, intersections, centres, a wall's centre line, else the nearest 10 mm, with the element it came from; `from` are the points picked so far (a wall's last corner) for perpendiculars and guides, `square` keeps the step horizontal or vertical. Plans and ceiling plans only. # Undo steps of a project's history: the head moves back along its chain of keys (BC3) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-undo openapi.json POST /v1/bim.undo No engine runs; the documents are the ones the runs stored. `NOTHING_TO_UNDO` when the chain is at its start. # Render a view as SVG, PNG or DXF, with the frame that maps its pixels to millimetres (BC4/BC5.b) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-view openapi.json POST /v1/bim.view The engine draws; the page draws what it is sent. A plan, ceiling plan, section, elevation or sheet renders to SVG (the default) or PNG, or to DXF through the plotter; the 3D view renders to PNG only (its geometry is bim.gltf) and tints `selected`. The reply is the bytes, with `x-eddy-artifact` (the content address), `x-eddy-view-kind` and `x-eddy-view-frame` (`{scale, origin, flip_y, width, height, centre}`: `mm = ((px - origin.x) / scale, (origin.y - py) / scale)`; `null` for 3D). A view with nothing to draw is a blank image framed about the origin. # One cold or hot water system of a document: flows, pressure at every fixture, the worst fixture, proposed sizes as commands, pumps checked against the duty (MEP10) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-bim-water openapi.json POST /v1/bim.water Read off the system graph (`/v1/bim.systems/{key}`) by a BIM worker and solved by the network solver (Darcy–Weisbach, Colebrook; water's properties at its temperature). The system is the group fed by `source`'s connector of `domain`, at `supply_pressure_kpa` gauge. **Read `verdict` and `design_point` first**: `not_valid` is a starved system (a fixed demand solves to negative pressure) and no fixture of it reads as meeting anything; `unevaluable` names every gap in `gaps` (a graph finding, a flow, a bore or a fitting's loss not entered, a table entry missing); `short` names the fixtures under their minimum; `meets` is the only pass. Flows are each fixture's entered `Cold water flow` or `Hot water flow`, else MEP2's `Design flow` (all at once, no diversity), or, with `demand_table`, an adopted value table's probable flows (`fixture:` in LU, `flow:` in L/s, read straight-line and never past either end; a tree only). A run's bore is its entered `Internal diameter` or its type's row in `sizes`, never its outside diameter. A two-connector fitting with an entered `Loss coefficient` is a link of that K; one without is a gap; tees are junctions, listed. `propose_sizes` (with `max_velocity`) gives `sizing`: the changes, the commands that accept them (`type` where the project lacks the pipe type, `modify`), and the system as proposed, solved. `pump` checks each pump (the records `pumps` names, or the seed's pumps with a curve) by solving again with it in series at the source. `detail: full` adds the solved `network`. Everything rests on entered values; the result is a design aid for a person to review. R9 (W3): where the verdict is `short` and pumps were checked for the duty (`pump`), `questions` holds the typed question `WATER_BOOSTER` (`ss.question/1`): add a booster pump at the source (possible where a checked pump meets the duty; it changes what is built) or none. The brief's answer may ride on the request as `booster`, which only the verdict reads (a short system with a booster the brief accepted, and a pump meeting it, passes the verdict's water check). # Pin one page of Energy Rating data as a dated snapshot (MEP29) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-mep-energy-rating-snapshot openapi.json POST /v1/mep.energy_rating.snapshot The body is one page of a data.gov.au `datastore_search` answer, exactly as retrieved (at most 8 MiB, 500 rows); its b3 is the fetch hash. The query names the dataset, the resource, the table (`air_conditioners` or `chillers`) and the day it was retrieved. The page is read in a BIM worker into `ss.mep.equipment/1` records under CC BY 3.0 AU, each naming the snapshot. The engine did not fetch the page and says so (`fetched_by_engine: false`). Rows that fail are skipped with a finding naming them. # Enter an equipment record by hand (MEP6) Source: https://eddy-ac74d702.mintlify.app/api-reference/bim/post-v1-mep-equipment openapi.json POST /v1/mep.equipment One `ss.mep.equipment/1` record whose `source.kind` is `hand`, with a licence record (refused by name without one, `EQUIPMENT_LICENCE_MISSING`). Units are fixed per quantity and never converted. Stored by its content key with IG6's licence pin: a `customer_only`, `unknown` or `forbidden` record stays with your organisation. At most 64 KiB. # The org's bridge jobs (IG20) Source: https://eddy-ac74d702.mintlify.app/api-reference/bridge/get-v1-bridge-jobs openapi.json GET /v1/bridge.jobs Newest first; `project` filters. Phases: queued, claimed, running, done, failed, cancelled, lost. A job whose bridge stopped reporting past its lease reads `lost` (BRIDGE_LOST): reported, never retried silently. # A bridge job and its external result beside ours (IG20) Source: https://eddy-ac74d702.mintlify.app/api-reference/bridge/get-v1-bridge-jobs-id openapi.json GET /v1/bridge.jobs/{id} The job; once done its external result document (seat product, version and edition, bridge, job, outputs, metrics, elapsed), and under `ours` the engine result named by `compare_with` with its metrics. # A job's input, for the bridge that holds it (IG20) Source: https://eddy-ac74d702.mintlify.app/api-reference/bridge/get-v1-bridge-jobs-id-input-name openapi.json GET /v1/bridge.jobs/{id}/input/{name} The bridge's own token in `x-eddy-bridge-token` (from `/v1/bridge.register`); a person's key is refused here. Only for a job this bridge claimed and still holds. # The org's bridges, their seats and approvals (IG20) Source: https://eddy-ac74d702.mintlify.app/api-reference/bridge/get-v1-bridge-list openapi.json GET /v1/bridge.list Each bridge with the seats it reported (kind, product, version, edition as the install says), when it was last heard from (`online` within 90 s), whether it is revoked, and the projects a person at that machine approved; plus the job kinds a bridge can serve. # Approve a project at a bridge's machine (IG20) Source: https://eddy-ac74d702.mintlify.app/api-reference/bridge/post-v1-bridge-approve openapi.json POST /v1/bridge.approve The bridge's own token in `x-eddy-bridge-token` (from `/v1/bridge.register`); a person's key is refused here. The consent is the machine's, where the licence is: a person in the org cannot approve on the machine's behalf. `approve: false` withdraws it. # A bridge claims its next job (IG20) Source: https://eddy-ac74d702.mintlify.app/api-reference/bridge/post-v1-bridge-claim openapi.json POST /v1/bridge.claim The bridge's own token in `x-eddy-bridge-token` (from `/v1/bridge.register`); a person's key is refused here. The oldest queued job of the given kinds this bridge may run (its project approved at this machine), or none; and the projects waiting for this machine's approval, so the client can ask its person. # A bridge's heartbeat (IG20) Source: https://eddy-ac74d702.mintlify.app/api-reference/bridge/post-v1-bridge-heartbeat openapi.json POST /v1/bridge.heartbeat The bridge's own token in `x-eddy-bridge-token` (from `/v1/bridge.register`); a person's key is refused here. Reports the seats found and renews the lease of the jobs it is running; answers `cancel` (jobs a person cancelled: stop and report) and `stop` (jobs the engine already ended: stop, nothing to report). # Cancel a bridge job (IG20) Source: https://eddy-ac74d702.mintlify.app/api-reference/bridge/post-v1-bridge-jobs-id-cancel openapi.json POST /v1/bridge.jobs/{id}/cancel A queued job is cancelled at once; a running one at the bridge's next heartbeat, which stops the seat's whole process tree and reports it cancelled. Refuses BRIDGE_JOB_FINISHED. # A bridge reports a job done (IG20) Source: https://eddy-ac74d702.mintlify.app/api-reference/bridge/post-v1-bridge-jobs-id-complete openapi.json POST /v1/bridge.jobs/{id}/complete The bridge's own token in `x-eddy-bridge-token` (from `/v1/bridge.register`); a person's key is refused here. Stores the external result (`ss.bridge.external_result/1`: seat, bridge, job, outputs, metrics, labelled as computed by the customer's seat, not the engine) content-addressed, registers it as an `external_result` artifact, and ends the job `done`. Refuses BRIDGE_JOB_FINISHED when the job ended first (lost, cancelled). # A bridge reports a job failed (IG20) Source: https://eddy-ac74d702.mintlify.app/api-reference/bridge/post-v1-bridge-jobs-id-fail openapi.json POST /v1/bridge.jobs/{id}/fail The bridge's own token in `x-eddy-bridge-token` (from `/v1/bridge.register`); a person's key is refused here. Codes: BRIDGE_SEAT_EXIT, BRIDGE_SEAT_ERROR, BRIDGE_TIMEOUT, BRIDGE_CANCELLED, BRIDGE_INPUT_REFUSED, BRIDGE_NO_SEAT, BRIDGE_CLIENT; the seat's last output rides along. Never retried by the engine. # Retry a failed, lost or cancelled bridge job (IG20) Source: https://eddy-ac74d702.mintlify.app/api-reference/bridge/post-v1-bridge-jobs-id-retry openapi.json POST /v1/bridge.jobs/{id}/retry A new job with the same inputs (`retry_of` names the old one, which keeps its ending). Refuses BRIDGE_JOB_NOT_ENDED. # Register an Eddy Bridge for the caller's org (IG20) Source: https://eddy-ac74d702.mintlify.app/api-reference/bridge/post-v1-bridge-register openapi.json POST /v1/bridge.register IG20: a bridge is a small client on the customer's own machine that runs fixed kinds of job on the customer's own vendor seat, under the customer's licence, calling out only (nothing on that machine listens). Answers the bridge and its token ONCE (`ebr_.`; only its blake3 is stored); the client keeps it under DPAPI. A machine runs a project's jobs only after a person at it approves the project (`/v1/bridge.approve`, with the bridge's token). Refuses BRIDGE_INVALID (name 1-64 characters), BRIDGE_LIMIT (50 bridges per org), BRIDGE_SCOPE (a bridge token cannot register). # Revoke a bridge (IG20) Source: https://eddy-ac74d702.mintlify.app/api-reference/bridge/post-v1-bridge-revoke openapi.json POST /v1/bridge.revoke The bridge's token stops working at once; a job it held ends `lost` (BRIDGE_REVOKED), never re-queued. Refuses BRIDGE_UNKNOWN. # Submit a job to a bridge (IG20) Source: https://eddy-ac74d702.mintlify.app/api-reference/bridge/post-v1-bridge-submit openapi.json POST /v1/bridge.submit Queues a job of a fixed kind for the org's bridges (or one named bridge). `mapdl.solve` takes `deck`: the blob id of a MAPDL deck the engine wrote (`/v1/fea.export`, format dat, static structural or steady thermal); a deck from anywhere else refuses, and the bridge re-checks every line against the writer's commands before its seat runs it. `compare_with` names an engine result to show beside the seat's. The job waits (`waiting_for_approval`) until a person at a machine approves the project. The seat's numbers come back as an **external result** (`ss.bridge.external_result/1`), never as an engine result. Refuses BRIDGE_INVALID, BRIDGE_KIND, BRIDGE_INPUT, BRIDGE_UNKNOWN. # A bridge uploads a job's output (IG20) Source: https://eddy-ac74d702.mintlify.app/api-reference/bridge/post-v1-bridge-upload openapi.json POST /v1/bridge.upload The bridge's own token in `x-eddy-bridge-token` (from `/v1/bridge.register`); a person's key is refused here. Raw bytes, 1 byte to 64 MiB; answers the blob id to name in `complete`. # The imitation corpus: one JSON line per drawing trace (DR8.c) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/get-v1-drawing-corpus openapi.json GET /v1/drawing.corpus Every trace as one line -- the features the engine saw, the intent, the proposal's answers, every decision with its reason and bound, the questions, the findings and the engineer's dispositions -- the training data for drawing style and for the questions engineers answer, with provenance (every line names its trace, recipe and keys). # The drawing traces recorded on this engine (DR8.c) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/get-v1-drawing-traces openapi.json GET /v1/drawing.traces Every `ss.drawing-trace/1` document stored by drawing.make, drawing.propose and drawing.disposition, newest first, with its summary (part, errors, warnings, dispositions, parent, proposal source). # Mate references by stable face name (MO8) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-asm-anchor openapi.json POST /v1/asm.anchor Every mate reference of the assembly is given its face's stable name (J11.e's naming over the part's feature frame) beside its index, so a re-featured part rebinds the mate; the pre-MO8 document migration. # Assembly interference check (S4) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-asm-interference openapi.json POST /v1/asm.interference Every component pair reported clear / interfering / refused, each verdict with its `method`: `exact` (the kernel-boolean lens: overlap volume, centroid, depth, normal) or `mesh_estimate` (where the kernel refused the pair: certified inscribed / circumscribed facet meshes decide interfering on a point verified inside both solids or clear on meshes strictly apart; `volume` is the inscribed overlap, the true overlap lies in [`volume_lo`, `volume_hi`], with `inside_point`, `resolution` and `estimate_segments`; no depth or normal). A pair neither method can decide stays `refused` with both typed reasons -- unknown is never clean. # Rebuild an assembly (A1) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-asm-rebuild openapi.json POST /v1/asm.rebuild Per-component part rebuilds (instances share the content-addressed viz blob), the rigid-body mate solve, solved world transforms, and mate/solve diagnostics. # Face-tagged B-rep tessellation (C track C1) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-brep-viz openapi.json POST /v1/brep.viz Tessellates primitive or CSG geometry into a content-addressed viz blob (SSBVIZ1): outward-wound triangles each carrying a stable kernel face id, one polyline per B-rep edge, and vertex points. The seam between kernel and viewport - the /viewer app decodes it for shaded display, edge overlay, and GPU id-buffer face picking. Geometry the kernel cannot compose returns its typed reason. # Convert Entities: the model's true edges projected into a sketch plane (C21.3) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-cad-convert openapi.json POST /v1/cad.convert Rebuild the recipe and project its B-rep edges into the sketch plane (origin + in-plane orthonormal u, v) EXACTLY where the records allow: lines always, circles when the axis is parallel to the plane normal (exact record radius). Oblique and higher-order curves come back as NAMED skips -- the sketch never silently absorbs an approximation. Deterministic. # Three-view engineering drawing as SVG (D1) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-cad-drawing openapi.json POST /v1/cad.drawing Rebuild the recipe and return a deterministic three-view (front/top/side) engineering drawing as SVG. # Apply one recipe edit and rebuild (C track C6) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-cad-edit openapi.json POST /v1/cad.edit The direct-edit endpoint: applies one edit to the recipe -- add_feature | delete_feature | toggle_suppress | reorder | replace_feature | set_param (the dimension-scrub atom: {edit:'set_param', id, param, value}) -- and rebuilds. Returns the edited recipe, its before/after document hashes (the T5 edit-stream chain), and the rebuild (statuses + viz). Unknown targets or parameters are typed errors, never silent no-ops. A throttled scrub emits a stream of these; unchanged recipes re-evaluate from the rebuild memo. # Exact per-face curvature from the model's surface records (C21.1) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-cad-evaluate openapi.json POST /v1/cad.evaluate Rebuild the recipe and report curvature per face from the analytic Surface records -- closed forms (plane 0, cylinder 1/r, sphere 2/r, ...), deterministic, no mesh estimation. The studio's Curvature display colors faces with these values. # Export the rebuilt recipe solid as STL / 3MF / STEP / USD BrepArray (C track C10, C25) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-cad-export openapi.json POST /v1/cad.export Rebuilds the recipe and exports its solid: binary STL, a 3MF package (minimal OPC zip), faceted STEP (`step`: FACETED_BREP over welded triangle poly-loops) or analytic STEP (`step_analytic`, C10.1: ADVANCED_FACEs over true PLANE / CYLINDRICAL_SURFACE geometry inside that envelope, the faceted writer otherwise — the response header `x-superstring-export-fallback` names why when it fell back). Every writer declares MILLIMETRES; `units` says what the recipe's numbers mean and the geometry is scaled to mm before writing (cm ×10, m ×1000, in ×25.4). Byte-deterministic: an unchanged design exports to identical bytes. Returns the binary body with a download filename. `usd_brep` (C25) writes the EXACT B-rep as NVIDIA's omniSolid `BrepArray` (OpenUSD text, `model/vnd.usda`, metersPerUnit 0.001): planes, cylinders, cones, spheres, tori and NURBS faces with every edge curve a NURBS, validated by NVIDIA's usd-validation and read back by SMLib (usd-brep 1.0.0) to the closed-form volume; traced crossing curves, oblique fillet blends and multi-shell bodies refuse typed (HTTP 400). # Performance Evaluation: wall time per feature (C21.1) -- DIAGNOSTIC, non-deterministic Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-cad-profile openapi.json POST /v1/cad.profile Rebuild the recipe feature by feature (incremental prefix rebuilds) and report the wall time each feature added. DIAGNOSTIC by contract: times are non-deterministic, the response is never content-addressed or stored, and nothing downstream may consume it as engine state (the determinism law binds artifacts, not gauges). # Face push/pull resolved to one recipe edit (C track C6) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-cad-push-pull openapi.json POST /v1/cad.push_pull Direct edit as sugar over recipe edits: a picked face (an index into the rebuilt solid's faces -- the same ids the viz blob tags and the viewport picks) plus a drag distance resolve to the owning feature parameter, apply as ONE edit, and rebuild. Positive delta always ADDS material (a box face extends, a hole narrows). Faces born from booleans with no single owning parameter, rotated features, and pulls that would collapse a feature are typed reasons (stage C6.1). # Rebuild a feature recipe (C track C3) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-cad-rebuild openapi.json POST /v1/cad.rebuild An editable feature history: a base solid then a sequence of placed boolean operations (union / difference=cut / intersection). Each feature's tool body is a CSG primitive (`primitive`: box / cylinder / sphere / cone / torus), a sketch-driven solid -- an extrude (`sketch` + `height`, optionally `corner_fillet`, `corner_chamfer`, `draft_deg`, `mid_plane`, `thin`, `up_to`) or a revolve (`sketch` + `segments`, a full turn about the sketch's +y axis) -- a hole-wizard tool (`hole`: a simple / counterbore / countersink hole built as one faceted revolve), all C5.1; a `loft`, `sweep` or `sweep3d`; a `gear`; a repeat of an earlier feature (`pattern`, `circular_pattern`, `mirror`, each naming its `seed`); a `shell`, `scale` or `full_round` of the running solid; an edge `fillet` / `chamfer` (edge ids on the rebuilt B-rep); surface bodies; or an `imported` / `mesh_body` solid. Any feature may carry `placement.rotation` ([axis, degrees], turned about the body's own origin before `placement.offset` moves it). So a sketched profile or a standard machined hole can cut or intersect the running solid as a first-class feature. Rebuilds into per-feature build status (ok / suppressed / failed with the kernel's typed reason) and a face-tagged viz of the built solid; a failed feature is flagged and skipped (later independent features still build), never a fatal rebuild. Pure and deterministic; the built viz is content-addressed. # Deterministic rendering: orthographic ray cast to a BMP or PNG (C22.9 / C22.9.b) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-cad-render openapi.json POST /v1/cad.render Rebuild the recipe and ray-cast it orthographically over the face-tagged tessellation (Moller-Trumbore nearest hit, two-sided Lambert under one fixed light, per-face appearance colors), written as a 24-bit BMP by hand -- no codecs, no clocks, no sampling noise. Same request -> same bytes. Envelope: width/height 8..1024; unknown views refuse typed. # Section view of a recipe solid as SVG (D3) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-cad-section openapi.json POST /v1/cad.section Rebuild the recipe, cut it with an axis-aligned plane, and return a deterministic SVG section view: bold section loops with 45-degree hatching, beyond-plane edges thin. # Drawing sheet: recipe to saved cad2d sheet project (C9) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-cad-sheet openapi.json POST /v1/cad.sheet One call from a recipe to a saved cad2d SHEET document: the deterministic three-view HLR projection imports engine-side through the pinned D3 dialect (visible/hidden runs on view layers, dimension renders counted and skipped by contract), sampled circle runs are replaced by TRUE circle entities from the B-rep's own curve records (the exact-analytic close - a bore is a circle on the sheet, not a 48-gon; coincident rims collapse, visible layer wins), optional section views (cut loops on `section`, hatching on `hatch`, beyond-plane overlay) place beside the views, and the whole composes onto a standard sheet at a NAMED scale (nice-scale ladder or an explicit "a:b" - refused typed if it does not fit) with a title block. The result is a normal cad2d project: plottable by address (GET /v1/review.plot/{project}), reviewable (U track), dimensionable in /cad2d, DXF/PDF-exportable through the D-track writers. Registered as a `c9_sheet` artifact. Idempotent: the project id is the content address of (recipe hash, segments, sections, sheet, scale, name). DR.b9: by default the sheet is ss-drawing's GD&T drawing (the document POST /v1/drawing.make makes, `engine: drawing`); the C9 path above answers with `engine: legacy` or when a legacy-only field is set, and the reply names the engine. # Assembly drawing (DR5): views across components, section, exploded pictorial, BOM, balloons, weld symbols, cut list Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-drawing-assembly openapi.json POST /v1/drawing.assembly Poses the components by their mates and draws them together: hidden lines classified across components, an assembly section hatched per part, a pictorial and an exploded pictorial along the mates with explode lines, a bill of materials by distinct recipe with balloons on the first visible instance of each item, envelope dimensions, weld symbols and a cut list for weldments, a revision table, a second sheet when the BOM is long. Without `format` returns the `ss.assembly-drawing/1` document; with `format` returns that sheet's bytes (svg | png | pdf | dxf-r12). # Check a recipe's GD&T scheme (DR6) without drawing it Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-drawing-check openapi.json POST /v1/drawing.check Derives the scheme for the recipe under the intent and runs the DR6 checker: DR1 syntax rows, completeness by re-solve (the frame and every located feature as a sketch problem: DOF, status, every lacking or redundant record named, the re-solved geometry against the model), consistency against the exact feature values, process capability, over-specification, requirement bounds. Returns the report, the scheme summary and the PMI set. # Advisory legibility rows over a drawing (DR8.b) -- never a verdict Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-drawing-critique openapi.json POST /v1/drawing.critique Builds the drawing and lists readability problems: the fixture critic (default) reads the document itself (texts closer than 1.5 text heights, leaders that cross, records skipped or unplaced); with a vision provider configured a model looks at the rendered sheet and answers in the same schema (crowded | crossing_leaders | text_over_geometry | view_too_small | other). Rows are advisory: the DR6 report is returned unchanged by them. # An engineer's disposition of a finding on a drawing trace (DR8.c) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-drawing-disposition openapi.json POST /v1/drawing.disposition Appends {finding, action accept | waive | fix, note, by, at} to the trace named (a `trace` key from drawing.make or drawing.propose) and stores the result as a new content-addressed trace version with `parent` set -- the engineer's answers become part of the imitation corpus with provenance. A finding index outside the report or an unknown action is refused typed. # The drawing as svg, png, pdf (text layer), dxf (R2000, live dimensions), dxf-r12, step242 (semantic PMI), qif or json Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-drawing-export openapi.json POST /v1/drawing.export Builds the drawing as /v1/drawing.make does and returns one interchange form: `svg` / `png` plots of the sheet; `pdf` with a real text object for every dimension and note (searchable; hidden layers dashed); `dxf` as AutoCAD R2000 with a DIMENSION entity (and its block) per linear dimension, a TOLERANCE entity per feature control frame (gdt font), a LEADER per callout, a HIDDEN linetype -- audited by ezdxf; `dxf-r12` the flattened legacy form; `step242` the PMI set as AP242 semantic entities (datums, datum systems, geometric tolerances with modifiers and zones, dimensional sizes and locations with their tolerances); `qif` a QIF 3.0 characteristics document for metrology; `json` the ss.drawing/1 document. Returns the bytes with a download filename. # GD&T drawing from a recipe (DR track): features, scheme, check, sheet Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-drawing-make openapi.json POST /v1/drawing.make One call from a CAD recipe to a full engineering drawing: the semantic features (holes, bosses, widths, pockets, patterns, datum planes -- DR2), the datum reference frame and every dimension and feature control frame with its reason (DR3, driven by the intent's dialect, process, hints and overrides), the checked specification (DR6: syntax, completeness by re-solve, consistency, process capability, over-specification, requirements), and the sheet (DR4: views, sections, placement, scale). Returns the `ss.drawing/1` document (content-addressed and blob-stored), the composed cad2d sheet (also saved as a project `drawing-`, plottable at GET /v1/review.plot/{project} and reviewable), the DR6 report and the scheme's decisions and questions. Deterministic. # An agent proposes the drawing intent; DR6 is the referee (DR8.a) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-drawing-propose openapi.json POST /v1/drawing.propose Reads the part's features and the rules engine's open questions and proposes an Intent -- the mounting face, the mating axis, fastened patterns with their fasteners, fits. The fixture proposer (no model, the default) applies stated rules (the largest planar face mounts, the largest hole or boss normal to it mates, a standard clearance names its fastener, a thread names its screw and the mating clearance) and is byte-stable; with SS_VISION_PROVIDER=gateway|anthropic a model answers in the same Proposal schema (hints naming features that do not exist are dropped and listed). The proposal is a candidate: DR3 derives the scheme, DR6 checks it, and `accepted` is true only with no error -- otherwise `refusal` names the findings. The run is recorded as a trace. # Foreign drawing review (DR8.d): a supplier's DXF or PDF read into PMI records and linted Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-drawing-review openapi.json POST /v1/drawing.review A DXF (any version: DIMENSION text or measurement, TOLERANCE in the gdt font, TEXT / MTEXT) or a PDF (its text objects; a raster drawing is said to be one) parsed by the annotation grammar -- hole callouts, sizes with +/-, limits, ISO classes, basic and reference, radii, angles, textures, feature control frames with datums and modifiers, datum letters -- into DR1 records anchored unbound, then DR1's rules and the process-capability rows. `exact` is true for vector input; `unparsed` lists every string the grammar did not take with why; `notes` says when the content is a raster image (the vision reader's job, labelled as read, never as fact). TL3c: `dxf_blob` (a blob id) instead of `dxf`: the DXF is read from the blob as the caller and reviewed exactly as if sent inline; giving both is 400 FILE_GIVEN_TWICE, a blob that is not UTF-8 text 400 BLOB_NOT_TEXT. # Apply one editor operation to a drawing session (DR9) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-drawing-session-append openapi.json POST /v1/drawing.session.append Operations (tagged `op`): set_value {record, value}; set_tolerance {record, tolerance}; set_segment {record, index, segment} (the FCF builder); add_record {id, pmi}; delete_record {record}; delete_all_tolerances; move {record, text_at}; move_view {view, origin}; set_dialect {dialect}; hole_table {on}; set_sheet {sheet}; set_revisions {rows}; set_style {style}. The state is replayed from the record, the operation applied (a refusal is typed `DRAWING_OP`), recorded with the state's hash, re-rendered and linted. # The edited drawing as svg, png, pdf, dxf, dxf-r12, step242, qif or json Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-drawing-session-export openapi.json POST /v1/drawing.session.export Renders the session's current state and returns the bytes in the DR7 form asked for, with a download filename. # Finish a drawing session: save the sheet as a cad2d project, the document and a trace Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-drawing-session-finish openapi.json POST /v1/drawing.session.finish Renders the final state, saves the composed sheet as a cad2d project `drawing-` (plottable, reviewable), blob-stores the ss.drawing/1 document and registers it, records the run as a drawing trace, and closes the session. # Resume a DR9 drawing session (unit thmo) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-drawing-session-open openapi.json POST /v1/drawing.session.open A drawing session's current state — its operation stream replayed — with the editor's whole reply (state, drawing, report, fixes, tree, sheet SVG), so a page resumes a session from a link (a sheet composed with `session: true`). # Replay a session's operation stream and compare the keys (the recorder law) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-drawing-session-replay openapi.json POST /v1/drawing.session.replay Re-runs every recorded operation from the initial state and reports whether every intermediate state key and the head agree with the record (`identical`), with the document and sheet keys of the replayed result. # Open a recorded drawing-editor session on a recipe (DR9) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-drawing-session-start openapi.json POST /v1/drawing.session.start Derives the drawing (DR2–DR4; `propose: true` lets the fixture proposer fill the intent first) and opens a session whose document is the editor state: the PMI set as edited, the engine's decisions for what remains, the sheet, the hole-table setting, the style, the revision rows, the moves. Every later operation is recorded; the state is replayed from the record before each one. Returns the rendered drawing, its DR6 report with one-click fixes, the record tree with sheet positions, and the sheet SVG. # Extrude a solved sketch profile into a solid (C track C5) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-sketch-extrude openapi.json POST /v1/sketch.extrude The sketch->feature bridge: solves the sketch's constraints, extracts its closed profile (a line loop -> prism, a lone circle -> cylinder, an outer boundary with inner loops -> a plate with through-holes), and extrudes it by height into a B-rep, returning a face-tagged viz (with mass properties). Non-convex profiles and holes are supported (C5.1); disjoint profiles with no single outer boundary, or inconsistent constraints, return a typed reason. # Revolve a solved sketch profile into a solid of revolution (C track C5.1) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-sketch-revolve openapi.json POST /v1/sketch.revolve Solves the sketch's constraints, extracts its closed profile, and revolves it 360 degrees about the sketch Y axis (the line x=0) into a B-rep -- a rectangle becomes a cylinder, a right triangle a cone, a circle centered on the axis an analytic sphere, an offset circle a torus, and inner loops become sealed internal cavities (C5.2). The profile must lie on one side of the axis (all x >= 0); a profile straddling the axis, a hole touching the axis, an open chain, or inconsistent constraints return a typed reason. # Solve a 2D sketch's constraints (C track C4) Source: https://eddy-ac74d702.mintlify.app/api-reference/cad/post-v1-sketch-solve openapi.json POST /v1/sketch.solve A deterministic Levenberg-Marquardt constraint solver over point/line/circle/arc entities (C4.1 arcs own a radius variable with two intrinsic on-radius residuals; C20.1 adds a `construction: true` flag on lines/circles/arcs — reference geometry that solves but never reaches profile extraction). Constraints: coincident, horizontal, vertical, parallel, perpendicular, equal_length, equal_radius, point_on_line, distance, radius, angle, tangent, symmetric, arc_radius, tangent_arc, tangent_arc_arc, and (C20.1) concentric, midpoint, collinear, fix. Returns solved point coordinates + circle radii + arc radii, DOF accounting (variables - equations), and a status: fully_constrained / underconstrained / overconstrained (redundant-consistent, still solved) / inconsistent (conflicting, did not converge). Structurally invalid sketches (out-of-range indices) refuse 422 INVALID_SKETCH. Pure and bit-deterministic. # CAM setup: stock + machinable features extracted by a recipe WALK (C22.5) Source: https://eddy-ac74d702.mintlify.app/api-reference/cam/post-v1-cam-plan openapi.json POST /v1/cam.plan Extraction is a walk over the feature tree, never AFR: each drill feature carries the hole's exact diameter/depth/through flag from its SPEC; counterbores, rotated holes and pocket recognition are NAMED skips (visible, never silent). Stock = part bounding box x margin. Deterministic. # Post process: ops -> one pinned, byte-deterministic G-code program (C22.7) Source: https://eddy-ac74d702.mintlify.app/api-reference/cam/post-v1-cam-post openapi.json POST /v1/cam.post Every op's toolpath is generated and posted through a pinned dialect (`fanuc-s1`: one fixture test per block type) into one program returned as a download body -- the DXF writer's image. Same request -> same bytes. Unknown dialects refuse typed. # 2.5-axis toolpath for one operation (C22.6) Source: https://eddy-ac74d702.mintlify.app/api-reference/cam/post-v1-cam-toolpath openapi.json POST /v1/cam.toolpath Drill (canned cycles, optional peck, 0.3*dia breakthrough on through holes), Face (zigzag), Contour (square-corner loops at tool radius, Z-stepped, finish passes), Pocket (inward offset ladder until collapse). Toolpath = rapid/feed/plunge polylines in Z-stepped layers, deterministic move order; cut length is the closed form the gates pin. # Open Examples — the laminar duct case (O11) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/get-v1-cfd-example openapi.json GET /v1/cfd.example The complete case document the /cfd page's Open Examples mints (water at 5 mm/s through the 1 × 0.2 × 0.2 m box, Re_Dh 1000, a velocity inlet, a pressure outlet, walls, first-order upwind) with its hash; scripts/fixtures/cfd_demo_case.json is the pin. # The materials library with the fluid columns and the database catalogue (O11) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/get-v1-cfd-materials openapi.json GET /v1/cfd.materials ONE library — the F8 rows (/v1/fea.materials serves the same) with rho, nuFluid, cp, k, soundSpeed — plus `database`: the 683-entry Fluent material catalogue (name, type, formula, the method list per property, the constant values of density / viscosity / cp / conductivity / molecular weight) and `fluent_methods` (the property-method families). # The CFD case vocabulary the /cfd page is pinned to (O11) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/get-v1-cfd-vocabulary openapi.json GET /v1/cfd.vocabulary The Outline View nodes keyed by Fluent's settings-API paths (setup.general, setup.models.viscous, setup.boundary_conditions.[""], solution.methods …), every node kind's property sheet in SI, the boundary types with the unit that lowers each, the viscous / general enumerations with their units, the Case Check rule ids, the protected kinds and the materials columns. One JSON (scripts/fixtures/cfd_vocabulary.json) pinned on both sides. # Solution-register adaption and the predefined criteria (O12.2) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-adapt openapi.json POST /v1/cfd.adapt `action: mark` (default) evaluates the case's field-variable / volume / boundary registers with Adapt = Yes (or the named `registers`) on the solved result `result_key` and writes the marked cells into each register as adaption boxes (`marks`, the cells' extents merged into runs, appended to earlier cycles' — adaption is cumulative; a cell already at refine level 2 is not marked again): `{registers: [{id, label, kind, cells, at_cap, boxes, total_boxes, range?, thresholds?}], refusals, result_cells, next_cells, mesh_adapt, lower_refusals, document, document_hash, adapt_key}` — `next_cells` is the mesh the next solve builds. `clear` empties the boxes. `criteria` lists the predefined criteria (Adapt ▸ Predefined Criteria) with the register each inserts or the unit it waits for; `apply_criterion` (`criterion`) inserts its register with Adapt on. # Compose a solved CFD result into another track's object by content address (O9) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-compose openapi.json POST /v1/cfd.compose `{document, result_key, target, inlet?, outlet?, zone?, centre?}`. `system`: the duct between `inlet` and `outlet` as the N track's linear hydraulic resistance R = Δp / Q (the area-weighted mean static pressures and the inlet's volume flow from the O14 reductions) with the Modelica text `/v1/system.parse` takes — a linear resistance at this operating point (the quadratic fit over a parametric study is O9.2); `sim`: the fluid's force and moment on a wall `zone` about `centre` (the O14 force law) as the R track's constant wrench, and the `wrench_from` a scene body carries to read it live by result key (`{result, zone, scale}` beside the Y9 EM form `{result, body}`); `structural`: the O18 solid zones (the intrinsic one-way FSI is `/v1/cfd.structure`). The EM-loss composition runs the other way — a fluid zone's `em_loss_result` (a stored driven / low-frequency solve's result key) lowers to `energy.em_source` and the loss density becomes the energy equation's volumetric source, sampled onto the CFD mesh by the orchestrator. Typed: CFD_UNDERDEFINED when no zone qualifies, CFD_INVALID for an unknown target or a report that does not evaluate. # Apply case edit verbs (O11) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-edit openapi.json POST /v1/cfd.edit The shared study verbs (insert / delete / set / rename / suppress / move / replace) under the Outline View's policy — the case, its five sections, every folder and every singleton settings node are structural; the fluid zone cannot go. Each step returns its after-hash and its inverse verb, so undo is a verb; `before_hash` guards the chain. Refusals are typed and nothing is applied. # Fold (case, edits) to a content-addressed episode (O11) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-episode openapi.json POST /v1/cfd.episode The CFD recorder (`o11-cfdenv-v1`): after-hash per step, the inverse verbs, the episode key (blake3 of the canonical initial + edits) and the registered episode artifact — identical to a recorded session's fold of the same edits. # Write the case, its mesh or its result as a file (O16) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-export openapi.json POST /v1/cfd.export `{document, format, result_key?, fields?, patches?, name?}`. The mesh formats `msh` (the Fluent ASCII mesh: one cell zone, the interior faces, one face zone per boundary typed by the document's zones), `polymesh` (`files`: points / faces / owner / neighbour / boundary) and `stl` (`bytes_base64`; `patches` selects the faces) write the mesh the case solves on (the imported blob, or the kernel's mesh of the lowered case). The result formats `tecplot` (ASCII, FEBRICK / FEPOLYHEDRON, the fields CELLCENTERED), `ensight` (Gold ASCII: `files` = .case, .geo, one per scalar) and `csv` (cell centres + fields) write the stored cell fields of `result_key` (`fields` selects: cell_velocity -> x-/y-/z-velocity + magnitude, cell_pressure -> pressure, ...). `prof` writes the O13 profile of `patches[0]`. `case` / `data` / `case_data` are the suite's own JSON files: the document with its study hash, the run's provenance report with the fields. Every response carries `bytes` and the blake3 `hash` of the payload. O18: format `scp` writes the System Coupling schedule (`.scp.json`: the fluid case and one structure participant per solid zone, the coupling regions, the data transfers, the one-way schedule). # Every named expression of the case evaluated (O13) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-expressions openapi.json POST /v1/cfd.expressions `{study_hash, count, errors, expressions: [{name, definition, value?, unit, error?}]}` - the setup-time expression language: numbers with units in brackets (`0.1 [m/s]`, `1 [bar]`, `2 [m s^-1]`), + - * / ^, the functions sin cos tan asin acos atan atan2 exp ln log10 sqrt abs min max floor ceil pow, PI / e, the other named expressions and the input parameters (Parameters, kind input, with a unit), with dimensional analysis on the SI base powers; a field variable names O15 (it evaluates on a result), a reduction (AreaAve, MassFlowRate, ...) names O14 (a report definition); cycles refuse. Any numeric property of the case may hold an expression - the lowering resolves it (its dimension checked against the field's quantity). O14: with `result_key` (a solved result of the case) the reductions evaluate — AreaAve / AreaInt / Average / Maximum / Minimum / Sum / MassFlowAve / MassFlowInt / UniformityIndex over boundary zones (by label), VolumeAve / VolumeInt / Average / Maximum / Minimum over the fluid zone, MassFlowRate / Area / Volume / Count of zones — and the field variables (Pressure, Velocity.x, VelocityMagnitude, Temperature, Density, Position.x, CellVolume, ...) take the element's values inside them; Force / Lift / Drag / Moment in an expression name O14.2 (the force report definition carries them). # Read a file into the suite: a mesh, a case document, a data file (O16) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-import openapi.json POST /v1/cfd.import `{format, text? | files? | bytes_base64? | blob_id?, name?}`. `msh` (the Fluent ASCII mesh, `text`), `polymesh` (OpenFOAM: `files` = [{name, text}] for points / faces / owner / neighbour / boundary) and `stl` (`bytes_base64` or ASCII `text`) read the mesh onto the canonical polyhedral topology (the internal faces by owner < neighbour, the patches in file order) into the blob store -> `{mesh_blob, summary, zones, patches: [{name, kind, btype, faces, area, normal}], quality, document_patch: {general, boundaries}}` — the page applies the patch: General ▸ Mesh source `imported`, one boundary per patch typed by the zone's kind. The Fluent handedness: a face's written node order carries the right-hand normal from c1 into c0. `case` -> `{document, study_hash, hash_matches, refusals}`; `data` -> `{result_key, stored, fields, metrics}` (a data file whose run the engine never solved is returned for display with a typed O16.b refusal). STL is stored and measured (`surface`: triangles, bbox, area, closed); its volume mesh is O16.b. O16.b: `cas_h5` (the Fluent CFF case, `bytes_base64` / `blob_id` — its mesh read through the engine's own HDF5 reader; a face's node order carries the normal from c1 into c0), `cgns` (CGNS/HDF5: unstructured zones — the SIDS sections by their corners, MIXED, NGON_n / NFACE_n — and structured blocks as hexes, the ZoneBC by elements or vertices, families; several zones merged on their coincident nodes; ADF is refused), `nastran` (bulk data, small / large / free field), `unv` (I-DEAS universal 2411 / 2412 / 2467), `cdb` (the MAPDL archive: NBLOCK / EBLOCK solid format with the degenerate bricks, CMBLOCK components) and `neu` (the GAMBIT neutral file) build their cells' faces onto the same topology -> the mesh answer plus `reader` (the counts: mirrored cells turned, the faces no zone names in `default-exterior`, the unused nodes dropped). A zone's kind is the file's (CFF, CGNS) or guessed from its name (inlet / outlet / symmetry / far field, else a wall). Tecplot and PATRAN / FIDAP / HyperMesh name O16.b. O7.c rung 2: `format: "meridl"` reads a NASA MERIDL blade row (TP 1337 / 1338: the hub and shroud meridional curves, the blade count, the constant-radius sections with their θ₁ / θ₂ surfaces; inches → metres) — `blade_row` is the measured summary (pitch, annulus, leading / trailing edges at hub and tip, axial chords, thickness), `passage_hint` the radii and pitch Turbo Setup takes onto the annular sector; the blade-fitted passage mesh is rung 3 (a typed refusal names it). # Lower the case to its solve request (O11) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-lower openapi.json POST /v1/cfd.lower `{route: "/v1/solve.cfd", domain, body, refusals, summary, lower_key}` — the body carries the box, the material (nu_fluid from the kinematic column or mu / rho), the inlet / outlet / moving walls, the momentum scheme, the O3 turbulence model with the inlet's intensity and 0.07 D_h, the O1 time (Euler / BDF2, PISO / PIMPLE, the adaptive step), periodic axes and the initial field. On the laminar steady duct the body equals the F5 Fluid Flow study's request byte-for-byte (the referee); every object the route cannot carry is a typed skip naming its unit; no domain / fluid zone / material is CFD_UNDERDEFINED. # The case's mesh report (O12) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-mesh openapi.json POST /v1/cfd.mesh `{nodes, cells, faces, internal_faces, boundary_faces, polyhedra, grid, core, volume, quality: {ortho_min, nonortho_max_deg, skewness_max, aspect_max, warp_max, volume_min, ortho_histogram, warning, refusal}, patches, zones: [{id, label, type, faces, face_count}], registers: [{id, label, kind, adapt, cells, note}], adapt: [{register, min, max, levels}], mesh_blob_id, blob_uri, mesh_key, mesh_opts, refusals}` — the mesh the solve builds for the document (the lowered request's box, element size and adaption boxes) through the O4 polyhedral quality (Domain ▸ Mesh ▸ Info / Check / Quality / Size / Report Quality), every boundary zone's face count, every cell register evaluated on the mesh (a region box marks the cells whose centre lies inside; a boundary register the cells owning the zones' faces; a volume register the cells in the volume range; solution-field registers name O12.2), the adaption boxes the region registers with Adapt = Yes carry into `mesh_opts.mesh_adapt`. Make Polyhedra keeps hexahedra (the tet / wedge / pyramid conversion is O4 slice 2). # Transform / Fuse / Append / Replace Zone on the imported mesh (O12.2, O16.b) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-mesh-ops openapi.json POST /v1/cfd.mesh_ops `op: transform` (`transform: {translate, angle_deg, axis, origin, scale}` — scale about the origin, rotate about the axis through `origin`, translate; a positive scale), `fuse` (the coincident boundary faces of `patches` — every zone when empty — become interior faces; `tolerance` 0 = 1e-6 of the bounding box's diagonal), `append` (`other`: a second mesh as an import body — msh / polymesh / cas_h5 / cgns / the legacy formats / `blob` an engine mesh blob; `fuse` joins the coincident faces) or `replace_zone` (`zone`: a cell zone swapped for `other`'s cells, fused into the hole) on the document's imported mesh (General ▸ Mesh source `imported`). The answer is `/v1/cfd.import`'s for the new mesh (the blob, the summary, the zones, the patches, the quality, the document patch) with `op`, `report` and `before_blob`. # The run monitors: report files, report plots, convergence conditions (O14.2) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-monitor openapi.json POST /v1/cfd.monitor The case's report-file / report-plot / convergence-condition monitors evaluated over the run's own trajectory: the full solve, then the solves capped at the sampling points (`every`, default the monitors' smallest frequency raised to at most `max_samples` = 20 samples; a capped steady solve IS the full run's state after k iterations — a transient case samples its time steps). `{study_hash, transient, total, every, iterations, series: {report definition: [values]}, files: [{id, label, name, text}] (Fluent's .out), plots: [{id, label, series, svg}], conditions: [{id, label, report_definitions, criterion, met_at}], stopped_at (the first sample where every convergence condition holds), stopped_result_key, full_result_key, samples: [{iteration, result_key, values}], monitor_key}`. `async_run: true` answers 202 with a job: `/v1/jobs/{id}` (and its SSE events) carry each sample as it lands (the monitor stream). `frames: true` keeps every sample's result key (a solution animation's frames, O15.b). # Parametric studies and the parameter-based optimizer over the engine's CFD solves (O17) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-parametric openapi.json POST /v1/cfd.parametric `{document, action, study?, optimizer?, x?, y?}`. A parametric study (`parametric_study` under Parameters, its `design_point` children each a row of input-parameter values; the case's `parameter` objects of kind `input` feed the O13 expressions, those of kind `output` name a report definition, a named expression or a solve metric). `plan` states the study's design points with every input resolved; `update_all` / `update_current` solve them on the engine — each point is the case with its inputs applied, lowered exactly as Calculate lowers it (the content-addressed cache is the incremental substrate: an unchanged point is a hit) — and return `rows` (values, outputs, errors, metrics, result_key, cached), the design-point table as `csv`, per-output `statistics` and `document` with the points marked updated and the current point's outputs on the output parameters; `export` is the table of what the document already holds; `comparison` plots output `y` against input `x` over the updated points as a deterministic SVG (`svg`, `hash`); `optimize` runs the parameter-based optimizer object (`parameter_optimizer`: the input parameters it moves with bounds, goals over output parameters as target / at most / at least, Nelder-Mead or Pattern Search, a fixed evaluation cap ≤ 48 — the F12 discipline shared with Y17) and returns `trace`, `best`, the `rows` it solved and `document` at the best point. ≤ 64 design points synchronously; beyond, and mesh morphing (Parameterize and Explore), land with O17.2; the adjoint with O17.b. # Update a parametric study's design points as a job, beyond the synchronous 64 (O17.2) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-parametric-async openapi.json POST /v1/cfd.parametric.async `{document, study, action: update_all | update_current, warm_start?}` — `/v1/cfd.parametric`'s update without its 64-point cap (up to 1024 design points): 202 `{job_id, phase, points, poll, events}`; `/v1/jobs/{id}` (and its SSE events) carries `phase` (`point k/n`), the `rows` as each point is solved, and at `done` the synchronous answer as `result` (`rows`, `csv`, `statistics`, `parametric_key`, the `document` with the points marked updated). The same request is the same job (its id is the request's content address); every point is a cached, content-addressed solve. The plan is checked first: an unknown study, no inputs, no points, more than 1024 points are typed at once. # The design-point report shaped by the study's report settings (O17.2) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-parametric-report openapi.json POST /v1/cfd.parametric.report `{document, study, format: html | pptx | json}` — Parametric ▸ Simulation Report ▸ Design Point Report Settings on the parametric study (`report_points`: updated (default) | all | current | a comma list of design point labels; `report_parameters`: a comma list, empty = every input and output; `report_statistics`: Yes | No; `report_plots`: input:output pairs; `report_title`) over the outputs the document holds: `report` `{title, study, settings, columns: [[name, unit, input|output]], rows: [[label, values, updated, current]], statistics, plots: [[x, y, xs, ys]], notes}` and the page as `html` (the plots as the figure engine's SVG) or the deck as `bytes_base64` (`pptx`, the plots as pictures). Deterministic (`hash`). An unknown point / parameter / plot axis is CFD_INVALID. # A Fluent profile written from a result's boundary zone (O13) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-profile openapi.json POST /v1/cfd.profile `{result_key, region, fields?, name?}` -> `{name, ptype: point, n, fields, columns: {x, y, z, ...}, text}`: the values of the result fields at the face centres of an axis-face zone (a cell field interpolated to the nodes, the face's node mean) in Fluent's ASCII point-profile form `((name point n) (x ...) (y ...) (z ...) (field ...))`; cell_velocity writes x-/y-/z-velocity and velocity-magnitude, cell_pressure pressure, cell_temperature temperature. The page keeps it as a profile object: the outlet of one solve becomes the inlet profile of the next (`inlet_profile`). # LIC / OLIC / volume rendering of a stored field (O15.b) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-render openapi.json POST /v1/cfd.render A LIC / OLIC / Volumes graphic of the case rendered on the solved result: `{kind, width, height, png_base64, hash, ...}` — LIC: line integral convolution of the stored velocity on the graphic's plane surface (else the mid-z plane): a hashed white-noise texture convolved along the in-plane streamlines (RK2, one-pixel steps, `lic_length` each way; the oriented LIC ramps the downstream half), `{axis, position, u_axis, v_axis, u_range, v_range, intensity, speed, speed_range}`; Volumes: emission–absorption ray marching of a field-vocabulary variable along the graphic's View Axis, `{axis, value, alpha, range, variable}`. The field is sampled trilinearly from the nodal average on a box lattice, else at the nearest cell. Deterministic bytes. # The Simulation Report as deterministic HTML (O15) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-report openapi.json POST /v1/cfd.report `{document, solution?, results?, figures?, title?}` — F9's study report renderer under the cfd family, fed the figures `/v1/cfd.result` already rendered and the results the page collected; identical inputs give identical bytes (`hash`). # Every report definition of the case evaluated on a solved result (O14) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-report-definitions openapi.json POST /v1/cfd.report_definitions `{document, result_key}` -> `{count, errors, reports: [{id, label, rkind, reduction, field, zones, value?, unit, error?, components?}]}`: surface reports (area-weighted / facet / vertex / mass-weighted averages, integrals, flow rates, mass flow rate, standard deviation, sum, uniformity indices, the extrema) over the boundary faces of the scoped zones, volume reports (volume / mass, integrals, averages, extrema, cell count) over the fluid, flux reports (mass flow rate), force / drag / lift / moment reports on wall zones (the pressure force and the first-cell viscous shear; coefficients over the Reference Values), mesh reports — every value with its SI unit or a typed error naming its unit. The named expressions' reductions evaluate through /v1/cfd.expressions with the same `result_key`. # The Simulation Report as a PowerPoint deck (O15.b) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-report-pptx openapi.json POST /v1/cfd.report.pptx `{title, slides, bytes, hash, filename, content_type, bytes_base64}` — a PresentationML package written by the engine's own minimal OOXML writer (a ZIP of stored parts, a complete theme, one blank layout): a title slide (the case, the lowering's summary and skips, the result's metrics), the setup (the boundary zones and the models), the results (twelve rows a slide), one slide per `plots` entry rasterized as a PNG line plot, one per `renders` graphic (LIC / Volumes on `result_key`). The same request is the same bytes. # Evaluate one result object of the case on a solved result (O15) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-result openapi.json POST /v1/cfd.result `{document, result_key, result, figure?}` — the graphic / plot / report / animation / scene / dashboard object `result` lowered (`ss_cfd::lower_result`, the page's referee) and evaluated: a `paint` family (contours, vectors) and `pathlines` through the SHARED evaluator (`Orchestrator::fea_result`, the `cfd_field` / `cfd_pathlines` ops over the field vocabulary — 185 Fluent variables, 126 computed from the stored cell fields, the rest naming their unit), a `table` / `value` family (XY plots, histograms, the FFT of the residual history, cumulative plots, flux / force / projected-area reports, surface and volume integrals) through the O14 reductions with the O15 fields and the X5 figure, a `page` family answered with nothing to evaluate. The Simulation Report is `/v1/cfd.report`. # Record one applied edit on a session (O11) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-session-append openapi.json POST /v1/cfd.session.append Applies the verb to the replayed document (a refusal records nothing), returns the after-hash, the step count and the inverse; `before_hash` must equal the recorded chain head (409 otherwise); the episode cap answers 429. # Fold a session to its episode (O11) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-session-finish openapi.json POST /v1/cfd.session.finish Identical (initial, edits) → identical episode key as a direct /v1/cfd.episode; the session is then finished. # Open a recording session over an initial case (O11) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-session-start openapi.json POST /v1/cfd.session.start The shared recorder: returns the session id, the initial hash and the env version; every append is chain-guarded by the engine's hash. # The Structure model: one-way FSI as the composition with the F-track structural solver (O18) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-structure openapi.json POST /v1/cfd.structure `{document, result_key, action?}`. Every solid cell zone of the case (a `cell_zone` of type solid naming a cell register for its box — the conjugate-heat-transfer solid the fluid solve blocks) takes the solved fluid's loads on its wetted faces — per face the area-weighted mean gauge pressure as the face's pressure and the total first-cell viscous shear as the face's force (the O14 force-report law, the solid at rest) — and becomes a P1 structural case on the same lattice: the solid's box meshed at the case's element size, its faces on the domain boundary the fixed supports; solved through the structural solver by content address (cached, keyed, re-traceable). `zones[]`: the mapping (supports, wetted faces with area / cells / pressure_mean / force_pressure / force_viscous), the structural request, and with `action` solve (default) the structural result (result_key, cached, max_displacement, max_von_mises, metrics); `action` loads returns the mapping only (File ▸ FSI Mapping ▸ Surface). Typed: the Structure model off (CFD_INVALID), no solid zone (CFD_UNDERDEFINED), a floating solid or no wetted face (CFD_INVALID), nonlinear elasticity (CFD_NOT_YET — O18.2). `action` two-way (O18.b) runs the two-way loop — the fluid mesh moved in place by the solids' displacements, the fluid re-solved, to the loop's tolerance; O9 slice 8: a cylinder register is a cylinder solid (the snapped cylinder with `face:` sets — face:0 / face:1 its discs, face:2 its lateral face, the staircase's loads grouped by normal), the Structure model's thermal mapping `nodal` gives the kernel the temperature per structural node (`nodal_temps`), `remesh` on re-blocks the lattice by the deformed solid past half a cell, and on a transient case the two-way loop is the staggered march (one exchange per time step, the fluid restarted from its own cell fields). The System Coupling schedule the composition states is `/v1/cfd.export` format `scp`. # An engine surface evaluated on a result (O12.2) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-surface openapi.json POST /v1/cfd.surface `{surface, kind, triangles, area, field, min, max, mean, vertices, values, truncated, study_hash, result_key, surface_key}` — a quadric (sphere / cylinder / plane / the general a x² + … + j = iso), a plane or sphere slice, a transform (another engine surface translated by dx / dy / dz and rotated by `angle` about the Normal axis through the origin, re-sampled where it lands) or a group (the union of `members`) cut from the result's mesh by marching tetrahedra, coloured by `field` (a field-vocabulary variable; default the surface's Field, else the velocity magnitude) averaged to the nodes; `mean` is area-weighted. At most 50,000 triangles are returned (the counts and integrals are of every triangle). # Turbo Performance of a solved passage (O7.c) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-turbo openapi.json POST /v1/cfd.turbo `{document, result_key}` — the case with its Turbo Topology on (the axis, the pitch, the periodic pair, the hub / shroud / blade zones; `Turbo Setup` writes one from an annular sector). Returns every turbo report quantity — `mass-flow` [kg/s], `swirl-in` / `swirl-out` (the mass-weighted r·v_θ, the absolute swirl under a rotating frame), `total-pressure-ratio`, `total-temperature-ratio` (needs the energy solve), `head` [m], `torque` about the axis on blade + hub + shroud [N·m], `power` (shaft torque × ω with a frame, else ṁ Δp_t / ρ), `efficiency` (needs a frame) — through the same evaluator a report definition of kind `turbo` uses, and Euler's check `euler: {torque, flux, gap}` (the torque against ṁ Δ(r v_θ)). Typed: CFD_UNDERDEFINED without the topology; a quantity that cannot evaluate carries its `error` in place. # Case Check: every Outline View node's state (O11) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-validate openapi.json POST /v1/cfd.validate ok / q / bolt / x / warn / bad per node and the console rows, a pure function of `document` plus `solved` {env: the solved case id, result_id}: the domain and the fluid zone's material, one boundary per face, the flow's driver, the laminar Reynolds gate (a fast inlet without a turbulence model is bad), an object outside this rung named with its unit (warn — kept in the case, skipped by the solve). # Run the meshing workflow's tasks on the engine — the Watertight Geometry workflow as a recipe over the kernel (O19) Source: https://eddy-ac74d702.mintlify.app/api-reference/cfd/post-v1-cfd-workflow openapi.json POST /v1/cfd.workflow `{document, task?}`. The case's Watertight Geometry tasks (Mesh Generation ▸ Workflow: Import Geometry, Add Local Sizing, Generate the Surface Mesh, Describe Geometry, Apply Share Topology, Enclose Fluid Regions, Update Boundaries, Create / Update Regions, Add Boundary Layers, Generate the Volume Mesh) evaluated in order up to `task` (absent = all). The lowering already carries the tasks' mesh decisions — a body of influence (a cell register) as an O12 adaption box with its levels from the target size, the boundary layers as the kernel's graded boundary slab on the wall zones' axis (F4 inflation on the box), the hex fill — so the mesh the workflow generates IS the mesh the solve uses: the volume task's `mesh_key` equals /v1/cfd.mesh's for the same document (the identity gate). Each task's outcome is a census (the geometry, the sizing box, the boundary zones with their faces, the regions with their material points' containment, the layers, the volume mesh's cells / nodes / quality); a task the box cannot do is `not-applicable` naming its unit (share topology and capping → O19.b) and a task whose settings the lowering refused is `failed` with the typed refusals (tets → F4.b, poly-hexcore → O19.b, face sizing / multi-axis layers → O19.2). Returns `tasks[]`, `mesh_key`, `mesh_blob_id`, `cells`, `nodes` and the `document` with every task's state and outcome written back. # Deterministic circuit parameter sweep -> solve corpus (E6) Source: https://eddy-ac74d702.mintlify.app/api-reference/circuit/post-v1-circuit-sweep openapi.json POST /v1/circuit.sweep A parameter sweep over a base netlist whose manifest is a pure function of the spec, tier-labeled circuit-mna / companion-model-exact. Axes patch dot-paths in the netlist JSON (cartesian product, first axis outermost); every case is an ordinary content-addressed circuit solve stored with record=true, typed rejections ride as negative examples with the patched netlist blob, and the curriculum orders distinct circuit keys by unknown count. E7.17: `spec.monte_carlo {seed, runs, tolerances: [{select: a ref_id or a kind, pct, distribution: uniform | gaussian}]}` nests `runs` seeded draws inside every axis case (xorshift64* from (seed, run), the draws in component order — the manifest stays a pure function of the spec at any worker count); every drawn value rides in its case record’s params, the records carry the solved outputs and the manifest `monte_carlo_stats` (n, mean, std, min, max, p05, p95 per node: / branch: output). Caps: 512 cases, 2000000 case-steps (transient steps or AC points per case). Small sweeps answer inline; large ones (or async=true) return a JobRef -- either transport produces the same content-addressed manifest. # MNA circuit solve (E1) Source: https://eddy-ac74d702.mintlify.app/api-reference/circuit/post-v1-solve-circuit openapi.json POST /v1/solve.circuit Solve a netlist document by Modified Nodal Analysis: dc_op (C open, L short, diode/LED fixed-drop with on/off iteration; exponential devices by damped Newton with pnjlim limiting, max 100 iterations, typed divergence), trapezoidal transient on a fixed grid (Newton re-solve per step for nonlinear devices), or ac small-signal (E6): DC operating point, per-device linearization (diode_exp gd, npn/pnp Ebers-Moll hybrid-pi, nmos/pmos gm/gds), then a complex-MNA log-frequency sweep -- vsine components excite at their amplitude, phase 0; other sources are DC-quieted. E7.17: `netlist.temperature_c` (degrees C, ngspice’s .temp; absent = 27 C, every existing document’s bytes and solution) scales the junctions’ Vt and IS (EG 1.11 eV, XTI 3) and the resistors’ `tc1` / `tc2` params. Deterministic bytes; the circuit_key is a content address over the (netlist, analysis) document, so identical circuits collide to identical keys. Every solve mints a RunRecord under the circuit_key, so /v1/traces/{circuit_key}, /v1/reports/{circuit_key} and the corpus export serve circuit solves like FEA solves. Unsupported devices and malformed values are typed refusals naming what IS supported. Set record=true to store the {netlist, analysis, solution} document as a blob. Set async=true for compute placement: a 202 JobRef instead of the inline solution -- the finished job carries the SAME circuit_key and byte-identical solution (placement is explicitly the caller's choice; there is no size heuristic). # Leave Source: https://eddy-ac74d702.mintlify.app/api-reference/collab/delete-v1-projects-id-presence openapi.json DELETE /v1/projects/{id}/presence Removes your client's presence. # My notifications Source: https://eddy-ac74d702.mintlify.app/api-reference/collab/get-v1-me-notifications openapi.json GET /v1/me/notifications Newest first, across every inbox your principals name (your uid, and your email for anything addressed to you before you first signed in). Kinds: share, mention, reply, resolved, impact, org_invite. `after` = a time (unix ms); `unread=1` keeps only unread rows. # The project's comment threads Source: https://eddy-ac74d702.mintlify.app/api-reference/collab/get-v1-projects-id-comments openapi.json GET /v1/projects/{id}/comments Newest first; `status` = open (default) | resolved | all; `variant` filters to one variant's threads. # Who is here now Source: https://eddy-ac74d702.mintlify.app/api-reference/collab/get-v1-projects-id-presence openapi.json GET /v1/projects/{id}/presence The live peers (expired ones pruned). # Mark notifications read Source: https://eddy-ac74d702.mintlify.app/api-reference/collab/post-v1-me-notifications-read openapi.json POST /v1/me/notifications/read `through` (a time, unix ms): every row at or before it; or `all: true`. # Start a comment thread Source: https://eddy-ac74d702.mintlify.app/api-reference/collab/post-v1-projects-id-comments openapi.json POST /v1/projects/{id}/comments Anyone who may view the project comments. `anchor` is opaque per app (a `node/…` key where the family has one, a sheet point, a markup id) — the page reveals it; `variant` scopes the thread to a variant; `mentions` name people by email or uid (an email with a record becomes the uid) and each gets a `mention` notification. Broadcast on the project stream (`comment` {action: create}) and logged as activity. # Reply on a thread Source: https://eddy-ac74d702.mintlify.app/api-reference/collab/post-v1-projects-id-comments-cid-reply openapi.json POST /v1/projects/{id}/comments/{cid}/reply The thread's author and its earlier repliers get a `reply` notification; the mentioned a `mention`. # Resolve (or reopen) a thread Source: https://eddy-ac74d702.mintlify.app/api-reference/collab/post-v1-projects-id-comments-cid-resolve openapi.json POST /v1/projects/{id}/comments/{cid}/resolve The author, an editor or the owner. `resolved: false` reopens. The author gets a `resolved` notification. # Presence heartbeat Source: https://eddy-ac74d702.mintlify.app/api-reference/collab/post-v1-projects-id-presence openapi.json POST /v1/projects/{id}/presence Says you are in the project and which app view you have open: `state` carries `app`, `view` and optionally `variant` — nothing finer, by design (any other key is 400 PRESENCE_SHAPE: there are no per-feature or per-node "being edited" markers). `ttl_ms` 1000..60000 (default 15000); `ttl_ms: 0` leaves (for `sendBeacon`). The peers are broadcast on the project stream (`presence`) when the set or a state changed, or half the ttl passed. Never stored: per process, in memory. # List registered datasets (newest first) Source: https://eddy-ac74d702.mintlify.app/api-reference/data/get-v1-datasets openapi.json GET /v1/datasets # Fetch a dataset manifest by its content address Source: https://eddy-ac74d702.mintlify.app/api-reference/data/get-v1-datasets-id openapi.json GET /v1/datasets/{id} # ETL: run records -> features/labels -> deterministic split -> content-addressed dataset Source: https://eddy-ac74d702.mintlify.app/api-reference/data/post-v1-data-build openapi.json POST /v1/data.build 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:' operating-point/final node voltage or 'branch:' current; system: '.' 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. # Ingest external rows into a content-addressed dataset Source: https://eddy-ac74d702.mintlify.app/api-reference/data/post-v1-data-ingest openapi.json POST /v1/data.ingest Validates caller-supplied feature/label rows with typed errors (dimension mismatches and non-finite values are rejections, never silent drops) and packs them into the same dataset shape as the ETL path. The dataset id is a pure function of the row list and spec knobs. # The design packet: everything an agent needs to SEE a recipe or assembly, content-addressed (J12.c) Source: https://eddy-ac74d702.mintlify.app/api-reference/design/post-v1-design-packet openapi.json POST /v1/design.packet One bundle per recipe or assembly: the canonical views (annotated, one shared scale, keep-in / keep-out volumes and datums from the G4 `goal` drawn as overlays, the faces the last edit touched painted from `before`) and their contact sheet, the dimensioned drawing sheet with derived dimensions (composed through POST /v1/cad.sheet or /v1/asm.sheet with auto_dims, rasterized as PNG), an exploded view and the BOM for an assembly, exact mass properties. Every image is a pure function of the request and is stored as a blob (`/v1/blobs/{id}`); the manifest's hash is `packet_key`. `inline: true` adds a data URL per image for a model that reads pictures. Images stay on the PROPOSAL side of the design loop — the goal's satisfaction is still the engine's. # The DfM rule catalogue (112 rules), filterable by process Source: https://eddy-ac74d702.mintlify.app/api-reference/dfm/get-v1-dfm-catalogue openapi.json GET /v1/dfm.catalogue Every rule the checker grades (`ss.dfm.catalogue/1`): id, family, name, the processes it applies to, its limits (measure, comparator, value or the profile field it reads, unit, severity, source, confidence) and the unit that owns it. With `process`, only the rules that apply to it. # The DfM catalogue as one rule pack per process family Source: https://eddy-ac74d702.mintlify.app/api-reference/dfm/get-v1-dfm-packs openapi.json GET /v1/dfm.packs The 112-rule catalogue compiled into ss.pdm.rulepack/1 packs: dfm-milling, dfm-drilling, dfm-turning, dfm-moulding, dfm-sheet, dfm-casting, dfm-forging, dfm-additive, dfm-assembly, dfm-tolerance. A limit the catalogue states is a check over its geom:.dfm.. key at the catalogue's threshold (SI); a limit read from the shop profile is the rule's finding count (geom:.dfm..rule..findings <= 0). Import a pack with /v1/rulepack.import and adopt it, then standards.check or integrate with dfm: true evaluates it for each part's process (declared on the part, else the process the packs name, else 3-axis milling, said so). The seeded dfm-machining pack is unchanged beside them. # The seeded shop profiles, your saved ones, and every process the checker knows Source: https://eddy-ac74d702.mintlify.app/api-reference/dfm/get-v1-dfm-profiles openapi.json GET /v1/dfm.profiles The generic shops a check can name in `profile` (one per process family: machines, tools, sheet stock, press brakes, printers, the capability table and secondary operations, every value with its source and confidence), and each process with its seeded shop and the unit that builds its rules. # One shop profile, whole: seeded, or your saved one at a revision Source: https://eddy-ac74d702.mintlify.app/api-reference/dfm/get-v1-dfm-profiles-id openapi.json GET /v1/dfm.profiles/{id} The seeded shop by id (seeded: true), else the caller's organisation's saved profile (saved: true) at `rev` or its latest revision, with every revision's key: its machines, tool tables, sheet stock, press brakes, printers, capability rows and secondary operations, each with source and confidence. 404 DFM_UNKNOWN_PROFILE lists the seeded ids; 404 REV_UNKNOWN a revision the profile does not have. # A stored DfM report and its artifact row Source: https://eddy-ac74d702.mintlify.app/api-reference/dfm/get-v1-dfm-report-key openapi.json GET /v1/dfm.report/{key} The ss.dfm.report/1 stored by dfm.check (store: true) under its key, its artifact row (kind dfm_report: part, process, shop, counts, the project the check named) and `open`, the link that opens it in the Parts studio's Manufacturability panel. Stored reports list with GET /v1/plm.artifacts?kind=dfm_report. # Check a part's manufacturability against a process and a shop (the DfM report) Source: https://eddy-ac74d702.mintlify.app/api-reference/dfm/post-v1-dfm-check openapi.json POST /v1/dfm.check The DfM checker (MF track): a part, an assembly, or an imported STEP body checked against a profile (process, material, quantity and the shop that will make it), answering the `ss.dfm.report/1`: every finding with the rule, the faces or parts it is about, what was measured against which limit, the limit's source and confidence; the `geom:.dfm.*` measures a `dfm` rule pack reads; and, for every catalogue rule that applies but is not evaluated yet, the unit that builds it (`pending`) — never a silent pass. `subject` is exactly one of `{recipe, units?}` (a part recipe; `units` mm | cm | m | in, default m — the checker reads lengths in metres), `{brep_blob}` (an uploaded STEP file read as a B-rep in metres), `{step_blob}` (the STEP file's bytes as they are) or an assembly subject `{assembly, options?, request?, plan?, dfa?, mating?, units?}` (the assembly rules AS1-AS8: tool access, head clearance, thread engagement, hole alignment, interference, DFA index, fastener count, near-symmetry). `profile` is a seeded shop id (GET /v1/dfm.profiles), an inline shop, or a whole `ss.dfm.profile/1`; `process` picks the process on a shop (required when the shop runs several) or overrides a profile's. `pmi` attaches an `ss.pmi/1` set (tolerances and finishes graded against ISO 286 and the shop's capability). Built today: the machining seed and the tolerance rules TF1-TF3 on recipes for the milling and drilling processes, and the assembly rules; other processes, and machining on a part with no recipe, answer 422 `DFM_NOT_BUILT` whose message ends with the unit that builds them. Deterministic: the report is content-addressed (`report_key`, the b3 id of its canonical bytes), stored as a blob unless `store: false`, and the same inputs are answered from memory (`cached`). # The part's should-cost on a profile (ss.dfm.cost/1) and its cost curve over quantities Source: https://eddy-ac74d702.mintlify.app/api-reference/dfm/post-v1-dfm-cost openapi.json POST /v1/dfm.cost MF14's should-cost from geometry for the profile's process, material and quantity: the drivers the earlier units measure (machining setups and removal, holes; the mould's pull, projected area and undercut classes; the sheet's flat area, cuts and bends; the casting's tooling; the printer's build) priced against the shop's cost section into lines (material, setup per lot, tooling with its life, machine, labour, post-processing), each naming the rate rows it used and their confidence. Every seeded rate is `assumed`: an order of magnitude, not a quote. `quantities` adds the curve: the drivers are measured once and priced again at each quantity, so the curve is exact (moulds wearing out, prints sharing a build). Deterministic and content-addressed (`cost_key`, stored as a blob unless `store: false`). A process with no cost model, an unpriced material or a part the process cannot read is a typed refusal. # Explain a DfM report in plain words and rank what to fix first, validated against the report (MF19) Source: https://eddy-ac74d702.mintlify.app/api-reference/dfm/post-v1-dfm-explain openapi.json POST /v1/dfm.explain MF19's explanation. The engine builds `ss.mf19.explain.request/1` from the report (stored by `report_key`, or checked now from `subject` on the profile) and its MF16 fixes (a stored `fixes_key`, or searched now): per finding the rule and its name, the severity, measured against the limit in the catalogue's unit, the faces / edges / parts it names, the source, the cost delta (MF14) and the fix status (offered = a verified fix: applied to a copy and checked again), plus the engine's own ranking (severity, then a verified fix, then the biggest saving). The model (through the Eddy AI Gateway, or the engine's own text without one: `provider: engine`) writes one explanation per finding, a ranking and a summary naming what to fix first. Every reply passes the MF19 validator before it is answered: every number, rule id, face id, count, process name and money amount must be the request's; no finding may be ranked above one of higher severity; no pass or fail is stated; a verified fix is claimed only where the engine offers one. A refused reply gets one repair round, then 502 DFM_AI_REFUSED; a refused output is never used in part. The model never sets a pass or fail: the severities are the engine's. # Per-face thickness, draft and access values for a part (the DfM heat maps) Source: https://eddy-ac74d702.mintlify.app/api-reference/dfm/post-v1-dfm-fields openapi.json POST /v1/dfm.fields The values a DfM panel colours a part's faces by, one per B-rep face (`ss.dfm.fields/1`): `thickness` (the inscribed-sphere wall thickness, least and mean per face, and the same over its wall readings, in mm; the part's min / nominal / max wall), `draft` (for the best pull, or `pull` when given: each face's mould half, draft class against the required draft, least draft in degrees, whether it needs draft and the share of it that is undercut; the parting edges and the undercut regions with their class), and `access` (for the profile's machine and tools: each face's status (stock | turned | reached | partial | inaccessible | undercut | unsampled), the fraction the chosen setups reach and its setup; the setups' directions, faces and tools). A field that cannot be computed for the profile (access for a process with no machine) is listed in `skipped` with the reason, never left out silently. Face ids are B-rep face indices, the ids the SSBVIZ2 viz blob tags each triangle with; the answer carries that blob (`viz`) for the same solid, in the subject's own unit (`fields.metres_per_unit`). Nothing here is a finding: findings come from dfm.check. Deterministic and content-addressed (`fields_key`), stored as blobs unless `store: false`; the same inputs are answered from memory (`cached`). # Verified DfM fixes: each finding's edit applied to a copy, re-checked, offered only when clean (ss.dfm.fixes/1) Source: https://eddy-ac74d702.mintlify.app/api-reference/dfm/post-v1-dfm-fix openapi.json POST /v1/dfm.fix MF16. For each finding (all, or those `findings` / `rules` select) a generator per rule family proposes the edit that should fix it: a recipe edit (`cad.edit` ops: a parameter such as a hole's diameter, a pocket's corner fillet, a sheet's bend radius, an annotation's tolerance; or an added feature such as a face_edit draft or an escape hole) for recipe parts, a direct edit (a face edit draft or offset, a push-pull, an edge fillet) for imported parts, a PMI record edit for a tolerance or texture on an attached set. Every candidate is applied to a copy, the copy is checked again with the same profile, and the fix is offered only when the finding is gone and no rule gained an error; the item records the re-check (finding counts before and after, the re-check report's key) and MF14's cost delta when a hypothesis fits. Candidates that failed are listed as tried, not offered, with the reason; a finding with no deterministic fix (an assembly's tool access, a thick section to core out) says why. With `apply: true` the offered fixes (or `fixes` as given) are applied and the answer adds the edited subject (`{recipe, units}`, or `{brep_blob}`: a STEP blob in millimetres) and its fresh report. Deterministic; each candidate costs a rebuild and a full check, so select findings for a quick answer. # Turn a manufacturability ask in words into the engine's plan: target process, verified fixes composed and re-checked (MF19) Source: https://eddy-ac74d702.mintlify.app/api-reference/dfm/post-v1-dfm-intent openapi.json POST /v1/dfm.intent MF19's intent. Exactly one of `text` (read by the model into a typed request, validated), `intent` (typed) or `request`. The model only reads the words into `ss.mf19.intent/1` — a process or a family, a quantity, a material, a goal (manufacturable: clear the errors; cheaper: also take fixes that save money; clean: errors and warnings), rules — and the validator refuses any process, quantity or material the words do not state ("make it printable" is the additive family, never SLS picked for you). Everything after is the engine: the target profile (the named process; else `dfm.select` over the family's candidates, the cheapest feasible; else the current profile), the part checked on it, then MF16's verified fixes composed one finding at a time, highest ranked first: each offered edit applied, the part checked again, and the edit kept only when the finding is gone and no rule gained an error; a finding with no verified fix is set aside. It stops when no target finding is left, none has a verified fix, or the step limit is reached. The answer carries the plan (`ss.mf19.plan/1`: the intent, the target and how it was chosen, every step with its fix, re-check and reports, the counts before and after, the stop reason, what remains and why), the edited subject (a recipe in the request's units, or a STEP blob) and its final report. The model never sets a pass or fail. # Validate a DfM profile or a shop document Source: https://eddy-ac74d702.mintlify.app/api-reference/dfm/post-v1-dfm-profile-validate openapi.json POST /v1/dfm.profile.validate The body is an `ss.dfm.profile/1` (process, material, quantity, shop) or a shop alone. Answers ok with the document's content address, or the typed issues: a field that fails (with its path), a number with no source, a shop that does not run the profile's process, an unknown field. # Save your organisation's shop profile (a new revision) Source: https://eddy-ac74d702.mintlify.app/api-reference/dfm/post-v1-dfm-profiles openapi.json POST /v1/dfm.profiles A shop (machines, tools, sheet stock, press brakes, printers, capability rows, secondary operations, every value with its source and confidence) or a whole `ss.dfm.profile/1`, validated and saved for the caller's organisation under its shop's `id`: the document is stored by content and versioned as a PLM item of kind `dfm_profile` (`dfm_profile:~:`), each save a released revision (in ParamDB when a store is mounted). Saving the same bytes again is `unchanged`. A seeded shop's id is refused (409 DFM_PROFILE_READ_ONLY): the seeded shops are built in. A saved profile is then named by its id in `profile` on dfm.check, dfm.fields, dfm.cost and dfm.select, and lists in GET /v1/dfm.profiles. # Pick the process a part should be made by: every candidate checked and costed, ranked per quantity (ss.dfm.select/1) Source: https://eddy-ac74d702.mintlify.app/api-reference/dfm/post-v1-dfm-select openapi.json POST /v1/dfm.select MF15's process selection. Each candidate process (a profile: process, material, shop) is costed (MF14, the drivers measured once and priced exactly at every quantity) and checked (`dfm.check`, whatever the process's rule units return today). A finding of severity `error` makes a candidate infeasible as designed: still costed and ranked, flagged, with the findings that block it (`blocking`). A candidate whose rules are not built yet (`check` answers DFM_NOT_BUILT, or every one of its own rules is pending) is `unverified`: costed and ranked with the unit named, and becomes feasible or infeasible when that unit lands. Until MF8 evaluates IM5, moulding is screened on MF6's undercut classes: an undercut nothing releases blocks it. A candidate the cost engine refuses (no cost model, an unpriced material, a part a sheet process cannot read) or whose check refuses otherwise is listed in `skipped` with the reason. Without `candidates` or `processes`, every process on its seeded shop is a candidate (but welding and drilling, which do not make a part), in `material` or the `materials` named per process or family, and a process that does not make parts of that material is skipped. The answer ranks the candidates by cost per part (before markup) at each quantity, gives the break-even quantity of every pair that changes order between two neighbouring quantities, and the cheapest candidate that is not infeasible per quantity band. Every seeded rate is `assumed`: the ranking is an order of magnitude, not a quote. Deterministic and content-addressed (`select_key`). # A stored earthing document's canonical bytes Source: https://eddy-ac74d702.mintlify.app/api-reference/earthing/get-v1-earthing-document-key openapi.json GET /v1/earthing.document/{key} The document as `earthing_document`, `earthing_import`, `earthing_edit` or a calculation stored it (a fitted or calibrated soil model, a system with a generated grid laid in): canonical JSON whose BLAKE3 is the key (`x-eddy-key` carries it). Refused: `EARTHING_REQUEST` (400: not a key), `EARTHING_DOCUMENT_NOT_FOUND` (404: no such document, or the key is not an earthing document's). # Grid resistance and potentials by boundary elements, in uniform or horizontally layered soil (EG5, EG6) Source: https://eddy-ac74d702.mintlify.app/api-reference/earthing/post-v1-earthing-bem openapi.json POST /v1/earthing.bem Thin-wire boundary elements on the system's bare conductors and rods: closed-form segment integrals with the image above the surface, in uniform soil or any number of horizontal layers (the image series for two, a Hankel transform with libdlf's filter for more, tabulated; rods split at interfaces), a blocked dense Cholesky, free ends graded, and a convergence ladder (halving until Rg moves less than the tolerance, every rung on the result). Answers `ss.earthing.result/1`: Rg, the grid current, split factor and GPR for the drive (a fault case, a current or a potential), the leakage of every piece, floating electrodes and their potentials, the ladder. A fault case whose current is a PW study case's, or whose split is over return paths, is split by EG8 on the resistance found (`extensions.split`). A system above 1,000 straight runs solves on the heavy lane. Refused by name: `EARTHING_REQUEST` (400: the body, a member the calculation does not take, a document missing or given twice, a key that is not `b3:` and 64 hex digits), `EARTHING_SETTINGS` (400: a setting that does not read, by name), `EARTHING_DOCUMENT_INVALID` (400: a document that does not read), `EARTHING_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind, or a soil model the system names that is not stored), `EARTHING_POWER_NETWORK_NOT_FOUND` (404: the PW network named is not stored), `EARTHING_VALUE_TABLE` (422: a named table that cannot be read, with MEP8's code), `EARTHING_BUSY` (429: the heavy lane is full; retry after `Retry-After`, or send `async: true`). What cannot be worked out inside the calculation (a missing value table entry, a split that cannot be worked, a ladder that does not settle) is on the result as the crate states it, typed and named (`status: unevaluable`, `unevaluable`, findings), with status 200. The result is a design aid: a person reviews it before it is relied on. # Large sparse grids: conductor impedance coupled with leakage at 50 Hz, with compression (EG11) Source: https://eddy-ac74d702.mintlify.app/api-reference/earthing/post-v1-earthing-coupled openapi.json POST /v1/earthing.coupled For solar and wind farms, where tens of kilometres of conductor are not one potential: each conductor's internal and mutual impedance at the power frequency coupled with the boundary-element leakage (uniform or layered soil), insulated frames and cable sheaths as series paths, bonds as resistors; a dense solve, or hierarchical matrices with adaptive cross approximation and GMRES past `dense_max` unknowns. `model: auto` keeps the equipotential solve (and its bytes) unless a buried-wire check puts its error over `auto_margin`. Steel's resistivity and permeability only from a value table or an entered material (`COUPLED_VALUE_MISSING` on the result otherwise). Answers `ss.earthing.result/1` with the impedance, the least potential and the solver's counts under `extensions.coupled`. Lay a farm's metal with `earthing_farm`. A system above 1,000 runs takes the heavy lane, above 5,000 it is a job unless `async: false`. Refused by name: `EARTHING_REQUEST` (400: the body, a member the calculation does not take, a document missing or given twice, a key that is not `b3:` and 64 hex digits), `EARTHING_SETTINGS` (400: a setting that does not read, by name), `EARTHING_DOCUMENT_INVALID` (400: a document that does not read), `EARTHING_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind, or a soil model the system names that is not stored), `EARTHING_VALUE_TABLE` (422: a named table that cannot be read, with MEP8's code), `EARTHING_BUSY` (429: the heavy lane is full; retry after `Retry-After`, or send `async: true`). What cannot be worked out inside the calculation (a missing value table entry, a split that cannot be worked, a ladder that does not settle) is on the result as the crate states it, typed and named (`status: unevaluable`, `unevaluable`, findings), with status 200. The result is a design aid: a person reviews it before it is relied on. # Store an earthing document (survey, soil, system or result) by content address and validate it Source: https://eddy-ac74d702.mintlify.app/api-reference/earthing/post-v1-earthing-document openapi.json POST /v1/earthing.document Takes one of the four documents of the earthing track, inline (`document`) or a stored one's key (`key`), by its `schema` tag: `ss.earthing.survey/1` (soil resistivity traverses and field test readings), `ss.earthing.soil/1` (a layered soil model, fitted or entered), `ss.earthing.system/1` (the earthing system on its site: conductors, rods, plates, foundations, bonds, fences, surface layers, return paths, fault cases, objects at risk, in a projected or local frame, depth positive down) or `ss.earthing.result/1`. Stores its canonical bytes (lists sorted by id) under their BLAKE3, which is the `key` every calculation takes, and validates it: every problem is a typed finding with a code, the element it is on and a message (`validation`: counts and the first 200). A system is validated beside its soil model and PW network (`soil_key`, `power_network_key`, else the ones it names where they are stored); a soil beside its survey; a result beside its system. Refused by name: `EARTHING_REQUEST` (400: the body, not exactly one of `document` and `key`), `EARTHING_DOCUMENT_INVALID` (400: a schema tag that is not one of the four, an unknown field, a number that is not finite), `EARTHING_DOCUMENT_NOT_FOUND` (404), `EARTHING_POWER_NETWORK_NOT_FOUND` (404), `EARTHING_CAP` (413). # Apply edit verbs to an earthing document: the new document, each step's hash and the undo Source: https://eddy-ac74d702.mintlify.app/api-reference/earthing/post-v1-earthing-edit openapi.json POST /v1/earthing.edit One vocabulary for the survey, the soil and the system (`edit`): `add` {list, element}, `remove` {id}, `replace` {element}, `set` {id, field: a JSON pointer inside the element such as `/radius_m` or `/path/3`, value: null clears}, `set_document` {field, value}, `load` {document}. Each is applied in order and checked by reading the document back; the answer is the new document stored by key with its validation, `initial_key`, `episode_key` (BLAKE3 over the initial document and the edits), `episode` (`ss.earthing.episode/1`: each edit with the hash after it) and `undo` (the inverse verbs, which applied to the new document restore the first). A result is written whole by a calculation and is not edited. Refused by name: `EARTHING_REQUEST` (400), `EARTHING_EDIT_INVALID` (400: a verb that does not read or cannot apply, naming its index and why; a removal of an element a bond or a split refers to), `EARTHING_DOCUMENT_INVALID` (400), `EARTHING_DOCUMENT_NOT_FOUND` (404), `EARTHING_CAP` (413: more than 10,000 edits). # Lay a solar or wind farm's metal into a system: pile rows, turbine foundations, foundation cages, cable sheaths (EG11) Source: https://eddy-ac74d702.mintlify.app/api-reference/earthing/post-v1-earthing-farm openapi.json POST /v1/earthing.farm Generators for `earthing_coupled`: rows of driven piles (`pile_rows`: each pile a rod, each row's frame an insulated conductor, a bare earth conductor across the rows), wind turbine foundations (`turbines`: the reinforcement as a round cage, an earth ring and radial links), every foundation of the system as its reinforcement cage (`foundation_cages`), and collector cable sheaths as insulated conductors (`sheaths`). Answers the system with the metal laid in (`ss.earthing.system/1`, stored by key) and `series_ohm_per_m`, the sheaths' resistances for `earthing_coupled`'s settings. Refused by name: `EARTHING_REQUEST` (400: the body, a member the calculation does not take, a document missing or given twice, a key that is not `b3:` and 64 hex digits), `EARTHING_SETTINGS` (400: a setting that does not read, by name), `EARTHING_DOCUMENT_INVALID` (400: a document that does not read), `EARTHING_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind, or a soil model the system names that is not stored), `FARM_SPEC` (422: a generator's value that cannot be, by name). What cannot be worked out inside the calculation (a missing value table entry, a split that cannot be worked, a ladder that does not settle) is on the result as the crate states it, typed and named (`status: unevaluable`, `unevaluable`, findings), with status 200. The result is a design aid: a person reviews it before it is relied on. # Calibrate the soil model to measured test readings, with the change recorded (EG12) Source: https://eddy-ac74d702.mintlify.app/api-reference/earthing/post-v1-earthing-fieldtest-calibrate openapi.json POST /v1/earthing.fieldtest.calibrate Levenberg-Marquardt on factors of the soil's numbers (`free`: all, resistivities or scale; or named `parameters` such as rho_0, h_0), each held within `max_factor` either way, on the boundary-element model with its pieces frozen, until the readings of the survey's tests are matched; the calibrated soil is stored as a document (`documents.calibrated_soil`) and the record (`ss.earthing.calibration/1`: before and after, each factor, the readings, what is not fixed) is the result. Always on the heavy lane. Refused by name: `EARTHING_REQUEST` (400: the body, a member the calculation does not take, a document missing or given twice, a key that is not `b3:` and 64 hex digits), `EARTHING_SETTINGS` (400: a setting that does not read, by name), `EARTHING_DOCUMENT_INVALID` (400: a document that does not read), `EARTHING_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind, or a soil model the system names that is not stored), `EARTHING_BUSY` (429: the heavy lane is full; retry after `Retry-After`, or send `async: true`), `FIELDTEST_REFERENCE_DANGLING`, `FIELDTEST_MODEL_UNSOLVED`, `CALIBRATION_NO_DATA`, `CALIBRATION_TOO_FEW_READINGS`, `CALIBRATION_NOT_CONVERGED` (422). What cannot be worked out inside the calculation (a missing value table entry, a split that cannot be worked, a ladder that does not settle) is on the result as the crate states it, typed and named (`status: unevaluable`, `unevaluable`, findings), with status 200. The result is a design aid: a person reviews it before it is relied on. # Measured test readings against what the model predicts (EG12) Source: https://eddy-ac74d702.mintlify.app/api-reference/earthing/post-v1-earthing-fieldtest-compare openapi.json POST /v1/earthing.fieldtest.compare The survey's fall-of-potential and current-injection tests (`tests`; every test when left out) predicted by the system solved in its soil and compared reading by reading at a stated tolerance (10 % of the reading by default, or an absolute one), each reading outside it a finding. Answers `ss.earthing.fieldtest.compare/1`. Refused by name: `EARTHING_REQUEST` (400: the body, a member the calculation does not take, a document missing or given twice, a key that is not `b3:` and 64 hex digits), `EARTHING_SETTINGS` (400: a setting that does not read, by name), `EARTHING_DOCUMENT_INVALID` (400: a document that does not read), `EARTHING_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind, or a soil model the system names that is not stored), `EARTHING_BUSY` (429: the heavy lane is full; retry after `Retry-After`, or send `async: true`), `FIELDTEST_REFERENCE_DANGLING`, `FIELDTEST_MODEL_UNSOLVED`, `FIELDTEST_TEST_INVALID`, `FIELDTEST_OPTIONS_INVALID` (422). What cannot be worked out inside the calculation (a missing value table entry, a split that cannot be worked, a ladder that does not settle) is on the result as the crate states it, typed and named (`status: unevaluable`, `unevaluable`, findings), with status 200. The result is a design aid: a person reviews it before it is relied on. # A fall-of-potential test plan from the model: probe positions, what the instrument should read, the true point (EG12) Source: https://eddy-ac74d702.mintlify.app/api-reference/earthing/post-v1-earthing-fieldtest-fop openapi.json POST /v1/earthing.fieldtest.fop The system solved in its soil (per ampere): along a line at `bearing_deg` from the main electrode's edge (or `electrode`), the current probe at `current_probe_m` (five times the electrode's largest dimension when left out) and the potential probe at each fraction of that distance, with the resistance the instrument should read there and its error against Rg; the true point found on the model's curve, and the 61.8 % rule flagged where it is over 2 % off. Answers `ss.earthing.fieldtest.fop/1`. Refused by name: `EARTHING_REQUEST` (400: the body, a member the calculation does not take, a document missing or given twice, a key that is not `b3:` and 64 hex digits), `EARTHING_SETTINGS` (400: a setting that does not read, by name), `EARTHING_DOCUMENT_INVALID` (400: a document that does not read), `EARTHING_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind, or a soil model the system names that is not stored), `EARTHING_BUSY` (429: the heavy lane is full; retry after `Retry-After`, or send `async: true`), `FIELDTEST_MODEL_UNSOLVED`, `FIELDTEST_SOIL_INVALID`, `FIELDTEST_TEST_INVALID`, `FIELDTEST_OPTIONS_INVALID` (422). What cannot be worked out inside the calculation (a missing value table entry, a split that cannot be worked, a ladder that does not settle) is on the result as the crate states it, typed and named (`status: unevaluable`, `unevaluable`, findings), with status 200. The result is a design aid: a person reviews it before it is relied on. # A current-injection test plan from the model: surface potential, touch and step along a probe traverse (EG12) Source: https://eddy-ac74d702.mintlify.app/api-reference/earthing/post-v1-earthing-fieldtest-injection openapi.json POST /v1/earthing.fieldtest.injection The system solved in its soil: at the test current (`current_a`), with the return electrode where it is (`return_electrode`; far away when left out, said), the surface potential, touch and step a probe should read at each position of a traverse (`traverse_start`, `traverse_bearing_deg`, `traverse_step_m`, `traverse_points`). Answers `ss.earthing.fieldtest.injection/1`. Refused by name: `EARTHING_REQUEST` (400: the body, a member the calculation does not take, a document missing or given twice, a key that is not `b3:` and 64 hex digits), `EARTHING_SETTINGS` (400: a setting that does not read, by name), `EARTHING_DOCUMENT_INVALID` (400: a document that does not read), `EARTHING_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind, or a soil model the system names that is not stored), `EARTHING_BUSY` (429: the heavy lane is full; retry after `Retry-After`, or send `async: true`), `FIELDTEST_MODEL_UNSOLVED`, `FIELDTEST_SOIL_INVALID`, `FIELDTEST_TEST_INVALID`, `FIELDTEST_OPTIONS_INVALID` (422). What cannot be worked out inside the calculation (a missing value table entry, a split that cannot be worked, a ladder that does not settle) is on the result as the crate states it, typed and named (`status: unevaluable`, `unevaluable`, findings), with status 200. The result is a design aid: a person reviews it before it is relied on. # Lay an earthing grid on a fence polygon: perimeter offset, clipped mesh, rods at corners (EG14) Source: https://eddy-ac74d702.mintlify.app/api-reference/earthing/post-v1-earthing-grid openapi.json POST /v1/earthing.grid The generator of `spec`: a perimeter conductor offset from the fence polygon (`perimeter_offset_m`, mitre joins), a mesh of two families of lines at `spacing_m` (turned by `bearing_deg`, through `anchor` or fitted evenly) clipped to it with shared vertices where they meet, rods at the corners and at stated points (`rods`), all at `depth_m` with `conductor_radius_m`. Answers the generated set (`ss.earthing.grid/1`: conductors, rods and a report of lengths, lines, joints and rods); with `system` (or `system_key`) it is laid into that system, with `frame` it makes a new one, stored either way as `documents.system`. Refused by name: `EARTHING_REQUEST` (400: the body, a member the calculation does not take, a document missing or given twice, a key that is not `b3:` and 64 hex digits), `EARTHING_SETTINGS` (400: a setting that does not read, by name), `EARTHING_DOCUMENT_INVALID` (400: a document that does not read), `EARTHING_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind, or a soil model the system names that is not stored), `EARTH_GRID_SPEC`, `EARTH_GRID_FENCE`, `EARTH_GRID_PERIMETER`, `EARTH_GRID_ROD_OFF_GRID`, `EARTH_GRID_CAP`, `EARTH_GRID_FRAME` (422). What cannot be worked out inside the calculation (a missing value table entry, a split that cannot be worked, a ladder that does not settle) is on the result as the crate states it, typed and named (`status: unevaluable`, `unevaluable`, findings), with status 200. The result is a design aid: a person reviews it before it is relied on. # The IEEE 80 hand method: grid resistance, GPR, mesh and step voltages against the tolerable touch and step voltages, conductor sizing (EG4) Source: https://eddy-ac74d702.mintlify.app/api-reference/earthing/post-v1-earthing-ieee80 openapi.json POST /v1/earthing.ieee80 On a regular grid in uniform soil (or the engineer's uniform equivalent, `uniform_resistivity_ohm_m`, said as a warning): Sverak's grid resistance (Laurent-Niemann and Schwarz beside it), the decrement factor and grid current for the fault case (its entered current and X/R; a PW study case's current and a split over return paths worked by EG8 on Sverak's resistance), the GPR, the mesh and step voltages with every factor (Km, Ks, Ki, Kii, Kh, n), Dalziel's tolerable touch and step voltages for 50 kg and 70 kg with the surface layer factor Cs, each a cited criterion, and the conductor size per material (steels' constants only from a value table). The formulae are published facts (Dalziel, Sverak, Schwarz; IEEE Std 80): no paid value is built in. Applicability limits are typed (`IEEE80_SOIL_NOT_UNIFORM`, `IEEE80_GRID_NOT_REGULAR`, `IEEE80_OUT_OF_RANGE`, …) on the result, which is `ss.earthing.result/1` with the detail under `extensions.ieee80`. Refused by name: `EARTHING_REQUEST` (400: the body, a member the calculation does not take, a document missing or given twice, a key that is not `b3:` and 64 hex digits), `EARTHING_SETTINGS` (400: a setting that does not read, by name), `EARTHING_DOCUMENT_INVALID` (400: a document that does not read), `EARTHING_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind, or a soil model the system names that is not stored), `EARTHING_POWER_NETWORK_NOT_FOUND` (404: the PW network named is not stored), `EARTHING_VALUE_TABLE` (422: a named table that cannot be read, with MEP8's code). What cannot be worked out inside the calculation (a missing value table entry, a split that cannot be worked, a ladder that does not settle) is on the result as the crate states it, typed and named (`status: unevaluable`, `unevaluable`, findings), with status 200. The result is a design aid: a person reviews it before it is relied on. # Import soil traverses from CSV as a survey, or a conductor layout from GeoJSON as a system Source: https://eddy-ac74d702.mintlify.app/api-reference/earthing/post-v1-earthing-import openapi.json POST /v1/earthing.import `format: csv`: a field sheet with a header row and one reading per row (`traverse`, `method` wenner | schlumberger | dipole_dipole, `a_m`, `ab2_m`, `mn2_m`, `n`, `resistance_ohm`, `apparent_resistivity_ohm_m`, `x_m`, `y_m`, `bearing_deg`, `date`, `instrument`, `note`, `excluded`; SI units, not converted), as `ss.earthing.survey/1`. `format: geojson`: a layout whose features become elements by geometry and `kind` property (lines are conductors, points rods, polygons fences, surface layers or closed conductors, `role` makes an object at risk), as `ss.earthing.system/1`; crossings are noded by default, and `into_key` adds the layout to a stored system by its `add` edits. What the importer does not carry is an import finding (`import_findings`), never dropped silently; a default the caller gave is counted. Refused by name: `EARTHING_REQUEST` (400: the body, an unknown member, a layout member on a CSV import), `EARTHING_SETTINGS` (400: `frame`, `coordinates` or `z` that does not read), `EARTHING_IMPORT_INVALID` (400: a file that cannot be read at all: no header, no readings column, not UTF-8, not GeoJSON), `EARTHING_DOCUMENT_NOT_FOUND` (404: `into_key`). TL3c: `blob` (a blob id) instead of `text`: the file is read from the blob as the caller and imported exactly as if sent inline; giving both is 400 FILE_GIVEN_TWICE, a blob that is not UTF-8 text 400 BLOB_NOT_TEXT. # An earthing report: the soil report, the design report, the risk assessment or the commissioning test plan (`ss.earthing.report/1`), with HTML and PDF Source: https://eddy-ac74d702.mintlify.app/api-reference/earthing/post-v1-earthing-report openapi.json POST /v1/earthing.report Lays the earthing track's documents out as one report of nine sections: summary; inputs (each setting marked `default` or `as requested`); method, with what it is cited to (a standard is named by its number only, never quoted); the value tables and data cited; the results as tables; the findings, with the documents' own checks; what was not studied and why; the record (every document read, by key); and the references. `soil`: the traverses and readings, the fitted model, the fit's quality and the inversion's notes (equivalence, outliers, layer counts tried). `design`: the system, grid resistance and rise from each result beside its method, touch and step against their cited criteria, the fault current split, transferred potentials and the services crossing the hazard zones, the proposals. `risk`: the EG-0 method's faults, places and contact scenarios, coincidence and fibrillation, individual risk against the cited targets, the ALARP table and the interpolation used. `test_plan`: fall-of-potential traverses with what the instrument should read and where the 61.8 % rule holds, a current-injection traverse, and touch and step check points at the safety assessment's worst places, each with what the model predicts. Every table of a report ends with the references it stands on (publications by author, the engine's methods, the documents by key, and a value table's entries by table, key, standard and edition); a value from a customer's value table is cited, never printed bare, and a paid table's contents are never listed. Nothing is calculated except the test plan's predictions, which are EG12's: a cell is a member of a document at five significant figures in the unit the document holds it in. Deterministic: the same documents and titles give the same bytes, and `verify_result` on the answer's key makes it again from the stored documents. Refused by name: `EARTHING_REQUEST` (400: the body, an unknown member, a key that is not `b3:` and 64 hex digits, titles that do not read or cannot be printed, a format that is not the route's), `EARTHING_DOCUMENT_NOT_FOUND` (404: nothing stored under a key), `EARTHING_DOCUMENT_INVALID` (422: a document that does not read as what it is given as, or a key whose bytes are not that document's canonical form), `EARTHING_REPORT_INVALID` (422: documents that do not belong together, a document twice, a report its documents cannot make, a test plan EG12 cannot make). # Risk-based criteria (the EG-0 method of the open literature): individual risk per contact scenario against targets, with the ALARP table (EG9) Source: https://eddy-ac74d702.mintlify.app/api-reference/earthing/post-v1-earthing-risk openapi.json POST /v1/earthing.risk The `study`'s faults (rate per year, clearing by main or backup protection: entered, the system's fault case's times, or PW7's operating time of named devices from `library_keys` and the PW network), locations (touch or step, the voltage entered, per fault, or read from EG7's assessment at a point or the worst of a zone) and contact scenarios (who, how often, how long, footwear, the ground under the feet). Coincidence by Carman's formula; fibrillation probability only from the customer's IEC 60479-1 value table (`iec60479/…` keys: no table, `RISK_VALUE_MISSING` naming the keys, never a guess); individual risk against HSE R2P2's boundaries (cited, OGL v3.0) or a value table's (`risk_targets/…`). Where a location reads EG7, the safety assessment of each fault case is run here (`settings.safety`, needs the soil) and stored under `upstream`. Answers `ss.earthing.risk/1`. Refused by name: `EARTHING_REQUEST` (400: the body, a member the calculation does not take, a document missing or given twice, a key that is not `b3:` and 64 hex digits), `EARTHING_SETTINGS` (400: a setting that does not read, by name), `EARTHING_DOCUMENT_INVALID` (400: a document that does not read), `EARTHING_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind, or a soil model the system names that is not stored), `EARTHING_POWER_NETWORK_NOT_FOUND` (404: the PW network named is not stored), `EARTHING_VALUE_TABLE` (422: a named table that cannot be read, with MEP8's code), `EARTHING_BUSY` (429: the heavy lane is full; retry after `Retry-After`, or send `async: true`), `EARTHING_LIBRARY_NOT_FOUND` (404), `RISK_INPUT_INVALID` (422: a study that does not read: an unknown id, a negative rate, a typo under a table prefix, an assessment of another system). What cannot be worked out inside the calculation (a missing value table entry, a split that cannot be worked, a ladder that does not settle) is on the result as the crate states it, typed and named (`status: unevaluable`, `unevaluable`, findings), with status 200. The result is a design aid: a person reviews it before it is relied on. # Safety assessment: surface potential, touch and step voltages over the site against cited criteria, with mitigation proposals (EG7) Source: https://eddy-ac74d702.mintlify.app/api-reference/earthing/post-v1-earthing-safety openapi.json POST /v1/earthing.safety From the boundary-element solution for the fault case: the surface potential, the touch voltage (earthed metal within reach, and anywhere a grid shuts the ground in) and the step voltage over the site and a buffer, on one lattice, for the grid current with its DC offset (the decrement factor). Each zone (bare soil, each surface layer) is held against its criterion: IEEE 80's tolerable voltages (Dalziel's body current, a 1000 ohm body, Cs) for the governing body weight, or a value table's permissible touch voltages (`criteria_table`: `/touch_limit_v/`; a duration the table does not hold is unevaluable, naming the key). The worst touch and step per zone are followed off the lattice to the solver's own figure, with places; the areas over a limit are closed bands. The three fields are stored as quantity rasters and the zones as vector documents in the spatial engine (`layers`), under the keys the result names. Proposals (a surface layer, a grading ring, conductors through the worst mesh) are edits of the system (`proposals`) that a re-run applies with `earthing_edit`. Refused by name: `EARTHING_REQUEST` (400: the body, a member the calculation does not take, a document missing or given twice, a key that is not `b3:` and 64 hex digits), `EARTHING_SETTINGS` (400: a setting that does not read, by name), `EARTHING_DOCUMENT_INVALID` (400: a document that does not read), `EARTHING_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind, or a soil model the system names that is not stored), `EARTHING_POWER_NETWORK_NOT_FOUND` (404: the PW network named is not stored), `EARTHING_VALUE_TABLE` (422: a named table that cannot be read, with MEP8's code), `EARTHING_BUSY` (429: the heavy lane is full; retry after `Retry-After`, or send `async: true`). What cannot be worked out inside the calculation (a missing value table entry, a split that cannot be worked, a ladder that does not settle) is on the result as the crate states it, typed and named (`status: unevaluable`, `unevaluable`, findings), with status 200. The result is a design aid: a person reviews it before it is relied on. # The earthing set: every report its documents allow, the hazard zone drawings and an index, with a hash manifest (`ss.earthing.reportset/1`), or as one zip Source: https://eddy-ac74d702.mintlify.app/api-reference/earthing/post-v1-earthing-sheets openapi.json POST /v1/earthing.sheets Makes the printable set of an earthing study from its documents: the soil report (given a soil document), the design report (given a system), the risk assessment (given a risk study) and the test plan (given a system, a soil and `test_plan`), each as HTML, PDF and its document; the hazard zone drawings, one SVG sheet per result and quantity with a zones or contours document (EG10's EPR and transferred-potential zones and contours, EG7's areas over a limit), drawn north up at a standard scale over the system, its fences and the services, with a frame and title block, a legend, a scale bar, and the table of services crossing the zones (or the worst figure of each part of the site against its limit), rows that do not fit continued on further sheets; and an index page linking every file. The manifest names every file by the BLAKE3 of its bytes. What cannot be made (a report whose documents were not given, a zones document a result names and that was not given) is a note in the manifest and on the index. Every table of a report ends with the references it stands on (publications by author, the engine's methods, the documents by key, and a value table's entries by table, key, standard and edition); a value from a customer's value table is cited, never printed bare, and a paid table's contents are never listed. Nothing is calculated except the test plan's predictions, which are EG12's: a cell is a member of a document at five significant figures in the unit the document holds it in. Deterministic: the same documents and titles give the same bytes, and `verify_result` on the answer's key makes it again from the stored documents. Refused by name: `EARTHING_REQUEST` (400: the body, an unknown member, a key that is not `b3:` and 64 hex digits, titles that do not read or cannot be printed, a format that is not the route's), `EARTHING_DOCUMENT_NOT_FOUND` (404: nothing stored under a key), `EARTHING_DOCUMENT_INVALID` (422: a document that does not read as what it is given as, or a key whose bytes are not that document's canonical form), `EARTHING_REPORT_INVALID` (422: documents that do not belong together, a document twice, a report its documents cannot make, a test plan EG12 cannot make). # Fit a layered soil model to resistivity soundings (EG3) Source: https://eddy-ac74d702.mintlify.app/api-reference/earthing/post-v1-earthing-soil-fit openapi.json POST /v1/earthing.soil.fit Levenberg-Marquardt on the logarithms of the layers' resistivities and thicknesses, from a fixed lattice of starts (no randomness), on the survey's Wenner, Schlumberger and dipole-dipole readings: the forward model is the image series for two layers and our own Hankel transform with libdlf's filter for more. The layer count is the fewest the readings ask for (corrected Akaike) up to `max_layers`, or exactly `layers`; the fit's RMS misfit, 95 % ranges of each parameter, the layers the readings cannot separate (equivalence) and readings far from the curve (outliers, left out and named by default) are on the record. `mode: joint` (default) fits the traverses named together and answers the soil document itself (`ss.earthing.soil/1`, its fit record in `source` and `extensions`); `apart` fits each on its own and answers `ss.earthing.soil.fits/1`, each fitted soil also stored as a document. `fit_findings` lists what a person should look at (poor fit, equivalence, outliers). Refused by name: `EARTHING_REQUEST` (400: the body, a member the calculation does not take, a document missing or given twice, a key that is not `b3:` and 64 hex digits), `EARTHING_SETTINGS` (400: a setting that does not read, by name), `EARTHING_DOCUMENT_INVALID` (400: a document that does not read), `EARTHING_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind, or a soil model the system names that is not stored), `SOIL_REFERENCE_DANGLING` (422: a traverse the survey does not hold), `SOIL_FIT_NO_DATA`, `SOIL_FIT_TOO_FEW_READINGS`, `SOIL_FIT_UNSUPPORTED`, `SOIL_FIT_NOT_CONVERGED`, `SOIL_ARRAY_INVALID` (422). What cannot be worked out inside the calculation (a missing value table entry, a split that cannot be worked, a ladder that does not settle) is on the result as the crate states it, typed and named (`status: unevaluable`, `unevaluable`, findings), with status 200. The result is a design aid: a person reviews it before it is relied on. # Read a fall-of-potential test: the resistance by the 61.8 % rule or a hemisphere fit (EG3) Source: https://eddy-ac74d702.mintlify.app/api-reference/earthing/post-v1-earthing-soil-fop openapi.json POST /v1/earthing.soil.fop Reads one fall-of-potential test of the survey (`test`, by id): the resistance at 61.8 % of the distance to the current probe where the readings bracket it, with the spread of the curve 10 % either side (the plateau), and a fit of the hemisphere-electrode curve `R(x)` to every reading; the figure stood by and its basis (`61.8 % rule` or `hemisphere fit`), with findings where the curve has no plateau. The record is `ss.earthing.fop/1`. For a test planned against the model use `earthing_fieldtest_fop`. Refused by name: `EARTHING_REQUEST` (400: the body, a member the calculation does not take, a document missing or given twice, a key that is not `b3:` and 64 hex digits), `EARTHING_SETTINGS` (400: a setting that does not read, by name), `EARTHING_DOCUMENT_INVALID` (400: a document that does not read), `EARTHING_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind, or a soil model the system names that is not stored), `SOIL_REFERENCE_DANGLING` (422: no such test), `FOP_INVALID` (422: a test that is not a fall-of-potential one, or reads nothing). What cannot be worked out inside the calculation (a missing value table entry, a split that cannot be worked, a ladder that does not settle) is on the result as the crate states it, typed and named (`status: unevaluable`, `unevaluable`, findings), with status 200. The result is a design aid: a person reviews it before it is relied on. # Fault current split: how much of a fault case's current enters the soil through the grid (EG8) Source: https://eddy-ac74d702.mintlify.app/api-reference/earthing/post-v1-earthing-split openapi.json POST /v1/earthing.split For the fault case (`fault_case`) and a grid resistance (`grid_resistance_ohm`, from `earthing_bem` or `earthing_ieee80`): the fault current (entered, or read from PW5's fault study and PW8's fault paths of the PW network the system names), the earth-wire ladders (finite, or infinite where no far end is given) with tower footings and Carson's earth-return impedances, cable sheaths and remote earths; the split factor Sf, the grid current as a phasor, the GPR and every tower's potential. Answers `ss.earthing.split/1`. `earthing_bem` with `fault_case` runs the same split on the resistance it finds. Refused by name: `EARTHING_REQUEST` (400: the body, a member the calculation does not take, a document missing or given twice, a key that is not `b3:` and 64 hex digits), `EARTHING_SETTINGS` (400: a setting that does not read, by name), `EARTHING_DOCUMENT_INVALID` (400: a document that does not read), `EARTHING_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind, or a soil model the system names that is not stored), `EARTHING_POWER_NETWORK_NOT_FOUND` (404: the PW network named is not stored), `EARTHING_VALUE_TABLE` (422: a named table that cannot be read, with MEP8's code), the split's own codes (422: `SPLIT_INPUT_INVALID`, `SPLIT_DATA_MISSING`, `SPLIT_UNSUPPORTED`, `SPLIT_POWER_NETWORK_MISSING`, `SPLIT_POWER_UNEVALUABLE`, `SPLIT_NETWORK_UNSOLVED`, `SPLIT_NO_FEEDS`, …) naming what is at fault. What cannot be worked out inside the calculation (a missing value table entry, a split that cannot be worked, a ladder that does not settle) is on the result as the crate states it, typed and named (`status: unevaluable`, `unevaluable`, findings), with status 200. The result is a design aid: a person reviews it before it is relied on. # Transferred potentials and hazard zones: fences, pipelines, rails, sheaths and telecom plant near the grid, EPR contours and the services they cross (EG10) Source: https://eddy-ac74d702.mintlify.app/api-reference/earthing/post-v1-earthing-transfer openapi.json POST /v1/earthing.transfer Long conductors (from the system's `extensions.transfer` and `settings.conductors`; the system's fences from their own post data) as lines with series impedance (none, entered or Carson's) and leakage (a coating, per metre, or posts as rods) driven by the grid's boundary-element soil potential, with bonds, earthing points, insulating joints and rings; a bonded fence of no impedance drawn into the grid's solution. EPR and transferred-potential rasters with closed bands at the levels entered (none ship: zone levels are paid or restricted values), stored in the spatial engine (`layers`); every service of the vector layers given (`services`) cut against every zone, each crossing a finding with its length and worst touch. Answers `ss.earthing.result/1` with the detail under `extensions.transfer`. Refused by name: `EARTHING_REQUEST` (400: the body, a member the calculation does not take, a document missing or given twice, a key that is not `b3:` and 64 hex digits), `EARTHING_SETTINGS` (400: a setting that does not read, by name), `EARTHING_DOCUMENT_INVALID` (400: a document that does not read), `EARTHING_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind, or a soil model the system names that is not stored), `EARTHING_POWER_NETWORK_NOT_FOUND` (404: the PW network named is not stored), `EARTHING_VALUE_TABLE` (422: a named table that cannot be read, with MEP8's code), `EARTHING_BUSY` (429: the heavy lane is full; retry after `Retry-After`, or send `async: true`). What cannot be worked out inside the calculation (a missing value table entry, a split that cannot be worked, a ladder that does not settle) is on the result as the crate states it, typed and named (`status: unevaluable`, `unevaluable`, findings), with status 200. The result is a design aid: a person reviews it before it is relied on. # The default rules document and the rule vocabulary (E7.4) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/get-v1-eda-rules-defaults openapi.json GET /v1/eda.rules.defaults Altium's default rule set in this rung's units (clearance 0.2 mm, width 0.1/0.25/2.0, hole 0.1..3.0, outline clearance 0.25, component clearance 0, short circuit, unrouted net) plus the vocabulary: evaluable kinds with arity and parameters, and the later kinds with the unit that lands them. # The annotation family: annotate / quiet / force / reset / reset duplicates / back-annotate / number sheets (E7.7) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-annotate openapi.json POST /v1/eda.annotate A pure function of the project document. `mode: annotate` numbers the `?` designators (root sheet first, then the child sheets in walk order; within a sheet by `scheme` — across_then_down (default), down_then_across, up_then_across, across_then_up — then id), keeping every existing designator; `quiet` is the same without a dialog (the change list is returned anyway); `force` renumbers every component from `start`; `reset` puts every designator back to PREFIX?; `reset_duplicates` resets the second and later holders of a designator; `back` applies a {from: to} map (the board's footprints follow); `number_sheets` numbers the sheets in walk order. Deterministic. Returns the document, the change list [{sheet, id, from, to}], `document_hash` and `annotate_key` (document + op). # The autorouter as a job: open connections in scope walked around one by one; sync while few, else 202 + JobRef (E7.10) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-autoroute openapi.json POST /v1/eda.autoroute Scopes: all | net {net} | net_class {class} | connection {pads: [a, b]} | component {component} | component_class {class} | selected {components} | between {components: [a, b]} | area {rect} | room {room}. `layers` (copper ids, default all), `grid`, `max_connections`, `corner`. The routed tracks carry one `union` (Reset = remove that union). Deterministic: the same document + request yields the same tracks; `async: true` or more open connections than `max_sync` (default 64) returns 202 with a job at /v1/jobs/{id} whose done phase carries the same result the sync path returns; the job id is the content address of the request. R10: `relax` routes every track at its rule's minimum width and the smallest via the rules allow (each rule still holds, at less margin). `result.issues` lists each connection not made as `ss.issue/1` with its code (`ROUTE_NO_PATH`, `ROUTE_CONFLICT`, `ROUTE_FAILED`, also on each `failed_list` entry); where the preferred widths left connections unrouted and the rules allow narrower, `result.questions` asks `EDA_RELAX_NETCLASS` (P5), answered by `relax`. # The board in three dimensions: scene, section, 3D measurement, OBJ / 3MF meshes, the CAD recipe (E7.13) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-board3d openapi.json POST /v1/eda.board3d op = scene (prisms in world mm: the board slab from the shape / outline and the stack’s thickness, cutouts, a box per component from its courtyard × the library height, placed 3D bodies (`pcb.bodies`: extruded polygons or STEP placeholders), flex regions and coverlays (`pcb.rigidflex`), bodies beyond a bend line carry their fold) | section {axis: x | y, at} | measure {a, b} (object names: designators, `body `, model names, board) | obj | 3mf (a stored OPC zip) | recipe (boxes for /v1/cad.export; /v1/eda.export format step | stl | 3mf | obj delivers the file) | bodies (the bodies and every component’s height / model). Content-addressed (`board3d_key`). # The bill of materials per variant (parameter columns, CSV / text) and BOM Compare (E7.11) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-bom openapi.json POST /v1/eda.bom Groups the fitted components of the variant (`variant`: a name on `document.variants`, or the base design) by `group_by` (type, value, footprint; default type + value — the page’s grouping is the referee), adds the parameter columns (`columns`, default every parameter seen), and renders CSV / text with a fixed column order. `compare: {variant?, document?}` reports the added / removed / changed designators between the two effective part lists. Variants are edited through /v1/eda.edit (set_variants, add_variant, remove_variant, rename_variant, set_fitted, set_alternate). `xlsx: true` adds the workbook (`xlsx.bytes_base64`): the CSV's cells, byte for byte, in an own OOXML writer; `/v1/eda.outputs` kind `bom_xlsx` is the same bytes as an output. # The CAM analyses: an ODB++ job's layer map, the aperture table, the netlist from the copper, CAM DRC (IG26) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-cam openapi.json POST /v1/eda.cam op = inspect (`bytes_base64`: a job's root, units, steps and every matrix row with its proposed target or the reason it has none, before anything is imported) | apertures (every layer's apertures with their flashes and draws, the drill tools with their hits) | netlist (the copper's connected groups from geometry alone, a plated hole joining layers, compared with the known netlist as `opens` and `shorts`; `agrees` is false when nothing could be compared) | drc (`rules` {min_track, min_spacing, min_annular} in mm: track width, the gap between different connected groups on a layer, the annular ring of copper on a hole). Reads only; the document is not changed. # Compile the schematic: connectivity, netlist bytes, ERC report (E7.3) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-compile openapi.json POST /v1/eda.compile Connectivity (nets named GND > power port > label > Net-(REF-PadN), junction dots, lonely pins), the KiCad-style s-expression netlist — byte-identical to the page's former writer, pinned by fixture — and the electrical rule check: the legacy rules (unconnected pin, floating label, unconnected power port, shorted source) plus the matrix rules (duplicate / unannotated designators, single-pin nets, conflicting power ports, floating wires). The ERC matrix is a document: a severity per rule (error / warning / ignore). `compile_key` is the content address of (document, matrix); `netlist_key` of the netlist bytes. # Design rule check under a scoped rules document (E7.4; E7.9 adds room_definition and the polygon board shape) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-drc openapi.json POST /v1/eda.drc Hole-to-copper (`hole_clearance`, an error) and hole-to-hole (`hole_to_hole`, a warning) are rules of their own, and the board-outline clearance (default 0.5 mm, KiCad's) covers poured copper as well as tracks, pads and vias. Evaluable kinds in this rung: clearance (binary, min gap between copper of different nets), short_circuit, unrouted_net, width, hole_size, board_outline_clearance, component_clearance (courtyards), length (net routed length). The applicable rule of an object (pair) is the highest-priority enabled rule whose scopes match (either order) — Altium's semantics; scopes are /v1/eda.query expressions. Under the default rules the first violations are exactly the page's former DRC items (fixture-pinned). E7.5 adds via_style, annular_ring and keepout; poured copper, free pads and copper graphics take part in clearance. Later kinds (silk/mask, polygon_connect, plane_clearance → E7.5/E7.9; room_definition, height, permitted_layers → E7.9; matched_length, diff_pair, daisy_chain_stub → E7.10; signal_integrity = a named absence) refuse typed when enabled. Deterministic; `drc_key` addresses (document, rules used). R10: each violation also as `ss.issue/1` (`issues`, `issue_count`, `issues_by_class`), classed by its rule's source: a rule identical to one of our starting rules (`/v1/eda.rules.defaults`) is the brief's to decide; a rule the person set is the model's. # The engineering change order between schematic and board, both directions (E7.3) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-eco openapi.json POST /v1/eda.eco to_pcb (Update PCB / Import Changes): add / remove components, comment and footprint changes, net adoption onto tracks through the board connectivity walk, dropped parts stacked right of the outline on the grid — a validated change list, applied when `apply` is true, partially by designator with `only`. to_schematic: back-annotation of comment differences. `apply: false` is Show Differences: the document comes back untouched. Deterministic; `eco_key` addresses (document, direction, apply, only, grid). # Apply SchEdit / PcbEdit verbs to a document (E7.3) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-edit openapi.json POST /v1/eda.edit The edit vocabulary a script or agent builds a design with, without the page: each verb is applied in order by the pure `apply_edit`; a refusal (unknown id, duplicate id, non-editable field, bad geometry) is typed and nothing is applied. Returns the document, before/after hashes and every step's after-hash. `before_hash` guards against editing a stale document. # Fold (initial document, edits) into a content-addressed EDA episode (E7.3) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-episode openapi.json POST /v1/eda.episode The direct twin of a recorded session's finish: identical (initial, edits) mint an identical episode_key; registered as an `episode` artifact. Env version e7-edaenv-v1; cap 4096 edits. # The document as .kicad_sch / .kicad_pcb / project JSON / netlist / ODB++ (E7.11 + E7.13) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-export openapi.json POST /v1/eda.export format = kicad_sch (one sheet — `sheet`, default the root — plus `files` for every sheet of the hierarchy) | kicad_pcb (the E5 dialect: the demo fixture’s bytes; the stack’s copper layers, the polygon board shape and real via stacks beyond it) | json | netlist | odbpp (E7.13: the ODB++ v8 job as a stored zip — misc/info, matrix/matrix, the step’s stephdr and profile, a features file per copper, mask, paste and legend layer with standard r / rect / oval symbols, the drill layer with its tools; no creation date, nothing reads a clock — answered as `bytes_base64` like the 3MF). Byte-deterministic; `export_key` = the request’s content address. # The harness / wiring tier: validate, report, the wiring list, import a wiring list, the connector for a pin count (E7.13) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-harness openapi.json POST /v1/eda.harness Harness items live on the schematic sheets (`harness`: wire | cable | bundle | covering | splice | tap | shield | twist | connection_point | layout_label | no_connect | wire_break | cavity; a wire’s ends are cavities `J1-1` or joints `#`; `/v1/eda.edit add_harness` places them). op = validate (typed issues: open ends, missing members, bad cavities, too few wires in a twist / shield) | report (wires with cut lengths, cables, the connectors’ cavity tables, per-gauge totals) | wiring_list (CSV) | import_wiring {text, sheet?} (a wire, from, to[, gauge, color] list becomes wires routed between the pins it names; the document comes back) | connector_for {pins} (CONN2 / CONN4 / CONN8). # A .kicad_sch / .kicad_pcb / project JSON / Gerber / Excellon text or an ODB++ job into the document (E7.11 + E7.13 CAM + IG26) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-import openapi.json POST /v1/eda.import format = kicad_sch (fills `sheet`, default the root: symbols by lib id — the seed’s KiCad ids, the page’s wider map, Superstring: — wires, junctions, labels, hierarchical labels as ports, buses, text; unmapped kinds and tags are typed skips in `report.skipped`) | kicad_pcb (footprints by name or pad count, segments on the stack’s copper layers, vias, the Edge.Cuts outline or polygon) | json | gerber (E7.13 CAM: an RS-274X layer onto `layer`, default the file’s .FileFunction — flashes become free pads, draws tracks, the profile the board shape and its cutouts, legend draws lines, regions fills; .N / .C / .P object attributes ride on as nets and component pins; arcs, macro / polygon apertures, clear polarity and step-and-repeat are typed skips) | excellon (a drill file: a hit on a flash gives the pad its hole, a hit on nothing is a plain hole; zero-suppressed integers need the ;FILE_FORMAT comment). Own dialects round-trip to the byte fixed point — `gerber(import(gerber(doc)))` is the writer’s bytes; a structural failure refuses (400) with the document untouched. format = odbpp (IG26) takes `bytes_base64` instead of `text`: a job as a zip, tar or gzipped tar, with per-file .gz and .Z inside. The matrix's copper rows become the stack, the profile the board shape, features free pads, tracks and fills (standard symbols; coordinates in inches or mm, symbols in mils or microns), drill layers holes, components and the cadnet netlist nets and REF.pin designators; user symbols, other standard symbols, arcs, text, negative features and layers, nested steps and mask / paste / rout layers are typed skips. Tested on jobs we wrote, not yet on one from a CAM tool. TL3c: `blob` (a blob id) instead of `text` or `bytes_base64`: the file is read from the blob as the caller and imported exactly as if sent inline; giving both is 400 FILE_GIVEN_TWICE. # Library documents: SchLib / PcbLib verbs, the Footprint Wizard, KiCad import / export, reports (E7.8) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-library openapi.json POST /v1/eda.library A library document is {name, symbols[{kind, name, prefix, class, power_net?, pins[{n, name, x, y, len, etype, part, ieee?}], parts, body, graphics, params, footprint, sim_model, description}], footprints[{fptype, name, pads[{n, x, y, w, h, shape, hole, hole_shape, plated, layers}], court, body, graphics, model3d, height, description}], components[{name, symbol, footprints, sim_model, params, description}]}. Pass `library` (absent = the seed library the page ships: the demo's symbols and footprints with the page's numbers verbatim, plus op-amp, MOSFETs, generic ICs by pin count, connectors; 0603 / 0805 / 1206 / SOT-23 / SOT-23-5 / SOIC-8/14/16 / DIP-8/14 / QFP-32 / pin headers) and an `op`: seed, report (text), check (issues), find, add_symbol / remove_symbol / rename_symbol / copy_symbol, add_part / remove_part, add_pin / remove_pin / set_pin (electrical types input | output | bidir | passive | power | open_collector | open_emitter | hiz | unspecified; the 34 IEEE symbols on a pin), add_footprint / remove_footprint / rename_footprint, add_pad / remove_pad / set_pad, set_reference (pin1 | center | location), wizard (chip, soic, sop, qfp, dip, bga, sot23, connector — deterministic pad arrays from {n, pitch, span, body, rows, cols, pins, ...}), add_component / remove_component, import_kicad_sym / import_kicad_mod (KiCad 8 dialect; units become parts, y flips), export_kicad_sym / export_kicad_mod (own dialect is a fixed point), make_from_project (schematic | pcb | integrated: the symbols and footprints a document uses), merge, update_from_library (a document gains the components' parameters and footprint overrides). A project document carries its own library at `library`; every engine lookup (compile, ECO, DRC, pour, route, outputs) consults it before the seed. `library_key` is the content address of the returned library. # Mixed Sim over the document: the netlist payload, a run, a parameter / temperature sweep or a seeded Monte Carlo on the circuit solver, and the SimView math (E7.12 + E7.17) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-mixedsim openapi.json POST /v1/eda.mixedsim op = payload (the /v1/solve.circuit body the schematic produces — the page’s builder is the referee; `analysis` = {kind: dc_op | transient {stop, steps} | ac {fstart, fstop, points_per_decade}}; unsupported / unconnected components are reported in `notes` and `excluded`) | run (build + solve on the engine; `solution` carries nodes, branch currents, the transient trajectory `t` / `series` or the AC `freqs` / `ac_mag` / `ac_phase_deg`; `circuit_key` is the solve’s address, `sim_key` the payload’s) | sweep {param: R1 | D1.vf, values[1..64]} (one solve per value, inline) | temperature {values[1..64] in degrees C} (E7.17: one solve per temperature — the netlist’s `temperature_c`, ngspice’s IS(T) / Vt(T) on the junctions and tc1 / tc2 on the resistors) | monte_carlo {runs (default 16, max 256), seed (default 1), tolerances: [{select: R1 | resistor | D1.vf, pct, distribution: uniform | gaussian}]} (E7.17: seeded draws — xorshift64* from (seed, run), the draws recorded on every case, `stats` per node: / branch: output; the seed is in the answer) | measure {solution, wave} (min / max / mean / rms / peak-to-peak / rise / fall / period / frequency) | cursor {solution, wave, at} | peaks {solution, wave, at?, direction?} | fft {solution, wave} (radix-2 on a uniform resample) | csv {solution} | stress {netlist, solution} (power per resistor against its max_power) | models {document} (SPICE .model lines for the project’s kinds). Waves are `node:` / `branch:` (transient), `ac:` (AC magnitude), `phase:`. # Nets, classes & navigation: the netlist report, net editing, physical nets, classes / pairs / xSignals, pin & part swapping (E7.10) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-nets openapi.json POST /v1/eda.nets One verb over the document (`op` + its fields): report | edit_net {net, to} | clear_nets | clean_nets {net?} | assign_net {ids, net?} | update_free_primitives | physical_nets | add_subnet_jumpers {net?} | remove_subnet_jumpers {net?} | set_classes {classes} | create_net_class / add_to_net_class / remove_from_net_class {name, nets} | rename_net_class {name, to} | delete_net_class {name} | create_component_class / add_to_component_class / remove_from_component_class {name, components} | delete_component_class {name} | create_diff_pair {name, p, n} | auto_diff_pairs {suffixes?} | delete_diff_pair {name} | create_xsignal {name?, from, to} | xsignals_between_components {a, b} | xsignals_from_connected_nets {net} | delete_xsignal {name} | create_from_to / delete_from_to {net, from, to} | configure_swap_group {component, group, pins} | pin_swap {component, a, b} | part_swap {a, b} (symbol ids) | diff_pair_swap {pair, component} | auto_pin_optimize {components?}. A pin swap REWIRES THE SCHEMATIC (the wires at the two pins exchange ends) so compile, ECO and the board stay one truth; the classes record lives at `pcb.classes` and `classes_of` merges the schematic's net_class / diff_pair directives. Typed refusals (EDA_INVALID). # An Output Job: Smart PDF / print, Gerber RS-274X per layer or as a set (plain or X2), ODB++, Excellon drill, IPC-D-356, pick-and-place, BOM CSV, KiCad dialects, project JSON, assembly (board PDF + pick-and-place), job / package zips (E7.7 + E7.11) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-outputs openapi.json POST /v1/eda.outputs `kind: pdf` (or `print`, the same bytes): one A4-landscape page per sheet — root first, then the child sheets in walk order (`sheets`: all | root | a sheet path) — plus the board page unless `board: false`; each sheet page carries a frame and a title block from the sheet info (title, number, revision, company, author, date) and plots wires, buses, junctions, symbol pins / bodies / designators / values, labels, power ports, ports, off-sheet connectors, sheet symbols with entries, directives and the drawing primitives; the board page plots the outline, tracks, pads, vias and pour outlines. A hand-rolled PDF 1.4 with a Helvetica base font and an exact xref table — no dependencies; every byte is a function of the document, so `output_key` (blake3 of the bytes) is a content address. Other kinds (gerber, drill, BOM, pick-and-place, netlist files) land with E7.11 and refuse typed. E7.13: `x2: true` writes the Gerber set with the X2 attributes (.FileFunction / .FilePolarity / .Part, one .AperFunction per D-code — an aperture shared by a via and a pad splits — and .N / .C / .P on every object; the plain bytes stay the default); `kind: odbpp` is the ODB++ job zip (`pages` lists its entries). # Polygon pour engine: fill pours as exact trapezoid decompositions (E7.5) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-pour openapi.json POST /v1/eda.pour Fills every pour (or the given ids) on a copper layer: the region inside the pour outline and outside every obstacle — pads of other nets, tracks, vias, free pads, copper graphics, cutouts, keepouts that restrict pours, higher-priority pours, and the outside of the board — inflated by the applicable clearance (the highest-priority enabled clearance rule whose scopes match, else 0.2 mm). Same-net pads get thermal reliefs (four spokes of `thermal_width`, gap `thermal_gap`) when `thermal` is set. The fill is a deterministic trapezoid decomposition (exact for polygonal obstacles; discs are circumscribed 32-gons); `min_width` (mm, KiCad's zone minimum width, 0.25 when absent, 0 to keep every neck, at most 25.4) prunes the fill as KiCad's zone fill does: deflated by half of it less 0.001 mm, pieces narrower than it across their box dropped, re-inflated with round corners (never past the fill), so a neck or a spoke narrower than it goes. `remove_dead_copper` then drops connected components touching no same-net pad. Re-pouring a poured document is a fixed point. Typed refusals: a pour on a non-F/B layer (internal planes land with E7.9), fewer than three outline points, an unknown pour id, a `min_width` that is negative, not finite or past 25.4 mm. `pour_key` addresses (document, rules, ids); `document_hash` is the content address of the filled document. # Filter/Query: evaluate a query over the EDA document (E7.2) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-query openapi.json POST /v1/eda.query A query past 64 KiB answers 413, and one past 1024 terms is a parse error. Altium's Filter/Query grammar, the subset this suite owns, evaluated engine-side: predicates (IsComponent, IsWire, IsNetLabel, IsPowerPort, IsJunction, IsTrack, IsVia, IsPad, All), one-argument functions (InNet('X'), OnLayer('Top Layer' | 'F.Cu' | 'B'), InComponent('R1')), properties (Designator, Comment/Value, Name, Net, Layer, Width, X, Y, Rotation, Footprint, Hole, Locked, Kind, Length) with = <> < > <= >= Like (* ?) Between..And, And/Or/Not. Matches return in document order; `canonical` is the normalized spelling and `query_key` the content address of (canonical document, editor, canonical query). Find Similar Objects, the PCB Filter panel and (E7.4) rule scopes share this evaluator. Typed refusals: QUERY_PARSE (position), QUERY_UNKNOWN_NAME (lists the vocabulary), QUERY_UNSUPPORTED for InNetClass / InRoom / InPolygon naming the unit that lands them. # The routing tier: interactive step, un-route, gloss / retrace, fanout, stitching, teardrops, break / drag / slice / reroute (E7.6) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-route openapi.json POST /v1/eda.route One call per routing action over the document (+ optional rules). `op: step` routes from an endpoint (a pad `DESIGNATOR-PIN` or `[x, y]`) to another on a layer under a mode — `ignore` (the elbow: straight then 45°; corner `90` = H then V; corner `any` = direct), `walkaround` (A* on a rule-derived grid around every obstacle of another net; 8-connected, octile heuristic, turn penalty; deterministic and 45°-clean), `stop` (the elbow truncated before the first obstacle, naming it), `hug` (walkaround that keeps close to obstacles); width from the applicable width rule (or an explicit / favourite `width`), via stack from the via_style rule; the result carries the segments (also appended to the returned document), length, `blocked` + `reason`, and the collisions an ignore-mode elbow crosses. `unroute` (all | net | connection [two pads] | component), `gloss` / `retrace` (merge collinear same-layer same-net tracks that share an end, drop zero-length stubs; retrace re-applies the rule width), `fanout` (SMD pads → track + via outward under the clearance; all | signal | power | net | component | selected | pad | connection), `stitch` / `unstitch` (a via grid on a net inside a rect — the board by default, within the net's pours when it has any — wherever the via clears every other-net object; vias carry group `stitch:`), `teardrops` (net-carrying copper regions where a track lands on a pad or via; `remove`), `break` (split a track at a point), `drag_end` (move one end; reports a collision), `slice` (split every track a line crosses), `reroute` (an open chain of tracks re-routed under a mode; kept when blocked). Typed refusals name their unit: `push` (push-and-shove), `multi`, `diffpair` and arc corners → E7.10; `room` scopes and internal layers → E7.9. `route_key` addresses (document, rules, op); `document_hash` is the content address of the returned document. # Applicable Unary / Binary Rules for one object (E7.4) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-rules-applicable openapi.json POST /v1/eda.rules.applicable Which enabled rules (by priority) scope this object: unary rules whose scope1 matches, binary rules where either scope matches. Object keys: track:, via:, pad:-, component:. # Record one applied EDA edit (E7.3) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-session-append openapi.json POST /v1/eda.session.append The server replays the session's chain, applies the edit through the pure `apply_edit` (a typed refusal records nothing), and appends (edit, after-hash) durably. `before_hash` (optional) refuses SESSION_CHAIN_MISMATCH when the client is stale. # Fold an EDA session into its episode (E7.3) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-session-finish openapi.json POST /v1/eda.session.finish Folds the recorded chain through the same `episode` as a direct /v1/eda.episode POST (recorded ≡ direct address, gated), registers the episode and marks the session finished. # Open an EDA recording session (E7.3) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-session-start openapi.json POST /v1/eda.session.start Pins the initial document; returns the session id eda.session.append records against. Sessions are server-owned chains: the client never sends the document again. # The Layer Stack Manager: presets, layers, via types, validation, CSV, report (E7.9) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-stackup openapi.json POST /v1/eda.stackup The document's layer stack (`pcb.stackup`: {name, layers[{name, kind: signal | plane | dielectric | solder_mask | paste | silk | mechanical | coverlay, material, thickness, copper_oz, color, id}], via_types[{name, from, to, kind: through | blind | buried | micro, d, drill}]}). Ops: `presets` (the 2 / 4 / 6-layer presets), `preset {copper}` (adopt one), `get`, `set {stackup}` (validated), `clear`, `add_layer {layer, after?}`, `remove_layer {name}` (refused while the layer carries objects), `move_layer {name, delta}`, `set_layer {name, layer}`, `set_via_types {via_types}`, `validate` (copper count, touching copper, thicknesses, via spans), `csv`, `report`. Copper ids are assigned top → bottom: the first copper layer is F, the last B, the rest IN1..; mechanical M1..; every engine layer check (tracks, pours, routing, DRC, edit validation) consults the stack, so IN1 routes and pours once the stack has it. Returns the document, the op's result (with the current stack, its copper ids and thickness) and `document_hash`. # The system designer's block diagram: validate, lower to the schematic, push back (K13) Source: https://eddy-ac74d702.mintlify.app/api-reference/eda/post-v1-eda-system openapi.json POST /v1/eda.system The block diagram (`system`, or the document's own `system`): blocks (a name = a child sheet, ports with io and side, optional placement), links between `BLOCK.PORT` ends (kind direct / wire / harness / cable, an optional net name). `validate` returns typed issues by JSON pointer (duplicate names, unknown ends, two outputs on one net, open ports) and the nets (connected groups of links). `lower` builds the hierarchy: a sheet symbol per block on the root (entries: inputs left, outputs right), a child sheet per block with its ports (an existing child keeps its content), and a net label of the group's net on every entry it touches (labels the lowering placed are replaced next time, so lowering twice is lowering once); errors refuse with the document untouched. `push` reads the diagram back from the root's sheet symbols and their connectivity (wires, T-junctions, labels by name). The diagram is edited on the document with `/v1/eda.edit set_system`. # The materials library with the EM columns (Y11) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/get-v1-em-materials openapi.json GET /v1/em.materials One library: the F8 mechanical rows and the electromagnetic rows, every row carrying εᵣ (`epsR`), tan δ (`tanD`), μᵣ (`muR`), σ (`sigma`) and the remanence (`br`) beside the elastic / thermal / strength / plasticity / S-N columns. /v1/fea.materials serves the same document. # An async Optimetrics run by its job id (Y17.b) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/get-v1-em-optimetrics-job-id openapi.json GET /v1/em.optimetrics.job/{id} The registry of this process's async Optimetrics runs (the last 64): queued | running | done (the run's rows, statistics, screening or trace) | failed (the error). # A driven result's S-parameters as Touchstone text (Y3) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/get-v1-em-touchstone-result-key openapi.json GET /v1/em.touchstone/{result_key} `# HZ S RI R z0` (z0 from the query, default 50), one line per frequency, the classic 2-port order S11 S21 S12 S22 — deterministic bytes from the stored metrics of a /v1/solve.em_driven result; Content-Disposition names the file `.sNp`. # The EM design vocabulary the /em page is pinned to (Y11) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/get-v1-em-vocabulary openapi.json GET /v1/em.vocabulary Design kinds with their solution types, default solution, Project Manager node sets, application (em / fea / eda / system / absence) and solver unit; the object and folder kinds; setup and section defaults; the protected kinds. One JSON (scripts/fixtures/em_vocabulary.json) pinned on both sides. # Every boundary / excitation / parameter / net of a design as a typed object with its fate (Y14) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-assign openapi.json POST /v1/em.assign The design's Assign objects (the COM `.Assign` kinds of the vocabulary's `assign_kinds`: scope kind, fields, glyph, unit) lowered: `objects[]` each with `unit` (the physics unit that reads it on this design kind and solution type, or the absence family it is outside the program with), `lowered` (what the built rung took — the Eigenmode cavity's walls from Perfect E / Perfect H / Symmetry and the wall σ from Finite Conductivity, Y2) or `refusal` (typed, naming the unit); `case` is the composed solve request for an HFSS Eigenmode design (the `/v1/solve.em_eigenmode` body: the Model's bounding box as the cavity, the fill's εᵣ / μᵣ, cells from the mesh sizing, the walls, σ). The page's assignLowering() is the pinned referee (scripts/fixtures/em_demo_assign.json, em_demo_eigen_lower.json). # A PCB lowered into the driven solve — boards as EM models (Y6) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-board openapi.json POST /v1/em.board Lowers an E7.9 PCB document (`pcb`, millimetres) into /v1/solve.em_driven's case: the stackup's dielectric layers as dielectric blocks over the board (εᵣ / tan δ from the library, then the stackup table), the copper as PEC on the grid (tracks as boxes — a diagonal track as a staircase — vias and through-hole pads as cylinders, pours and pads as their bounding boxes, thickened to a cell), the HFSS Extents air box (`air_pad`, a fraction of the longest side), `ports` on axis-aligned track ends of named nets as lumped sheets from the reference plane below (a pour of another net or a plane layer) up to the track, `pairs` of net names as differential pairs (a Terminal solution renormalised to each port's impedance). The grid resolves the ported nets' narrowest trace with `cells_per_width` cells; a model beyond `cell_cap` cells per axis refuses typed naming the net (the cell-size-vs-trace-width envelope), as do a port off a track end, a diagonal track end, a net without a reference plane. `solve: true` runs the driven solve on the lowered case (the cache makes a repeat free) and returns its metrics under `result`. # A layout component's board as viewport geometry — the copper, planes and slabs the lowering meets (Y6.b) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-board-view openapi.json POST /v1/em.board_view Walks the E7.9 PCB (`pcb`, millimetres) exactly as /v1/em.board's lowering walks it and returns what /em draws: `layers` (every copper / dielectric layer with its z span, the bottom of the stack at 0), `shapes` (every track as its true rotated rectangle w / 2 past each end, via, pour — the fill's quads when poured — footprint pad on its copper layers, plane layer without a pour, and dielectric slab over the footprint, each a polygon in board mm with its layer, net, z span and `lowered_as`: how the driven case meets it — box, staircase of squares, cylinder, bounding box, slab, none), `outline`, `bbox`, `counts` and `notes` (a plane layer with no pour is flagged: the lowering takes it as a port reference but adds no metal). With `ports` (or the property sheet's `port_lines` "net x y [Z0]"; `pairs` / `pair_lines`) the lowering itself runs and `lowered` carries its lumped port sheets as corners in board mm, the HFSS Extents air box, the grid's cells and cell size, the metal / dielectric counts and its notes; a refused lowering comes back verbatim as `lowering_refusal` beside the geometry. Pure — no solve, no store; `view_key` is the response's content address. # Apply design edit verbs (Y11) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-edit openapi.json POST /v1/em.edit The shared study verbs (insert / delete / set / rename / suppress / move / replace) under the Project Manager's policy — the project, Definitions and the per-design folders are structural, a design is closed not suppressed. Each step returns its after-hash and its inverse verb, so undo is a verb; `before_hash` guards the chain. Refusals are typed and nothing is applied. # Fold (project, edits) to a content-addressed episode (Y11) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-episode openapi.json POST /v1/em.episode The EM recorder (`y11-emenv-v1`): after-hash per step, the inverse verbs, the episode key (blake3 of the canonical initial + edits) and the registered episode artifact — identical to a recorded session's fold of the same edits. # The equivalent circuit of a Q3D design's solve as an E1 netlist document (Y16) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-equivalent-circuit openapi.json POST /v1/em.equivalent_circuit Lowers the Q3D design (its nets, terminals and setup frequency) onto /v1/solve.em_lowfreq's q3d domain, solves (the cache makes a repeat free) and returns the Maxwell capacitance matrix in its SPICE form (C_i,gnd = Σ_j c_ij, C_ij = −c_ij) plus each terminated net's R_dc and self inductance in series — an E1 `NetlistDoc` under `netlist`. Mutual inductances land with Y16.b. # The far-field sphere of a Driven design with an Infinite Sphere (Y4) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-farfield openapi.json POST /v1/em.farfield Lowers the HFSS design (its PML / ABC walls, ports and the Infinite Sphere's θ / φ steps) onto /v1/solve.em_driven, solves (the cache makes a repeat free) and returns one far-field quantity — `expression`: GainTotal, DirTotal, RealizedGainTotal or rETotal, each also in dB(…); default dB(GainTotal) — on the θ / φ grid (`theta`, `phi`, `values` row-major by θ) with the Antenna Parameters (peak directivity / gain / realized gain, the radiated / accepted / incident powers, the efficiencies, the peak direction) under `parameters`. The pattern is the near-to-far transform of the equivalent currents on a Huygens box one cell inside the walls at the first frequency of the list. A design without an Infinite Sphere is EM_INVALID. # Field lines, particle traces, 3D contours, the phase animation and Save As over an EM design's stored fields (Y18.b) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-field-plot openapi.json POST /v1/em.field_plot The design lowers and solves through the one lifecycle (the content-addressed cache makes a repeat free); `kind` picks one op over the fields the solve ALREADY stored — no new solve. `fieldlines`: streamlines of a stored vector (`field`, default the first of e_field / b_field / h_field / d_field) by fixed-length RK4 on F/|F| from `seeds` (or a `seed_count`³ lattice), `direction` both / forward / backward, `step` (default a quarter of the smallest cell), `steps`; rows of {seed, points, values = |F|}. `particles`: a charged particle (`charge_c`, `mass_kg`; an electron by default) from each seed with `velocity`, the Boris push through the stored static E (`e_field`) and B (`b_field`), `dt` (default a tenth of a cell under the peak acceleration and 1/40 of the cyclotron period), `steps`; rows of {points, times, speeds, energy_ev, stop}. A traced family also returns `figure` (a deterministic SVG projection). `contour3d`: iso-surfaces of a stored field (`field`, `scalar` magnitude / x / y / z) at `levels` (or `count` evenly spaced) by marching tetrahedra — one SSVIZ1 blob under `viz`. `animate`: the frames Re{(F_re + jF_im) e^{jφ}} of a stored complex field (`field`, its `_im` blob; a real field animates as F cos φ) over `frames` phases — each frame an SSVIZ1 blob, the extremes over every node per frame. `export`: Fields ▸ Save As — the stored field at every node as a `.fld` table in `text`. Every sample is the Hex8 trilinear interpolation of the S-track probe. # The design's geometry through the kernel (Y12) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-geometry openapi.json POST /v1/em.geometry The Model folder's bodies (box / cylinder / sphere / cone / torus / regular polyhedron placed by position and rotation, with a history of move / rotate / unite / subtract / intersect that consumes its tool bodies; Region = the padded bounding box of the Model solids) lowered to ONE CSG solid on the K kernel — F3's report (faces / edges / vertices with areas, centroids, normals, radii, adjacency; mass properties) and the SSBVIZ2 viz the page paints and picks (`viz.blob_uri`), plus every body with its own volume and bounding box (`bodies`), the sheets and lines reported analytically (`sheets`: area, length, centroid, normal), the Model Analysis (`misalignment`: overlapping Model solids no boolean resolved, with the kernel's intersection volume and the material-priority winner) and the typed `refusals`. The page's own lowering is the pinned referee (scripts/fixtures/em_demo_geometry.json). # Lower a design to its solve route (Y11) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-lower openapi.json POST /v1/em.lower The 2D Extractor kind lowers to /v1/solve.tline — `{route, domain, body, refusals, lower_key}`, the body being exactly the /em page's own lowering (scripts/fixtures/em_demo_project.json → em_demo_lower.json is the pinned referee); every other kind refuses EM_NOT_YET naming the unit that lands its solver (HFSS → Y3, Maxwell → Y15, Q3D → Y16, RMxprt → Y15.c); sibling kinds name their application. # Generate Mesh for a design on the ONE mesher (Y13) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-mesh openapi.json POST /v1/em.mesh The design's Mesh folder (the MeshSetup.Assign*Op objects) and its Initial Mesh Settings lower to F4's mesher options — the λ-refinement (target × λ in each material at the setup frequency, from the shared materials library) and Skin Depth Based layers (δ = √(2/ωμσ) computed) are COMPUTED sizings; Length Based sets the global element size; Surface Approximation picks the boundary conformance (snap / snap2); Model Resolution, Clone Mesh, Mesh Region, the annular layer bands, density control, curvilinear elements and TAU priority refuse typed naming F4.b / Y19 / Y15 / Y13.b. The design's solid meshes through the K3d hex stack behind /v1/fea.mesh and content-addresses exactly as a solve will (the identity gate: `mesh_blob_id`); the F4 report comes back — `stats`, `quality` (every metric's min / max / average / std / histogram), `painted` (the skin with one metric, SSVIZ1), plus `mesh_opts`, `computed` (λ per material, skin depths, the element size), `controls` (each operation's fate) and `refusals`. The page's meshLowering() is the pinned referee (scripts/fixtures/em_demo_mesh.json). # An EM design's extracted circuit as SPICE, Modelica and an E1 netlist; the Maxwell ECE from a table (Y19.b / Y16.b) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-netlist openapi.json POST /v1/em.netlist With `source: solve` (the default) the design lowers and solves through the one lifecycle (the cache makes a repeat free) and its extracted parameters lower to the circuit world: a Q3D design's Maxwell capacitance matrix (C_i,gnd = Σ_j c_ij, C_ij = −c_ij), each terminated net's R_dc and self inductance in series and the mutual inductances as SPICE `K` couplings (k = M / √(L₁L₂)), all AFTER the design's Reduce Matrix operations (Float / Ground / Join in Parallel / Reorder and Y16.b's Join in Series / Return Path / Change Ground Net — the engine's em_reduce over the stored matrices); a Maxwell magnetic design's coil R and L; a driven HFSS design's S-matrix as Y9's E1 `sparam` N-port on the result key; a 2D Extractor's line as a SPICE `T` element of `length_m`. The response carries `elements`, `couplings`, `netlist` (the E1 NetlistDoc — /v1/solve.circuit runs it), `spice` (a .subckt deck), `modelica` (the N track's SystemDoc) and `modelica_text` (/v1/system.parse reads it back, /v1/solve.system simulates it) with `modelica_refusals` for what the N library cannot carry (a mutual inductance, a line, an N-port), and a content-addressed `netlist_key`. With `source: ece` the `table` {inputs: [one variable], outputs, rows, origin} — the Optimetrics parametric solutions or an imported table — lowers to SPICE lookup elements (`.func … table()`, an L / R / C element per inductance / resistance / capacitance output, a behavioural readout otherwise, the `.step` list). # Auto Identify Nets: the nets a design's conductors form (Y14) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-nets openapi.json POST /v1/em.nets F6's touching-body detection under Q3D's name: every Model solid whose shared-library material conducts (σ > 0) is a conductor; conductors that touch or overlap share one net; nets are numbered by their first body's order in the Model folder (`nets[]`: label, kind SignalNet, bodies, labels). The page's autoNets() is the same rule. # Run an Optimetrics setup over the engine's solves (Y17) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-optimetrics openapi.json POST /v1/em.optimetrics Every variation of the plan is applied to the design's variables, lowered through `solve_setup` (absent = the design's first) and solved (the content-addressed cache is the incremental substrate — an unchanged variation is a hit); `rows` per variation (values, tag, metrics, result_id, cached); `sensitivity` (central differences ∂output/∂variable) for a Sensitivity setup; `statistics` (n, mean, std, min, max per output) for Parametric / DOE / Statistical; `trace` and `best` for an Optimization — the F12 fixed-evaluation-cap discipline: Nelder–Mead or Pattern Search over the goals' weighted squared residuals (==, <=, >=), bounds clamped, ≤ 48 evaluations. ≤ 64 variations synchronously; beyond is Y17.b (the async sweep). `optimetrics_key` content-addresses the run. Y17.b: `mode: "async"` plans under the async cap (up to 4096 variations), runs on a background task and answers {job_id, status: queued, poll} — read the outcome through GET /v1/em.optimetrics.job/{id}; the optimisers gain `Quasi Newton` (BFGS in the unit box, central-difference gradients) and `Genetic Algorithm` (seeded, deterministic); a `Screening` setup (Maxwell's Add Screening & Optimization) runs the centre and each variable's range ends and tables the ranked main effects (`screening`); Design of Experiments gains `Box-Behnken` and `Latin Hypercube` (seeded); a Parametric setup with `table` {names, rows} runs the rows as given (a non-factorial variation table). # The deterministic variation table of an Optimetrics setup (Y17) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-optimetrics-plan openapi.json POST /v1/em.optimetrics.plan Parametric = the R5 / G2 Cartesian enumeration over `$variable` axes (linear / log / step / list / single, first axis outermost); Design of Experiments = full-factorial (levels) or central-composite (2^k corners, 2k face-centred axial points, the centre); Statistical = fixed-seed samples (uniform min..max or normal about the value; the seed is part of the key); Sensitivity = the base and ±δ per variable; Optimization = the initial simplex (`iterative`: true, the run iterates). `plan_key` content-addresses it; the page's optimetricsPlan() is the pinned referee (scripts/fixtures/em_demo_optimetrics_plan.json). # Create Document: the deterministic study report of an EM design (Y18) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-report openapi.json POST /v1/em.report F9's study report under the em family — the SAME renderer with the EM validation states, so there is one report generator, not two. The body carries the object tree with its Project Manager glyphs, the solution snapshot and its metrics, the evaluated results the caller collected, and the figures: `[{label, svg}]` (the bytes `/v1/em.result` returns, embedded inline) or `[{label, png}]` as a data URI. No clocks — identical inputs give identical bytes, and `hash` content-addresses them. Send To Word through the I3 sidecar is the named deferral (F9.b). # Evaluate a result of an EM design over its solve (Y18) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-result openapi.json POST /v1/em.result The design lowers and solves through the one lifecycle (the content-addressed cache makes a repeat free), then the result's spec is evaluated by the SHARED evaluator (`Orchestrator::fea_result`, the `em_*` ops). Three ways to ask: `result` = a Report object of the design (`ss_em::result::lower_result` is the spec, and the page's `lowerResult()` mirrors it byte for byte); `expressions` = an ad-hoc trace family in the same grammar (`category` defaults to Terminal Solution Data); neither = the Solution Data table, every stored metric named, united and scaled. The grammar: `dB` / `dB10` / `mag` / `re` / `im` / `ang_deg` / `ang_rad` over `S(i,j)` / `Y(i,j)` / `Z(i,j)` / `Gamma(p)` / `Zo(p)` / `VSWR(p)` / `GroupDelay(S(i,j))`, or a solved metric's name (`Z0`, `eps_eff`, `f`, `Q`, `s21_db_3`); an unwrapped complex quantity is its magnitude. Y and Z are converted from the stored S-matrix on a uniform `z0` reference (50 Ω by default) — never a second solve. The response carries `family` (`table` over the sweep / the mode index, `value` at a single point), `table` (rows of `{x, raw_x, values}`), `extra.x` (the axis with its unit and scale) and `extra.traces` (per trace: values, min, max, unit). A graphical display type also returns `figure` (deterministic SVG through the X-track figure engine — Rectangular, Rectangular Stacked, Polar and the Smith chart, with the report's markers, delta markers, limit lines and notes inside the bytes) and `figure_key`; pass `figure: false` to keep the numbers and drop the drawing, and a Data Table never has one. Every trace also carries `characteristics` (avg / max / min / pk2pk, plus the 3 dB `bandwidth` of a dB trace) and, for a complex quantity, its unreduced `complex` samples. A `field_overlay` result paints through the SHARED SSVIZ1 painter (F9's `field` op, unchanged). The Fields Calculator rides `expression` + `reduce` (field / max / min / avg / rms / sum / vol / mean; Y18.b: `surf` / `line` integrate by Gauss quadrature on the stored grid, their geometry in `integral` — `surface` {box: [[lo], [hi]]} (closed, outward) | {plane: {axis, at, lo, hi}} | {walls: [...]}, `line` {points, closed}, and an optional `vector` (a stored 3-component field) for the flux ∮V·n dA or the circulation ∫V·dl; the record comes back as `extra.integral`) with `$name` resolving the design's Named Expressions; `summary: true` returns the Fields Summary table; `markers` probes points on whatever was just evaluated. A report may carry `arithmetic` FFT or TDR over its complex traces (a uniform sweep is required), and a Dataset report reads the document's own table with no solve at all. A Far Fields / 3D-plot report is refused by name. Y18.b: `accumulate` = earlier solutions' traces `[{label, x, traces}]` (Report2D ▸ Accumulate) ride beside this solution's in `extra.traces` and the figure, each tagged with its label. # RMxprt — the analytical machine calculator (Y15.c) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-rmxprt openapi.json POST /v1/em.rmxprt The machine spec an RMxprt design lowers to (/v1/em.lower; the page's rmxprtSpec is the pinned mirror): type (the RMxprt machine type), poles, slots, phases, layers, coil_pitch, turns_per_coil, parallel_branches, wire_diameter_m, stator_od_m, stator_id_m, stack_length_m, slot_depth_m, slot_width_m, slot_opening_m, air_gap_m, rated_power_w, rated_speed_rpm, rated_voltage_v, frequency_hz, rotational_loss_w, the core-loss coefficients, the PM rows (magnet_thickness_m, magnet_br_t, magnet_mu_r, embrace) or the induction rows (rotor_bars, bar_area_m2, bar_slot_depth_m, bar_slot_width_m, end_ring_area_m2, end_ring_diameter_m, slip, linear_current_density_a_m, an optional circuit {r1, x1, r2, x2, xm}). Answers the winding factors (k_d, k_p, k_w), the series turns, the phase resistance, Carter's coefficient, and per family: PM synchronous — B_gap, the pole flux, E_rms, k_e, k_t, L_m / L_σ / L_s, the rated torque and current, the copper / core losses, the efficiency, V_line, the power factor; induction — I₁, PF, the power flow, τ_ind / τ_load, η, the Thevenin τ_max and s_max, Esson's D²L. Textbook referees: Chapman Example 7-5, the 36/4/3 winding factors. Deterministic; the result key is the spec's content address. # Route a sibling design to the application that owns its physics (Y19) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-route openapi.json POST /v1/em.route Mechanical and Icepak belong to the F track's /fea, Circuit / Circuit Netlist / Maxwell Circuit and HFSS 3D Layout to the E track's /eda, Twin Builder to the N track's /system. The design is LOWERED into the target's own document — a Mechanical or Icepak design becomes a real F-track study (Geometry, Materials, Mesh, the analysis its solution type names, its boundary conditions with the prop names /fea's lowering reads, and a Solution) that /fea opens, validates and solves with the machinery the F track already built; an Icepak design with a flow driver opens on Fluid Flow, a purely thermal one on Steady-State Thermal (the ledger's interim until the O track's case document is the destination). The circuit and system kinds route with their element inventory and name Y19.b for the netlist / Modelica lowering. The response carries app, url, analysis, document, crossed, refusals and a content-addressed route_key; the page saves the document as a project of the target app and opens it there. This desktop's own kinds are a 400 (they solve through /v1/em.solve); an absence kind is a typed 422. # Draw ▸ Operations ▸ Surface ▸ Section: a Model solid's plane section as polyline sheets (Y12.b slice 2) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-section openapi.json POST /v1/em.section The body's section by a principal plane (`plane` xy | yz | xz through `at`) through the kernel's welded marching section (exact on planar faces, the declared chord polygon at `segments` on curved ones): one `polyline` sheet per closed loop, each at its loop's min corner with its points relative, ready for the page to insert; the kernel's miss / graze refusals are typed; deterministic with `section_key`. # The Named Selection worksheet over the design's solid (Y12) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-select openapi.json POST /v1/em.select F3's worksheet rows (Action / Entity / Criterion / Operator / Value, Lower, Upper) evaluated over the design's kernel report — Lists in the desktop's words; a deterministic entity set with `select_key`. # Record one applied edit on a session (Y11) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-session-append openapi.json POST /v1/em.session.append Applies the verb to the replayed document (a refusal records nothing), returns the after-hash, the step count and the inverse; `before_hash` must equal the recorded chain head (409 otherwise); the episode cap answers 429. # Fold a session to its episode (Y11) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-session-finish openapi.json POST /v1/em.session.finish Identical (initial, edits) → identical episode key as a direct /v1/em.episode; the session is then finished. # Open a recording session over an initial project (Y11) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-session-start openapi.json POST /v1/em.session.start The shared recorder: returns the session id, the initial hash and the env version; every append is chain-guarded by the engine's hash. # Analyze All / Analyze Setup: the design lowers on the engine and solves through the one lifecycle (Y17) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-solve openapi.json POST /v1/em.solve F5's solve handler under the em family: `$name` variables resolve, the chosen `setup` (absent = the design's first) and its sweep (linear / log / single / list; Interpolating / Fast at their discrete points, > 64 points names Y5) lower the design to its case (`/v1/solve.tline`, `em_eigenmode`, `em_driven`), the ordinary solve runs (`mode` auto | sync | async, the cache) and the response carries the study pairing — `study_key`, `study_hash`, `design`, `setup`, `route`, `domain`, `refusals`, `lower_key`, `lowered` (the request body, the page's lowering referee). # Every Project Manager object's state (Y11) Source: https://eddy-ac74d702.mintlify.app/api-reference/em/post-v1-em-validate openapi.json POST /v1/em.validate ok / q / bolt / x / warn / bad per object and the Message Manager rows, a pure function of `document` plus `solved` {env: the solved design id, result_id}: a design needs model geometry and a solution setup; a scoped boundary / excitation is defined; a report needs its design solved; sibling kinds (Icepak, Circuit, Twin Builder…) are named as routed. # The engine's standard material library (F8) Source: https://eddy-ac74d702.mintlify.app/api-reference/fea/get-v1-fea-materials openapi.json GET /v1/fea.materials Nine SI materials (steel, aluminium, copper, titanium, gray cast iron, polyethylene, concrete, water, air) with elastic, thermal, electrical, fluid, strength, plasticity (isotropic tangent) and S-N rows in the page's material shape; `laws` names what each row feeds and what lands with F8.c. # The FEA object vocabulary (F2) Source: https://eddy-ac74d702.mintlify.app/api-reference/fea/get-v1-fea-vocabulary openapi.json GET /v1/fea.vocabulary Analysis types, loads / supports and result kinds — each backed by a solver, owned by a later F unit, or a doctrine-level absence. The /fea page's tables are pinned to this. # Apply study edit verbs (F2) Source: https://eddy-ac74d702.mintlify.app/api-reference/fea/post-v1-fea-edit openapi.json POST /v1/fea.edit Each verb is applied in order by the pure `apply_edit`; a refusal (unknown id, duplicate id, a structural object of the outline) is typed and nothing is applied. Every step returns its after-hash AND its inverse verb, so undo is a verb; `undo` is the inverse list in reverse order. `before_hash` guards against editing a stale document. # Fold (initial study, edits) to a content-addressed episode (F2) Source: https://eddy-ac74d702.mintlify.app/api-reference/fea/post-v1-fea-episode openapi.json POST /v1/fea.episode The same fold a recorded session finishes with: every edit applied in order, the after-hash chain, the inverse verbs, and `episode_key` = blake3 of (env_version, initial, edits). Registered as an artifact. # Write Input File: the study's solver deck on the solve's own mesh (F5) Source: https://eddy-ac74d702.mintlify.app/api-reference/fea/post-v1-fea-export openapi.json POST /v1/fea.export `format` = `inp` (CalculiX, through the I-track deck generators: structural hex8 / hex20, thermal, modal, buckling, transient thermal, dynamic, nlgeom), `dat` (MAPDL SOLID185 / SOLID70 through `ss_fea::deck` — node / element lists, node components per region, D / F / ACEL / OMEGA / SF,CONV / BFE,HGEN, the referee's UZMAX / SEQVMAX post block) or `json` (the lowered SolveInput). The mesh is `Orchestrator::study_input` — content-addressed, the identical mesh a solve of the study builds (`mesh_blob_id`). The deck is stored (`deck_blob_id`) and registered as an artifact; the response carries the text. Unsupported domain × format pairs refuse typed (422 `FEA_NOT_YET`). # The geometry report: faces / edges / vertices with metrics, mass properties, the viz blob (F3) Source: https://eddy-ac74d702.mintlify.app/api-reference/fea/post-v1-fea-geometry openapi.json POST /v1/fea.geometry The kernel B-rep of the study's geometry (box / cylinder / sphere primitives, a studio recipe through Recipe::study_csg): every face (kind, area, centroid, normal / axis / radius, edges, vertices), edge (kind, length, midpoint, radius, faces, vertices) and vertex, the unit-density mass properties with the inertia tensor and principal axes (the divergence theorem over the tessellation), and the SSBVIZ2 viz blob whose per-triangle face ids the page picks on. Face ids are the B-rep's construction order — the ids `face:` node sets carry (mesh_opts.mesh_face_sets). An imported STEP body (brep_blob) reports its own B-rep in metres with the importer's face ids (F3.b); STL / mesh blobs refuse 422 FEA_NOT_YET (F3.b slice 2). # Lower a study to the solvers' SolveInput (F2) Source: https://eddy-ac74d702.mintlify.app/api-reference/fea/post-v1-fea-lower openapi.json POST /v1/fea.lower One analysis (the given environment id, else the first) lowers to the body `/v1/solve.` / `/v1/preview.commit` take: the box geometry, the assigned material, the mesh element size, and every scoped load / support in the engine's region vocabulary. Objects outside the envelope are listed in `refusals` naming the unit that lands them; an unbacked analysis refuses 422 FEA_NOT_YET, an absence 422 FEA_ABSENCE, a missing material / mesh 400 FEA_UNDERDEFINED. `lower_key` is the content address of (study, analysis, solve_input). # Generate Mesh: the mesh a solve of the study would build, content-addressed, with quality metrics and a paintable skin (F4) Source: https://eddy-ac74d702.mintlify.app/api-reference/fea/post-v1-fea-mesh openapi.json POST /v1/fea.mesh The study lowers exactly as for a solve (mesh options from the Mesh object and its controls: element size, order, boundary conformance, refinement bands / octree boxes, inflation layers, face node sets); the engine builds the mesh through the ONE mesher the solves use and stores it content-addressed — `mesh_blob_id` equals the solve report's `inputs_blob_ids[1]` for the same study (the identity gate). Returns statistics (nodes, elements, element type, named sets, volume), every quality metric summarized (element_quality, aspect_ratio, jacobian_ratio, skewness, warping_factor, orthogonal_quality, min_detj: min / max / average / std / 20-bin histogram / worst element) and an SSVIZ1 skin painted with `metric` (each node the worst adjacent element). Nothing else is persisted: no run, no result. Controls outside the envelope refuse typed in `refusals` / 422. # The deterministic HTML report of a study (F9) Source: https://eddy-ac74d702.mintlify.app/api-reference/fea/post-v1-fea-report openapi.json POST /v1/fea.report Outline with object states, the solution snapshot and metrics, the evaluated results table, figures (PNG data URIs captured by the page). Byte-identical for identical inputs; the response carries the HTML, its hash and counts. Send To Word (the I3 sidecar with figures) is a named deferral (F9.b). # One result object evaluated over the study's solve (F9) Source: https://eddy-ac74d702.mintlify.app/api-reference/fea/post-v1-fea-result openapi.json POST /v1/fea.result Posts the study document and a result object's id. The study's analysis solves through the cached content-addressed solve, the result object lowers to a spec (`ss_fea::result::lower_result`, mirrored by the page) and the engine evaluates it: painted scalars (Total / Directional Deformation in any coordinate system, the stored fields, derived stresses and strains — principal / intensity / maximum shear / normal / shear components from the recovered tensors, Equivalent Elastic Strain, Strain Energy, Directional Heat Flux, User Defined Result expressions) ride the S-track viz with min / max over the scope; Force / Moment / Heat Reactions sum the internal nodal forces over the support's nodes; probes sample a point; Path results sample a line; Linearized Stress splits a stress classification line into membrane / bending / peak; Solution Combination superposes displacement fields; Convergence runs the preview ladder to a tolerance; Alert compares a result's extreme to a limit. Refusals are typed (FEA_NOT_YET naming the slice). # The Named Selection worksheet over the geometry (F3) Source: https://eddy-ac74d702.mintlify.app/api-reference/fea/post-v1-fea-select openapi.json POST /v1/fea.select Mechanical's worksheet rows — Action (Add / Remove / Filter / Invert / Convert To), Entity Type (Face / Edge / Vertex / Body), Criterion (Size, Location X/Y/Z, Type, Radius, Face Connections, Named Selection ids), Operator (Equal, Not Equal, Less Than, …, Range Include / Exclude, Smallest, Largest), Value / Lower / Upper — evaluated in order over the geometry report to a deterministic entity set; `regions` are the `face:` ids a load scopes to. Unsupported criteria refuse 422 naming what is supported. # Record one applied edit (F2) Source: https://eddy-ac74d702.mintlify.app/api-reference/fea/post-v1-fea-session-append openapi.json POST /v1/fea.session.append Applies the verb on the reconstructed head; a refusal records nothing. 409 SESSION_CHAIN_MISMATCH when `before_hash` is not the chain head; 429 SESSION_LIMIT at the episode cap. # Fold a recorded session to its episode (F2) Source: https://eddy-ac74d702.mintlify.app/api-reference/fea/post-v1-fea-session-finish openapi.json POST /v1/fea.session.finish Identical (initial, edits) → identical episode key as a direct POST; the session is closed. # Open a study recording session (F2) Source: https://eddy-ac74d702.mintlify.app/api-reference/fea/post-v1-fea-session-start openapi.json POST /v1/fea.session.start Records edits as they are applied; the chain head is guarded by `before_hash` on append and the fold at finish equals a direct /v1/fea.episode of the same (initial, edits). # Solve the study: lower the analysis and run it through its domain's ordinary content-addressed solve (F5) Source: https://eddy-ac74d702.mintlify.app/api-reference/fea/post-v1-fea-solve openapi.json POST /v1/fea.solve The study lowers (every backed analysis: static structural incl. multi-step load cases and Large Deflection → nonlinear_static, steady / transient thermal, modal, harmonic, transient structural, eigenvalue buckling, electric, fluid flow, coupled field static) and the result is produced by the SAME `*_model_from_request` + `run_solve` the `/v1/solve.` routes use — one result path, one cache. Typed refusals (objects that cannot lower yet) are a 422 `FEA_NOT_YET` before anything runs. `mode` is the Solve Handler (`auto` | `sync` | `async`) and `compute` the placement, exactly as on the solve routes. Sync: the domain's `SolveHttpResp` (`result_id`, `cached`, `fields`, `metrics`, `provenance`) plus `study_key` / `study_hash` / `analysis` / `domain` / `route` / `source` / `mesh_opts`. Async: the 202 job handle (`job_id`, `poll`, `events`) plus the same study keys. # A tool object evaluated over the study's solve (F10) Source: https://eddy-ac74d702.mintlify.app/api-reference/fea/post-v1-fea-tool openapi.json POST /v1/fea.tool Posts the study and a tool object's id (Stress Tool: safety factor / margin / ratio under Max Equivalent / Max Shear / Mohr-Coulomb / Max Tensile with the material's yield / ultimate limits; Fatigue Tool: stress life over the recovered stress — Fully Reversed / Zero-Based / Ratio / History Data loading (ASTM E1049 rainflow), None / Goodman / Gerber / Soderberg mean-stress correction, the Basquin S-N rows of the material, Life / Damage / Safety Factor / Biaxiality Indication / Equivalent Alternating Stress contours, the Fatigue Sensitivity sweep, Rainflow and Damage matrices at the critical node; Bolt Tool: Working Load and Adjustment across the pretensioned contact interface; Beam / Contact / Response PSD Tools: their result children). Every child evaluates as /v1/fea.result does; the response carries a `tool_key` (the content address of the specs over the result key). # Validate a study: every object's state (F2) Source: https://eddy-ac74d702.mintlify.app/api-reference/fea/post-v1-fea-validate openapi.json POST /v1/fea.validate The outline glyphs — ok / q (underdefined) / bolt (needs a solve or evaluation) / x (suppressed) / warn (refused typed: names the unit or the absence) / bad — and the Messages pane, as a pure function of the document plus `solved` (which analysis is solved, which results are evaluated). # Standalone clearance between two posed parts (S3) Source: https://eddy-ac74d702.mintlify.app/api-reference/geometry/post-v1-geometry-clearance openapi.json POST /v1/geometry.clearance One posed geometry pair, no assembly document -- the same three-way honesty as /v1/asm.interference, with the same `method`: clear (gap + witness points), interfering (`exact`: lens volume/depth/normal; `mesh_estimate`: the inscribed overlap with its [`volume_lo`, `volume_hi`] bracket and `inside_point`, where the kernel refused), or refused (both typed reasons verbatim). # Heal an imported STL into a validated solid (K track) Source: https://eddy-ac74d702.mintlify.app/api-reference/geometry/post-v1-geometry-heal openapi.json POST /v1/geometry.heal Snap-weld, repair, and coplanar-merge a previously uploaded STL blob (POST /v1/blobs) into a validated, boolean-grade Brep -- returning the repair report, a content-addressed healed STL, and a face-tagged viz of the shell. # Signed-distance field of a posed part over a grid (S3) Source: https://eddy-ac74d702.mintlify.app/api-reference/geometry/post-v1-geometry-sdf openapi.json POST /v1/geometry.sdf The SDF of one posed part recipe over a deterministic axis-aligned lattice -- values in a content-addressed SSFLD1 blob (x-fastest order), summary stats in the response. Negative inside, positive outside, exactly 0.0 on the surface; exact on planar geometry, sagitta-bounded on curved. Degenerate and over-cap grids are typed errors. # STEP import, rung 2: the exact B-rep of every body from an uploaded STEP blob (C22.8 / J6.a) Source: https://eddy-ac74d702.mintlify.app/api-reference/geometry/post-v1-step-import openapi.json POST /v1/step.import Parse a previously uploaded STEP file (POST /v1/blobs) -- a full ISO-10303-21 reader -- and build the EXACT B-rep of every MANIFOLD_SOLID_BREP: each ADVANCED_FACE lands on its analytic surface (PLANE, CYLINDRICAL_SURFACE, CONICAL_SURFACE, SPHERICAL_SURFACE, TOROIDAL_SURFACE), each EDGE_CURVE is a LINE or CIRCLE edge (SURFACE_CURVE / SEAM_CURVE wrappers followed), each ORIENTED_EDGE a half-edge and the two uses of an edge its twins -- no stitching, no tolerance, no mesh. Rung 3 (DR.b6) also reads B-spline surfaces, and a B-spline edge when it is the exact intersection of its two surfaces; what no rung holds refuses by name. Face orientation is resolved by the closed-shell law (every edge traversed once each way) and pinned by a planar face's winding, so writers whose FACE_BOUND / same_sense flags compose differently (OCCT on seam-closed bands) import exactly; a shell the law cannot hold for refuses typed. Sphere seams are dropped to the kernel's seamless cap / zone / full forms; cylinder, cone and torus bands keep theirs. The file's declared length unit (SI_UNIT prefixes of METRE, INCH / FOOT conversion units) is read and the coordinates scaled to MILLIMETRES (`length_unit`, `scale_to_mm`; no unit = mm, named in the skips; mixed units refuse typed); CONICAL_SURFACE semi-angles honour a DEGREE plane-angle unit. Returns the entity census (the whole file, visible), the totals, the surface and curve census, the total volume, the named skips, the first body's face-tagged viz and every body in `bodies`. B-spline / swept / offset surfaces, ellipse / B-spline edges, voids, open shells and surface models refuse with their names (rung 3 = NURBS). Referee: OCCT-authored solids (FreeCAD 1.0) import at OCCT's GProp volume to the grid's chordal error. # A stored generation plants document's or result's canonical bytes Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/get-v1-gp-document-key openapi.json GET /v1/gp.document/{key} The document as `gp_document`, `gp_weather_snapshot` or a study stored it (a layout, a yield, an assessment, a TMY): canonical JSON whose BLAKE3 is the key (`x-eddy-key` carries it). Refused: `GP_REQUEST` (400: not a key), `GP_DOCUMENT_NOT_FOUND` (404: no such document, or the key is not a generation plants document's). # A battery's shifting duty on the plant profile: charge from clipping, export limits or windows, discharge by rule (GP16) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-bess-duty openapi.json POST /v1/gp.bess.duty Runs GP16's duty (`spec`) over the plant's profile (`profile`, or `yield_key`: a stored PV yield, `gp_pv_yield`'s result, one array's or a layout's, whose series the profile is made from): charge from clipping when DC-coupled, above an export limit or in windows; discharge in full, at a stated power or to an export target; the energy balance checked every step. Answers `ss.gp.yield/1` of kind bess and stores its series (`parts.series`). The crate's codes (422): `BESS_DUTY`, `BESS_EQUIPMENT`. Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # Battery containers packed on a pad with separations, setback and aisles (GP16) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-bess-layout openapi.json POST /v1/gp.bess.layout Packs GP16's units on the pad (`spec`) with the battery's equipment (`equipment` or `equipment_key`, `ss.gp.equipment/1`): separations entered or from the CFA guideline's built-in numbers where they exist (4 m perimeter road, 10 m fire break), setback and aisles; unit separation is performance-based, so `unevaluable` without the fire safety study's figures in an adopted table. Answers `ss.gp.layout/1` of kind bess. The crate's codes (422): `BESS_LAYOUT`, `BESS_EQUIPMENT`. Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_VALUE_TABLE` (422: a named table missing, not adopted, not in force or unreadable, with MEP8's code), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # Battery sizing for power and energy with per-tranche degradation, overbuild or augmentation (GP16) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-bess-sizing openapi.json POST /v1/gp.bess.sizing Runs GP16's sizing (`spec`): units for the power at the AC terminals and the usable energy over the life, the customer's cycle and calendar degradation curves (never extrapolated), overbuild, augmentation or a checked schedule. Answers `ss.gp.bess.sizing/1`. The crate's codes (422): `BESS_SIZING`, `BESS_EQUIPMENT`, `BESS_DEGRADATION`. Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # The buildable area of a site: the boundary less setbacks, buffered constraints, missing, steep and wrongly facing terrain (GP2) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-buildable openapi.json POST /v1/gp.buildable Derives `ss.gp.buildable/1` from the site document: the boundary less its setback, less each constraint layer in document order (exclude, buffer by a distance or a value-table entry, allow), less terrain that is missing, steeper than the slope limit or facing outside the aspect window (SP2's Horn slope and aspect, N1 polygons in whole cells); every removed part with its reason, gross and removed areas closing on the boundary's. The site's layers and terrain are read from the spatial store by the keys it names. The buildable area is also stored as a vector document (`layers.vectors`: `part` buildable or removed). The crate's codes (422): `GP_SITE`, `GP_FRAME`, `GP_BOUNDARY`, `GP_CONSTRAINT`, `GP_KEY`, `HEIGHT_KIND_MISMATCH`, `LICENCE_NC`, `FRAME_MISMATCH`. Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_VALUE_TABLE` (422: a named table missing, not adopted, not in force or unreadable, with MEP8's code), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # The MV collector: feeders from stations to the substation along the roads, sized, solved and faulted as a power network (GP17) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-collector openapi.json POST /v1/gp.collector Runs GP17 (`spec`, `ss.gp.collector/1`): N7's graph from the roads (`roads_key`: a vector document of lines, or `layout_key`: a PV layout's roads), stations attached by spurs, an Esau-Williams capacitated tree with local search, trench sharing, ground lengths on `terrain_key`; written as `ss.power.network/1`, validated by PW2, sized by PW6 (cable ratings from adopted tables), solved by PW3, faulted by PW5, hourly losses over `duty`. The network and the sized one are stored in the power store (`networks`: `/v1/power.loadflow` and the other studies take them by key); the graph and the sizing as `parts`. The crate's codes (422): `COLLECTOR_SPEC`, `COLLECTOR_TREE`, `COLLECTOR_UNREACHABLE`, `COLLECTOR_RATING_MISSING`, `COLLECTOR_NETWORK_INVALID`, `COLLECTOR_LOAD_FLOW_UNSOLVED`, `COLLECTOR_STATION_OVER_CAPACITY`, `COLLECTOR_DUTY`, `FRAME_MISMATCH`. Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_VALUE_TABLE` (422: a named table missing, not adopted, not in force or unreadable, with MEP8's code), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # The collector's stations from a PV layout: stations snapped beside the roads and rows reassigned, as layout commands (GP17) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-collector-stations openapi.json POST /v1/gp.collector.stations Runs GP17's layout inputs (R4) on the stored layout (`layout_key`): the layout's roads (with a stored road layer added, `roads_key`) as N7's graph; with `snap`, each block's station moved beside its nearest road (`clearance_m` beyond its edge; GP7 `move_station` commands); with `reassign`, rows moved to a block whose station is more than `margin_m` nearer while the block keeps within the layout's strings a block (GP7 `assign_row` commands); then a station per block of the layout so edited, with the stated `defaults`. The commands are applied in order on the server: the edited layout is stored under its own key (`layout_key`, and the `layout` part; `from` the layout read), and the answer carries `commands` (to replay with `gp_layout_edit`), `undo` (to go back) and `stations` (GP17's stations, for `gp_collector`'s spec). The result (`ss.gp.collector.stations/1`) names both layouts, the commands by kind and the stations. The crate's codes (422): `LAYOUT_EDIT` (naming the command), `LAYOUT_CTX`, `FRAME_MISMATCH`, N7's graph codes. Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # Store a generation plants document by content address: a site, a weather document, a PV layout, or the layout's or battery's equipment Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-document openapi.json POST /v1/gp.document Stores a document in canonical form under the BLAKE3 of its bytes, checked by the crate as it goes in: `site` (`ss.gp.site/1`: the projected frame, the boundary and constraint layers by vector key, the terrain by raster key with its height kind, slope and aspect limits, criteria table ids), `weather` (`ss.gp.weather/1`: a series, TMY, sector Weibull table or WRG grid), `layout` (`ss.gp.layout/1` of kind pv, as `gp_layout` makes it), `layout_equipment` (GP7's structures: fixed tables and trackers with piles, reveals and slope limits) or `bess_equipment` (`ss.gp.equipment/1`'s battery units). Answers `key` (what the studies take as `site_key`, `weather_key`, `equipment_key`, `layout_key`), `name`, `counts`, `bytes`. Refused by name: `GP_REQUEST` (400: the body, an unknown member, a kind that is not one of the five), `GP_DOCUMENT_INVALID` (400: the crate's own refusal of the document, its message as the crate gives it). # The printable drawing set of a plant: layout sheets, EIS figures, schedules, KML, GeoPackage and GPX stake-out (GP22) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-drawings openapi.json POST /v1/gp.drawings Lays out GP22's drawing set from the plant's stored documents, each named in `spec` by the key the route that made it answered: the PV layout (`pv_layout_key`), GP15's wind layout (`wind_layout_key`: `gp_siting`'s `layout` part), GP16's BESS pad, GP18's roads study, GP17's collector, GP12's noise with its level raster, GP13's flicker with its hours raster, GP14's visual assessment with its three rasters, GP8's grading (its strips and pads on the block sheets, an earthworks figure and tables) and GP9's glare (a figure with every receptor and its glare minutes, the NSW verdict table), site layers (vector documents with a role: exclusion, setback with `distance_m`, feature), the boundary and buildable area. Sheets (SVG on PW14's paper and title block) at a standard scale with a scale bar and a north arrow turned to true north by the meridian convergence at each plan's centre (GP7.b), each sheet stating it; each sheet also as PDF (the engine's PDF writer, the same drawing), and every sheet in one PDF (`S-00-sheets.pdf`); a PV block whose rows cannot be read whole on the paper drawn in parts at the smallest standard scale where they can (row ids and piles), with match lines naming the sheets beyond them (`split_blocks: false` draws every block whole); with `terrain_key` (a terrain raster), the ground's contours on every plan sheet at `contour_interval_m` (the finest of the engine's intervals giving at most 40 levels over the relief where left out, said on the sheets), every fifth lettered; the schedules (HTML, PDF, document); the exports (styled KML, a GeoPackage a layer, GPX and CSV stake-out); an index. The result is the manifest (`ss.gp.drawingset/1`: every file by BLAKE3); the zip and every file are `parts` (by file name). `titles` are printed as given; no date is read from a clock. A grading (`grading_key`) is drawn only with the layout it belongs to: the layout it graded, or one whose rows carry it (the graded layout `gp_grading` answered); another is refused `GP_GRADING_NOT_THIS_LAYOUT` (422), naming both. The crate's codes (422): `GP_DRAWING_INVALID` (a frame with no EPSG code, a layer id that is not a table name, a document not in the plant's frame, a writer's refusal), `GP_REPORT_INVALID` (titles, paper). Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # Shadow flicker hours at receptors: astronomical, cloud-reduced and realistic cases, and hours rasters (GP13) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-flicker openapi.json POST /v1/gp.flicker Runs GP13 (`spec`, `ss.gp.flicker.study/1`): the rotor disc's shadow along each SPA sun vector (N10), terrain blocking on `terrain_key`'s raster (flat ground without one), astronomical worst case, cloud-reduced from the weather's DNI (`weather_key`) or a monthly table, realistic from a sector rose and Weibull operation (`wind_key`); hours a year, minutes on the worst day, days with flicker per receptor, against the criteria (NSW 2024 and Victoria's 30 h a year built in and cited, Victoria's judged on the astronomical figure with the predicted one beside it; others from adopted tables); with `hours_raster` the hours and worst-day rasters (`layers.rasters`). Stores the receptors' minute series and the sun path (`parts`). The crate's codes (422): `GP_FLICKER`, `GP_FLICKER_SUN`, `GP_FLICKER_WEATHER`, `GP_FLICKER_WIND`. Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_VALUE_TABLE` (422: a named table missing, not adopted, not in force or unreadable, with MEP8's code), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # Glint and glare screening of a PV plant at dwellings, roads, rail and aviation receptors (GP9) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-glare openapi.json POST /v1/gp.glare Runs GP9 (`spec`, `ss.gp.glare.study/1`): the rows of the layout (`layout_key`, grouped by inverter block) or rows stated in the study, fixed tilt or single-axis trackers with backtracking, GP3's SPA sun path over the year at the stated step; specular reflection within the sun's radius and a stated spread, the cone test exact on each row's collector rectangle; terrain blocking (GP3's cast shadow at the row, SP2's line of sight to the receptor) on the terrain (the layout's unless `terrain_key` names another; flat ground without one) and row blocking; the block search (R3) that equals every row at every step. Receptors: points (dwellings, towers), roads and railways sampled along their lines with an eyeline, approach paths. NSW's Large-Scale Solar Energy Guideline (v1.1, 2024, CC BY 4.0) is built in and cited (`{builtin: nsw-lssg-2024}`); any other guideline is a value table a person adopted (`tables`); a road, railway or approach that states no eyeline takes 50 degrees either side of travel (Pager Power 2021, cited), overridable by `geometry.eyeline_half_angle_deg` or per receptor. `frame`: the frame of stated rows with neither a layout nor a terrain. The sun path is a part (`sun`). Heavy by its own work (sun steps x (rows + receptor points)): a year at one-minute steps on a 10,000-row plant is about 30 s optimised, a job above the threshold. The crate's codes (422): `GP_GLARE`, `GP_GLARE_RECEPTOR`, `GP_GLARE_MOUNTING`, `GP_GLARE_FRAME`, `GP_GLARE_TERRAIN`, `GP_GLARE_SUN`, `UNEVALUABLE`, `SCHEMA`. Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_VALUE_TABLE` (422: a named table missing, not adopted, not in force or unreadable, with MEP8's code), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # Grading and earthworks of a PV layout's rows and pads, written back to the layout (GP8) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-grading openapi.json POST /v1/gp.grading Runs GP8 (`spec`, `ss.gp.grading/1`): for each row whose GP7 fit leaves a reveal out of range or a joint bent past its limit, the pile line designed as a constrained least-squares problem (the bend limit imposed; under `reveal_bounded`, the default, every reveal held in range where any line does so); the piles still out of range graded by strips (designed through their targets, side slopes daylighting on the terrain), cut and fill by N6 against the terrain's triangulated grid; pads (`pads`: BESS, inverter stations, hardstands, any convex ring) levelled at their balance (factor x cut = fill, the factor stated with its source) or a fixed level; the quantity table by inverter block, pad and plant. With `layout_key` the grading is written back as GP7's `GradeRows` command: the graded layout is stored under its own key (`layout_key` in the answer and the `layout` part, `from` the layout graded), with `command` and `undo` (send `undo` to `gp_layout_edit` to go back). The terrain is the layout's unless `terrain_key` names another (pads alone: `terrain_key` only). The graded footprints are stored as a vector document (`layers.vectors`, `earthworks`). The crate's codes (422): `GRADING_SPEC`, `GRADE_FIT`, `GRADE_STRIP`, `EARTHWORK_FRAME`, `EARTHWORK_UNCOVERED`, `SURFACE_OVERLAP`, `DAYLIGHT`, `PLATFORM_NOT_CONVEX`, `PAD_BALANCE`, `LAYOUT_CTX`, `LAYOUT_EDIT`. Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # A PV layout: rows of fixed tables or trackers packed on the buildable area on terrain, with piles, reveals, strings and inverter blocks (GP7) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-layout openapi.json POST /v1/gp.layout Packs rows (N5 in `ss-spatial`) at a bearing and pitch in the area (GP2's buildable polygon), cut into whole structures, clear of the edges by the setback, with roads across and along; each row's ground (axis and cross slope, the steepest slope under it) against its structure's tolerances, its piles' reveals against their range, rows removed or flagged as the spec says (GP8 grades the flagged piles); whole strings per structure and inverter blocks by the DC/AC ratio. The layout (`ss.gp.layout/1`, kind pv) is stored as a blob by its key with the equipment it was made with (by key): the answer is the key and the summary (rows, blocks, DC and AC, cover, GCR, findings, the grading hook), the whole document only with `include_document: true` (review R6; a plant-scale layout is about 14 MB). Edit it with `gp_layout_edit`, export it with `gp_layout_export`. The crate's codes (422): `LAYOUT_SPEC`, `LAYOUT_EQUIPMENT`, `LAYOUT_STRINGS`, `LAYOUT_BLOCKS`, `FRAME_MISMATCH`, `PACK_*`. Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # Edit a stored PV layout by commands on the server: the new layout's key and each command's undo (GP7, R6) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-layout-edit openapi.json POST /v1/gp.layout.edit Applies GP7's commands to the layout stored under `layout_key`, against the equipment and terrain it was made with (read by the keys it names): `add_row` {row}, `remove_row` {id}, `move_row` {id, to}, `assign_row` {id, block}, `add_block` {block, rows}, `remove_block` {id}, `move_block` {id, by}, `move_station` {id, to}, `restore` {rows, remove_rows, blocks, remove_blocks}. Each command is applied in order; the answer is the new layout's key (`result_key`), `from`, `episode` (the key after every command, the first the layout's), `undo` (the commands that put it back, in the order to send them) and the summary; never the whole document unless `include_document: true`. The same layout and commands give the same keys as the crate's own command path. An edit keeps the layout readable; what it then breaks is a finding or a conflict on the row. The crate's codes (422): `LAYOUT_EDIT` (a command that cannot apply, naming it), `LAYOUT_CTX`; `GP_CAP` (413: more than 10,000 commands). Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # A stored PV layout as a vector document for the map, and its rows as GP6 strips (GP7) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-layout-export openapi.json POST /v1/gp.layout.export Writes the layout under `layout_key` as an SP vector document (rows, blocks, stations, roads; piles with `piles: true`), in the layout's projected frame or in degrees (`degrees: true`), stored in the spatial engine (`layers.vectors`; `/v1/spatial.vector.tile` and the exports read it), and answers `yield_strips`: the rows grouped into strips for GP6's per-row terrain. Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # Wind farm noise at dwellings by CNOSSOS-EU over terrain profiles, against the state criteria (GP12) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-noise openapi.json POST /v1/gp.noise Runs GP12's screening (`spec`, `ss.gp.noise/1`): CNOSSOS-EU's point-source method (Directive (EU) 2015/996 Annex II as amended) over SP terrain profiles between each turbine and receptor (divergence, ground effect, terrain diffraction, homogeneous and favourable conditions, the long-term level), air absorption from Bass et al. 1995 (said on every result to replace ISO 9613-1), A-weighting, the sum over turbines; the levels at each receptor against the criteria in force (the NSW Wind Energy Guideline 2024 and Victoria's wind energy guidelines, 40 dB LA90 or background + 5 dB and 45 dB at stakeholder dwellings, built in and cited; others, NZS 6808's high-amenity limit among them, from adopted tables); a level raster with `grid`. The study's terrain and ground layers are read from the spatial store by key. Answers the noise part of `ss.gp.assessment/1`. Screening: the acoustic consultant signs. The crate's codes (422): `NOISE_STUDY`, `NOISE_TERRAIN`, `NOISE_GROUND`, `NOISE_BANDS`, `NOISE_CRITERION`, `NOISE_GEOMETRY`, `NOISE_WIND_SPEEDS`, `GP_FRAME`. Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_VALUE_TABLE` (422: a named table missing, not adopted, not in force or unreadable, with MEP8's code), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # A PVsyst PAN file read into a PV module, or an OND file into an inverter (GP5) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-pv-import openapi.json POST /v1/gp.pv.import Reads the customer's own PAN (module) or OND (inverter) file with Eddy's own parser into GP5's equipment (the PVsyst one-diode model's parameters, temperature coefficients, IAM, size; the inverter's efficiency curve and limits), its source naming the file and its BLAKE3; PVsyst's files are read, never written. Answers `kind` (module | inverter), the equipment, and for a PAN `pan` (manufacturer, model, nominal power, the model's MPP against the file's Imp x Vmp). Refused by name: `GP_REQUEST` (400: not exactly one of `pan` and `ond`), `PANOND_FORMAT`, `PANOND_UNSUPPORTED` (422: the crate's). # String sizing: modules per string against the inverter's voltage window at the coldest and hottest cell (GP5) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-pv-strings openapi.json POST /v1/gp.pv.strings Checks a string length (`spec.design`: modules_per_string, t_cell_min_c, t_cell_max_c) of a module on an inverter: Voc at the coldest cell against the inverter's and the system's maximum, Vmp at the hottest against the MPPT window, the current. The limits a paid standard sets come only from an adopted table named in `tables` and chosen by `spec.table`; without it they are `unevaluable`. The crate's codes (422): `PV_STRING`, `PV_MODULE`, `PV_INVERTER`. Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_VALUE_TABLE` (422: a named table missing, not adopted, not in force or unreadable, with MEP8's code), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # PV energy yield hour by hour with rows, trackers and bifacial, and a losses waterfall (GP5, GP6) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-pv-yield openapi.json POST /v1/gp.pv.yield Runs GP5's chain over a weather series or TMY: SPA sun position, decomposition (Erbs, DISC, DIRINT), transposition (isotropic, Hay-Davies, Perez), far horizon, IAM, soiling, spectral, cell temperature, the module (PVWatts, CEC/De Soto, PVsyst), the inverter (Sandia, PVWatts, tabulated) with clipping, AC losses and availability; with `spec.rows` GP6's fixed rows or single-axis trackers with slope-aware backtracking, inter-row and electrical shading and the infinite-sheds bifacial rear. Answers `ss.gp.yield/1` (annual and monthly totals, the waterfall closing to 1e-9, performance ratio, specific yield, counts, methods, credit) and stores the hourly series (`parts.series`, `ss.gp.yield.series/1`). On a stored layout (`layout_key`, GP21.b) the spec has no `array`: the layout's blocks are the arrays (each block's own strings over its own inverters, the rows' geometry and tracker hardware from the layout and its equipment, each block's lines on their own ground on terrain), and the answer is `ss.gp.yield.layout/1`: the plant (the sum of its blocks), each block's energy and losses waterfall, the runs, and the plant's series. The crate's codes (422): `PV_SITE`, `PV_PLANE`, `PV_MODULE`, `PV_INVERTER`, `PV_ROWS`, `PV_TRACKER`, `PV_BIFACIAL`, `PV_WEATHER`, `PV_WEATHER_GAP`, `PV_LOSSES`, .... Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # P50, P75, P90 and P99 at 1 and 10 years for PV, wind and the hybrid from multi-year weather (GP19) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-pvalues openapi.json POST /v1/gp.pvalues Runs GP19 (`spec`): each plant's yearly energies (given in `spec.plants`, or made here: `build` {clock_utc_offset_h, plants: [{kind: pv, id, name, spec: GP5's yield spec (without `array` on `layout_key`: the layout's blocks are the arrays, GP21.b), components, degradation_pct_per_year} | {kind: wind, id, name, farm, options, losses, components, degradation_pct_per_year}]} over the whole calendar years of `weather_key`'s multi-year series), the interannual sigma with its 90 % chi-square interval, the period of record, stated components root-sum-squared, P-values at each horizon (interannual divided by the square root of the years), a hybrid total carrying the observed correlation. Answers `ss.gp.yield/1` of kind pvalues: design and screening, never bankable. `gp_report` lays it out. The crate's codes (422): `PVAL_SPEC`, `PVAL_YEARS`, `PVAL_WEATHER`, `PVAL_CLOCK`, `PVAL_GAP`, `PVAL_MONTHLY`, and GP5's and GP10's. Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # The yield report of a P-value result, with HTML and PDF (GP19) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-report openapi.json POST /v1/gp.report Lays out the stored P-value result (`result_key`) as GP19's ten-section yield report (`ss.gp.yield.report/1`): summary, inputs, methods and citations, monthly and annual energy, losses, interannual variability, uncertainty, P-values, credits and the record; headed "design and screening, not a bankable assessment". `titles` (project, client, drawn_by, checked_by, date, revision, paper) are printed as given; no date is read from a clock. The HTML and PDF are stored as `parts`. The crate's codes (422): `GP_REPORT_INVALID`. Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # Access roads and civil quantities: least-cost first cut, alignments under the grade cap, corridors with daylighting, pads and mass haul (GP18) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-roads openapi.json POST /v1/gp.roads Runs GP18 (`spec`, `ss.gp.roads/1`) on the terrain: N8's least-cost network from the entrance to the terminals (turbines, BESS pads, stations, blocks) with a perimeter ring, Douglas-Peucker under the cap, Z2 fillets and grade-capped profiles, Z3 corridors with daylighting and mass haul, hardstands and pads by prisms; `base_key` a base cost raster, `exclusion_keys` polygon layers no road enters. Answers `ss.gp.roads.study/1`; the roads part of the layout and the quantity table as `parts`, the roads as a vector document. The crate's codes (422): `ROADS_SPEC`, `ROADS_ENTRANCE`, `ROADS_GEOMETRY`, `ROADS_STRICT`, `PERIMETER_INSET`, `GROUND_MISSING`, `LCP_*`, `GP_EXCLUSIONS`. Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # Wind turbine micro-siting in the buildable area with setbacks, spacing, pad slope, noise, flicker and visibility as constraints (GP15) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-siting openapi.json POST /v1/gp.siting Runs GP15 (`spec`, `ss.gp.siting/1`): candidates on a lattice over GP2's buildable area (`buildable_key`, `gp_buildable`'s result), screened by exact setbacks and pad slope, spacing ellipses along the prevailing wind; GP12 noise, GP13 flicker and GP14 visibility as exact constraints; greedy then a seeded local search (PCG64, `spec.search.seed`) under a step budget maximising GP11's net energy on the resource (`resource_key`: a sector Weibull climate or a WRG); final full checks; an anytime result, never called optimal. `weather_key` and `wind_key` feed the flicker constraint's realistic case. Always on the heavy lane; a job above the step budget's threshold. Answers `ss.gp.siting.result/1` and stores the wind layout (`parts.layout`, `ss.gp.layout/1` kind wind). The crate's codes (422): `SITING_STUDY`, `SITING_BUILDABLE`, `SITING_INFEASIBLE`, `SITING_UNEVALUABLE`, `SITING_START`, `SITING_WORK`, `WAKE_THRUST`, `GP_FLICKER`, `GP_VISUAL`. Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_VALUE_TABLE` (422: a named table missing, not adopted, not in force or unreadable, with MEP8's code), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # Zones of theoretical visibility by hub and tip, distance bands and the angle each turbine subtends at viewpoints (GP14) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-visual openapi.json POST /v1/gp.visual Runs GP14 (`spec`, `ss.gp.visual_study/1`) on the terrain: cumulative viewsheds (N9: exact line of sight or the Wang, Robinson and White sweep; curvature and refraction stated) for the hubs and the blade tips, distance bands from the nearest turbine, and per viewpoint the vertical angle each turbine subtends and its visible part; the three rasters stored in the spatial engine (`ztv_hub`, `ztv_tip`, `bands`). The NSW visual technical supplement (November 2024) is built in and cited (`spec.criterion.table` `nsw-wind-visual-2024`: its 9 degree setback; each viewpoint then also gets the supplement's visual magnitude, potential and bare earth); any other angle threshold is an adopted table, `unevaluable` without it. Bare earth only. The crate's codes (422): `GP_VISUAL`, `GP_FRAME`. Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_VALUE_TABLE` (422: a named table missing, not adopted, not in force or unreadable, with MEP8's code), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # A wireframe view of the turbines from a viewpoint, the terrain horizon drawn and the screened parts dashed (GP14) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-visual-wireframe openapi.json POST /v1/gp.visual.wireframe Draws GP14's wireframe from `viewpoint` (an id in the study) with `camera` ({azimuth_deg, fov_deg, ...}): each turbine's tower and rotor in perspective over the terrain horizon, the parts the terrain screens dashed; the SVG stored as `parts.svg` (`ss.gp.wireframe/1` names it by key). The crate's codes (422): `GP_VISUAL`. Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # A typical meteorological year, a sector Weibull table or an EPW from a weather series (GP4) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-weather-derive openapi.json POST /v1/gp.weather.derive `op: tmy`: our TMY from a multi-year hourly series by the Sandia method with TMY3 weights (`spec`: utc_offset_h, first_year, last_year, wind_height_m, id, name), a `ss.gp.weather/1` of kind tmy recording each month's choice. `op: sector_weibull`: a sector Weibull table fitted to the series' wind at a height (`spec`: height_m, sectors (12), method maximum_likelihood | energy_and_exceedance, air_density). `op: epw`: the document written as an EnergyPlus weather file (`spec`: city, state, country, source, wmo, utc_offset_h), the result's bytes the EPW text. The crate's codes (422): `PARSE`, `TMY`, `WEIBULL`, `EPW`, ... as `ss-gp-weather` states them. Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # A weather document from ERA5, NASA POWER, an EPW, an NSRDB or Solcast CSV or a WAsP grid, minted as an SP snapshot (GP4) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-weather-snapshot openapi.json POST /v1/gp.weather.snapshot Mints a weather document (`ss.gp.weather/1`) through SP5's snapshot contract: the payload stored by its BLAKE3, the snapshot (connector, source, fetch time, licence, bounds, payload address, the derived document's key) and the document, whose provenance carries the snapshot's; the same payload and statement give the same keys. Connectors: `weather.era5` (the CDS `reanalysis-era5-single-levels-timeseries` CSV; credited "Contains modified Copernicus Climate Change Service information" with the DOIs on every result), `weather.nasa_power` (POWER's hourly point CSV; CC BY 4.0, cited), `weather.epw` (an EnergyPlus weather file), `weather.csv` (an NSRDB PSM or Solcast CSV in the `csv` layout), `wind.wrg` (a WAsP resource grid, `crs` its projected CRS). The payload is `text`, `payload_base64` or a stored `blob`, with `source`, `fetched_at` (the engine keeps no clock) and `licence` as read. Or `fetch` ({latitude, longitude, start, end}) runs as a job (202): ERA5 through the CDS with the operator's key (`SS_CDS_KEY`; the gateway never reads a `.cdsapirc`), NASA POWER from its API when the operator lists `power.larc.nasa.gov` in `SS_SPATIAL_FETCH_HOSTS`. Answers `snapshot_key`, `weather_key` (what the studies take), `payload_key`, `data_key` (the document without its fetch provenance), `weather` (kind, channels, steps, start, step, site, credit) and `notes`. Refused by name: `GP_REQUEST` (400: the body, a connector that is not a weather one, not exactly one payload, no source, time or licence), `GP_CDS_NOT_CONFIGURED` (503: an ERA5 fetch with no operator key), `FETCH_DENIED` (403: POWER's host not listed), `GP_DOCUMENT_NOT_FOUND` (404: no such blob), and the crate's own (422: `PARSE`, `REQUEST`, `CDS_LICENCE`, `FETCH`, ... with its message). # Wind farm energy: shear, air density, power curves and the gross yield, with wake losses when asked (GP10, GP11) Source: https://eddy-ac74d702.mintlify.app/api-reference/gp/post-v1-gp-wind-yield openapi.json POST /v1/gp.wind.yield Runs GP10 on the farm (`farm`: turbine types with power and thrust curves, placements with hub heights) over the resource (`resource_key`): a series or TMY at every turbine (density per step), a sector Weibull climate, or the customer's WAsP grid (each turbine the nearest node); `options` (shear, density model, density correction, integration, bins; GP10's defaults where left out); `losses` the stated waterfall. With `wakes` (GP11: model jensen | bastankhah_2014 | turbopark | floris_gauss, superposition, rotor average, bins) the gross and net energy per turbine by sector and speed, the wake step first in the waterfall. Answers `ss.gp.yield/1` of kind wind. The crate's codes (422): `FARM`, `TURBINE`, `SHEAR`, `DENSITY`, `CLIMATE`, `WRG_CRS`, `WRG_OUTSIDE`, `WAKE_OPTIONS`, `WAKE_RESOURCE`, `WAKE_THRUST`, `MISSING_CHANNEL`, `GP_RESOURCE`. Refused by name: `GP_REQUEST` (400: the body, an unknown member or one the study does not take, a document given inline and by key, a key that is not `b3:` and 64 hex digits), `GP_SPEC` (400: a spec or member that does not read, by name), `GP_DOCUMENT_INVALID` (400: an inline document the crate refuses), `GP_DOCUMENT_NOT_FOUND` (404: a key that names no stored document of the kind), `GP_BUSY` (429: the heavy lane is full; `Retry-After: 5`). What cannot be worked out inside the study (a missing value-table entry, a criterion no table fills) is on the result as the crate states it (`unevaluable`, findings), with status 200. A design and screening aid: a person reviews it before it is relied on. # A product's graph: nodes, methods, values, components Source: https://eddy-ac74d702.mintlify.app/api-reference/graph/get-v1-graph-get-product openapi.json GET /v1/graph.get/{product} Every node with its kind, method, inputs, value object, dirtiness and real components with units; the spec it was built from; the head hashes. 404 GRAPH_UNKNOWN_PRODUCT when none was built. # A material document by key Source: https://eddy-ac74d702.mintlify.app/api-reference/graph/get-v1-material-get-key openapi.json GET /v1/material.get/{key} The document as stored; 404 when the store has no such material. # The F8 library as material documents Source: https://eddy-ac74d702.mintlify.app/api-reference/graph/get-v1-materials-library openapi.json GET /v1/materials.library Every row of the standard material library (`GET /v1/fea.materials`) as an `ss.pdm.material/1` document with the key it would be stored under; nothing is written. # A supplier document by id Source: https://eddy-ac74d702.mintlify.app/api-reference/graph/get-v1-supplier-get-id openapi.json GET /v1/supplier.get/{id} The current offer set; 404 when unknown. # Build a product's graph from the documents in the store Source: https://eddy-ac74d702.mintlify.app/api-reference/graph/post-v1-graph-build openapi.json POST /v1/graph.build 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.`), the definition and state committed on `graph/`. Answers the receipt: hashes, the nodes, what evaluated. PX12: requirements with REPORT checks read a `report//` node built from `reports[]`; requirements with SPATIAL checks (the query as JSON `{study: "/", field, region, component?, stat?}`) read a `spatial///` 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. # What an edit to a document reaches — before any work Source: https://eddy-ac74d702.mintlify.app/api-reference/graph/post-v1-impact-affected openapi.json POST /v1/impact.affected The static impact set: the transitive dependents of the graph node(s) a document stands for — `changed: {kind, key}` with kind one of material (a key), supplier (an id: every offer node of that supplier), item, line (a find number), req (`/`), study (`/`), or `changed: {node}` naming a graph node. Grouped by kind (items, costs, studies, checks, …). Nothing is evaluated. # Forward mode: one parameter's effect on everything downstream Source: https://eddy-ac74d702.mintlify.app/api-reference/graph/post-v1-impact-forward openapi.json POST /v1/impact.forward PX14 (a): the dual of `impact.rank` — d(every downstream component)/d(one parameter component), composed in one forward pass over the graph from the same cached local Jacobians, ranked by magnitude with units; a node that cannot certify (or a topology event across a geometry step) makes the answer uncertified and is named. # The full cross-domain Jacobian and its compression measurement Source: https://eddy-ac74d702.mintlify.app/api-reference/graph/post-v1-impact-matrix openapi.json POST /v1/impact.matrix PX14 (b): every derived real component any parameter reaches (rows) against every parameter component (columns), assembled from the store; with the H.3 #10 measurement — the singular values of the row- and column-scaled matrix, the rank at 1 % and the dense-to-factored ratio — recorded, not asserted. # Rank every upstream parameter by its effect on a KPI Source: https://eddy-ac74d702.mintlify.app/api-reference/graph/post-v1-impact-rank openapi.json POST /v1/impact.rank E.2/E.3: the composed derivative d(KPI component)/d(parameter component) for every real parameter upstream of the KPI node — local Jacobians per node (exact for the pure methods, central differences with a curvature check for a solve) composed by the chain rule in reverse over the graph and cached in the store under their keys — ranked by magnitude with units (`KPI unit / parameter unit`), the tightest certified radius and the node that set it; a node that cannot certify makes the answer `certified: false` and is named in `uncertified_nodes`. `kpi` is a node (`study//`, `cost/`, …), `component` one of its components (`max_displacement`, `cost`, …). # Re-read the documents, propagate, evaluate exactly the frontier Source: https://eddy-ac74d702.mintlify.app/api-reference/graph/post-v1-impact-stabilize openapi.json POST /v1/impact.stabilize Re-reads every document the graph was built from and sets the parameters that moved (an unchanged document is absorbed: nothing dirtied); the dirtied set is the impact; stabilising evaluates only the nodes whose input hashes actually changed, the wavefront dying at the first unchanged value (a supplier's price edit re-resolves the item to the same shipped properties and never reaches the solve); the state is committed. A changed definition (a new item, a repinned material) rebuilds the graph (`rebuilt: true`). Answers the edits, the dirtied set, and what evaluated / cut off / changed, grouped by kind. # Propagate the parameters' declared scatter to a KPI Source: https://eddy-ac74d702.mintlify.app/api-reference/graph/post-v1-impact-tolerance openapi.json POST /v1/impact.tolerance `Var(KPI) ≈ J Σ Jᵀ` over the distributions the parameters declare (a supplier's tolerance band is an interval: no distribution is claimed, so `variance` is null and the first-order half-width `Σ |J_i| h_i` is the answer; a uniform or normal scatter gives a variance), with each parameter's share ranked. # Store a material document Source: https://eddy-ac74d702.mintlify.app/api-reference/graph/post-v1-material-put openapi.json POST /v1/material.put An `ss.pdm.material/1` document — name, grade, category, properties as `{value, unit}` under the standard keys (e, nu, rho, k, cp, alpha, yield, ult, sigma, …), source — validated (MATERIAL_GRAMMAR, MATERIAL_UNIT) and committed under `material/` in the PLM head map; the key is the BLAKE3 of the canonical bytes. 503 PDB_UNMOUNTED without a store. # Import the F8 library into the store Source: https://eddy-ac74d702.mintlify.app/api-reference/graph/post-v1-materials-library openapi.json POST /v1/materials.library Commits every library row as a material document (`material/`); idempotent on the bytes. Answers the keys by name. 503 PDB_UNMOUNTED without a store. # Pin a material and a supplier on an item's head revision Source: https://eddy-ac74d702.mintlify.app/api-reference/graph/post-v1-plm-item-pins openapi.json POST /v1/plm.item.pins Sets `material` (a material key) and/or `supplier` (a supplier id) on the head revision, which must be in work (a released revision is frozen: ITEM_FROZEN). The item is re-committed to the store. Pins are what the product graph reads: an item made of a material and sourced under an offer. # Store a supplier document Source: https://eddy-ac74d702.mintlify.app/api-reference/graph/post-v1-supplier-put openapi.json POST /v1/supplier.put An `ss.pdm.supplier/1` document — supplier id, name, offers per item (unit price, currency, lead time, MOQ) with the tolerance bands the supplier guarantees on material properties (relative `lo..hi`) — validated (SUPPLIER_GRAMMAR) and committed under `supplier/`; a later put replaces the offer set (the commit chain is the history). # The hosted open engines: each one's rung, licence verdict, machine classes and rate (HE10, HE12) Source: https://eddy-ac74d702.mintlify.app/api-reference/interop/get-v1-interop-engines openapi.json GET /v1/interop.engines The third-party simulators Eddy hosts, and the ones it does not. A run on any of them (`POST /v1/interop.rollout`) is an EXTERNAL result: the engine's numbers, shown beside Eddy's audit, never as an Eddy result. `{engines: [{id, name, licence, licence_source, hosting: allowed | unconfirmed | declined, device: cuda | cpu | 'cuda|cpu', needs_gpu, note, rung: H0..H4 | null, rung_evidence, startable, machines: [{id, gpus, vcpus, device, billing: machine_second | vcpu_second, billed_whole, credits_per_machine_hour, usd_per_machine_hour, pool_deployed: true | false | null}], connect?: {label, links: [{label, href}]}}], rungs: [{id, means, proof}], demo_scenes: [{id, title, truth, duration, scene, checks}], runs_on: fleet | in_process | none, default_machine, credits_per_usd, wait_max_s, job_kind: foreign_rollout, route: /v1/interop.rollout, result_kind: external_result, track}`. The rung is where the engine really stands (H0 not started, H1 licence answered, H2 image works, H3 on the fleet, H4 live), with what it stands on in `rung_evidence`; a declined engine has none. `machines` are the classes that can run it, from the compute catalog: a CPU engine on the CPU classes, a CUDA-only engine on every class with a GPU, each with its rate from the price book; a class with a GPU is billed whole, per machine-second, whatever the job's threads use. `runs_on` says where a rollout started here would run (`none`: this deployment has no engine installed and the job ends `ENGINE_NOT_INSTALLED`). Isaac Sim is listed as not hosted, with `connect` naming the bridges to connect your own; it is never startable. `allowed` rows (Newton, MuJoCo, MuJoCo Warp -- Apache 2.0) run; `unconfirmed` rows (PyBullet, zlib) refuse until HE0 confirms the licence; `declined` rows (Isaac Sim, HD1) refuse with the owner's reason. # Grade a foreign rollout against the truth: the keyed gap report (IX4) Source: https://eddy-ac74d702.mintlify.app/api-reference/interop/post-v1-interop-audit openapi.json POST /v1/interop.audit `{rollout: {engine, version, device, bodies, frames: [{t, pos, quat?, vel?, contact_force?, energy?}]}, checks: [...]}` or `{audits: [{rollout, checks}]}` -- the checks: `free_fall` (z0 + v0 t - g t^2 / 2; `v0` the launch's vertical speed, read off the first frame's velocity when absent; the error over the whole flight's extent), `pendulum` (the exact period by the AGM and the constraint drift), `bounce` (h_n = h0 e^2n), `incline` (sticks below atan mu_s, slides at g (sin - mu_k cos)), `energy` (KE + PE drift; the engine's own per-frame `energy` when every frame carries one), `rest` (the largest displacement; its relative error is the drift over `tol_m`), `precession` (a gyroscope's azimuth about `pivot` advances at m g r / (I omega)), `cradle_exit` (Newton's cradle: the last ball leaves at e^(n-1) times the incoming speed, the first stops), `reference_sim` (the trajectory against our sim's rollout of the same scene), `fluid_load` (a fluid-borne load: the body's least-squares acceleration against F / m + g, F the CFD wall zone's wrench given as `force` or resolved by the route from a stored CFD `result` + `zone` + `centre`, `scale` the sim's wrench_from multiplier), `contact_yield` (the contact-force peaks quantised to the declared `bucket` -> one P1 solve per distinct (body, force) -> the safety factor against `min_safety_factor`; identical truth requests solve once across the batch and the cache serves repeats). A measurement the rollout does not allow (no swing, no rebound, no sweep) is a failing row that says `not measured`, never a blank. Answers `{report: {engine, version, device, rows: [{check, body, quantity, frame?, t?, foreign, truth, error, rel_error, pass, truth_key?, note}], truth_requests, summary, pass, warnings}, truth: [{request, result_key, max_von_mises, cached}], rollout_key, report_blob_id, blob_uri, audits}`. # Derive the training engines' parameters from the truth (IX3) Source: https://eddy-ac74d702.mintlify.app/api-reference/interop/post-v1-interop-calibrate openapi.json POST /v1/interop.calibrate `{scene?, contacts?: [{body, other?, geometry: {kind: sphere, r} | {kind: cylinder, r, len} | {kind: flat, lx, ly, h}, force, material: {e, nu, rho, yield}, other_material?, effective_mass?, damping_ratio?, friction?, timestep?, quality?}], joints?: [{joint, link, length, width, height, force, material, link_inertia?, damping_ratio?}], load_limits?: [{body, geometry: {lx, ly, lz}, load_region, fixed_region, force: [x, y, z], material}], thermal_limits?: [{body, geometry, heat_region, sink_region, power, ambient, allowed_temperature, k, rho?}], usd?: {...}}` -- Hertz where the geometry is spherical / cylindrical (the closed form, no solve), the P1 column solve for a flat pad (E A / h as the referee), the P1 cantilever for a joint's compliance (Timoshenko as the referee), the stress check for a load limit, the P2 conduction solve for a thermal limit; every solved value carries its result key. Each contact comes back in every engine's form: PhysX compliant-contact stiffness / damping and offsets, MuJoCo `solref` / `solimp` (timeconst at least 2 x the time step; when the step cannot integrate the stiffness, i.e. (1 - d) K dt^2 / m > 1, the stiffest stable contact `[2 dt, 0.5]` with `step_warning: {kind: stiffness_reduced, stiffness_number, requested_stiffness, presented_stiffness, recommended_timestep, impedance_keeping_stiffness?, message}`), Newton `soft_contact_ke / kd / kf / mu`. With `scene` + `usd` the sublayer carrying the values is written. Answers `{contacts, joints, load_limits, thermal_limits, contact_values, truth, usd?, calibration_key, blob_uri}`. # The foreign-audit corpus family: (scene, foreign rollout, truth) triples (IX6) Source: https://eddy-ac74d702.mintlify.app/api-reference/interop/post-v1-interop-corpus openapi.json POST /v1/interop.corpus `{audits: [{rollout, checks}], name?}` -- every audit graded (a typed refusal becomes a negative with its code), the manifest in the sweep families' shape (`family: sim-foreign-audit`, `tier: truth-graded`, `case_records` with the engine + version pins, the rollout key, the gap-report blob, the truth keys and the (foreign, truth) pairs per quantity, `curriculum` = the gap reports ordered easy -> hard), stored content-addressed and registered as an `interop_corpus` artifact. Answers `{corpus_blob_id, blob_uri, manifest}`. # Write the USD sublayer / stage or the MJCF for a scene, with result attributes (IX2) Source: https://eddy-ac74d702.mintlify.app/api-reference/interop/post-v1-interop-export openapi.json POST /v1/interop.export `{scene, format?: usda | mjcf | urdf, usd?: {form: sublayer | stage, prim_paths?, results?, fields?, contacts?, meters_per_unit?, mass_properties?}, mjcf?: {model?, contacts?, mesh_dir?}, urdf?: {name?, mesh_dir?}, results?: [{body, result_key}]}` -- the URDF is one robot per kinematic tree (links at their joints, a massless `world` root link under a joint on the world, the kernel's mass and inertia, drive budgets as ``, friction / restitution as pybullet's ``; `text` is the first tree's file, every tree's `.urdf` is among `files`, a static root is warned `load it with a fixed base`); the sublayer authors `over` prims at the source's paths with the kernel's mass properties (`physics:mass` / `centerOfMass` / `diagonalInertia` / `principalAxes`), the calibrated contact and material values on an authored Material bound through `material:binding:physics`, and the `eddy:` attributes (result key, peak stress, peak temperature, safety factor, certificate) with result fields as Points children; the stage form is a complete scene that round-trips through the reader; the MJCF nests bodies along the joint tree with the kernel's density (a jointed body's frame at its anchor, the geom offset -- Bullet's loader inserts a massless link otherwise), drives as actuators, loops as equality connect / weld, meshes as binary STL blobs, the initial velocities as a `` (a free body's world linear / body-local angular velocity, a hinge's or slide's rate, a ball joint's body-local spin). Deterministic bytes, content-addressed. Answers `{format, text, export_key, blob_id, blob_uri, files, results, warnings}` -- `warnings` names what the format cannot carry (MuJoCo has no coefficient of restitution; a velocity a joint cannot carry is projected onto its axis). # Import a UsdPhysics / MJCF / URDF document into a sim scene (IX1) Source: https://eddy-ac74d702.mintlify.app/api-reference/interop/post-v1-interop-import openapi.json POST /v1/interop.import `{format: usda | usdc | usdz | mjcf | urdf, text?, entry?, files?: {: | {blob}}, options?: {root: fixed | free, ground?, dt?, substeps?}}` -- USD composed (subLayers, references; variants / payloads / instancing refuse typed) from its text form (`usda`), a binary crate layer (`usdc`) or a package (`usdz`), MJCF with its defaults / includes / assets / actuators / equality connect + weld, URDF with the Sim Studio importer's rules (mass -> density, the kernel re-derives the tensor, effort / velocity seed the drives). The subset per prim / element: Cube / Sphere / Cylinder / Capsule / Cone / Mesh colliders, rigid bodies, mass and material APIs, fixed / revolute / prismatic / spherical / D6 joints with drives; compound colliders and meshes collide as the convex hull with a typed warning; everything else is listed as skipped or refused typed naming the prim. Answers `{scene_key, scene_blob_id, blob_uri, scene, report}` -- the report lists every body (its source, shape, mass and its source), joint, actuator, contact parameter, skipped element and warning; `source_hash` is the blake3 of the files consumed and the options. Binary USD: a `.usdc` layer or a `.usdz` package is a blob in `files` (`{"stage.usdc": {blob}}`), and a layer inside a package is named `robot.usdz[inner/a.usdc]`. Each layer is told from text by its bytes, so a text root may reference binary layers and the other way round, and a binary file imports to the same scene and `scene_key` as its text export. A binary layer or package that cannot be read answers 400 `USD_BINARY_UNSUPPORTED` naming the file and the reason: truncated or corrupt, a crate version newer than the reader, a deflated, encrypted or nested package entry, past the bounds (256 MiB a file, 4,000,000 array elements), or an engine built without the reader. Export writes text only. TL3c: `blob` (a blob id) instead of `text`: the entry document is read from the blob as the caller and imported exactly as if sent inline; giving both is 400 FILE_GIVEN_TWICE, a blob that is not UTF-8 text 400 BLOB_NOT_TEXT (a binary layer rides `files` as `{blob}`). # Run a scene on a hosted open engine (Newton, MuJoCo, MuJoCo Warp) and report it as that engine's EXTERNAL result, graded by Eddy's audit (HE10, HE12) Source: https://eddy-ac74d702.mintlify.app/api-reference/interop/post-v1-interop-rollout openapi.json POST /v1/interop.rollout PRESENT THE ANSWER AS EXTERNAL: every number this returns was computed by the named third-party engine, not by Eddy. Say which engine produced it, with its version and image digest (`foreign_rollout.provenance`), and show Eddy's audit of it (`foreign_rollout.audit.report`: each check's `foreign` value beside Eddy's `truth`, the error and pass / fail) beside it. Never call it an Eddy result, never cite it with a result key (it has none), and never merge it into Eddy's own numbers; the answer repeats this in `external: true` and `present_as`. `{engine, scene | demo, duration, checks: [...], envs?: 1, tuned?: false, name?, applied_forces?: {body: [fx, fy, fz]}, compute?: {machine, provider, region}, wait_s?: 0}`. `demo` names a built-in scene in place of `scene` (`free_fall`, `projectile`, `pendulum`: `GET /v1/interop.engines` lists them under `demo_scenes`) and fills `duration`, `checks` and `name` when they are left out. For a scene of your own, `checks` takes any `interop.audit` check; `{kind: reference_sim, scene, tol}` grades the engine against Eddy's own simulation of the same scene and suits any scene. `wait_s` (0 to 300) waits for the job: finished in time, the answer is 200 with the job as `GET /v1/jobs/{job_id}` gives it (the external result under `foreign_rollout`); otherwise, and always without `wait_s`, 202 with the job reference to poll. The scene is exported through `interop.export` (the MJCF) and run by the named hosted engine -- `newton` (Apache 2.0; CUDA or CPU; tuned = restitution on), `mujoco` (Apache 2.0; CPU; tuned = RK4) or `mujoco_warp` (Apache 2.0; CUDA only: place it on a `gpu-*` machine class) -- twice at 1 environment (the determinism verdict) and at `envs` for the batched timing; the rollout is then graded by `interop.audit` with `checks`. Without `wait_s` it answers 202 with the job reference `{job_id, phase, poll, events, pool?, external: true, engine, result_under: foreign_rollout, present_as}`: on the fleet when the gateway has a queue, else in process. The finished job (`GET /v1/jobs/{job_id}`) carries an EXTERNAL result under `foreign_rollout` -- `{kind: external_result, external: true, provenance: {engine, engine_name, version, licence, device, image, image_digest, host}, name, bodies, frames, duration, wall_s, deterministic, envs_n?, wall_n?, envs_skip?, nan_at?, notes, rollout_key, rollout_blob_id, blob_uri, export_key, hashes, audit?: {report, truth, report_blob_id, blob_uri}, pass, warnings}` -- never under `result`: a hosted engine's number names its engine, version and image digest and is shown beside Eddy's results, never as one (docs/hosted-engines-track.md). Refuses typed: `ENGINE_UNKNOWN`; `ENGINE_LICENCE_UNCONFIRMED` (PyBullet until its HE0 row is confirmed); `ENGINE_DECLINED` (Isaac Sim: offering it with Omniverse Kit as a service needs NVIDIA AI Enterprise -- HD1, the owner, 2026-11-10); `ENGINE_NEEDS_GPU` (a CUDA-only engine on a CPU machine class); `INTEROP_INVALID` (no checks, no bodies, a bad duration). A worker without the engine ends the job in error `ENGINE_NOT_INSTALLED`; an engine whose positions go NaN gives a failing external result that says from when. No accelerator is named: the machine class is the job's, the GPU model the region's. # List the knowledge bases a model may search Source: https://eddy-ac74d702.mintlify.app/api-reference/knowledge/get-v1-knowledge-bases openapi.json GET /v1/knowledge.bases The live knowledge bases: Eddy's curated engineering reference library (standards notes, design guides, material data, house rules), each with its name, description and how many documents and passages it holds. Pass a base's `id` in `knowledge.search`'s `bases` to search only it. Draft bases are not listed. Read-only and not charged. # Search Eddy's engineering knowledge base Source: https://eddy-ac74d702.mintlify.app/api-reference/knowledge/post-v1-knowledge-search openapi.json POST /v1/knowledge.search Search Eddy's engineering knowledge base: standards notes, design guides, material data and house rules that staff curate. Use it before relying on remembered values (a yield strength, a bolt grade, a clause of AS 4100 or ISO 286-2, a house design rule); cite the hit's `title` and `page`. Hybrid: a lexical side (BM25 over passages of about 1,200 characters, with a tokenizer made for engineering text, so `M8`, `6061-T6`, `286-2` and `0.2` match as written) and, when the deployment runs an embeddings server and Qdrant, a vector side; the two are fused by reciprocal rank and each hit says which side found it (`match`). `query` is 1..2000 characters, `k` the number of hits (1..20, default 6), `bases` an optional list of base ids from `knowledge.bases`. Live bases and enabled documents only; the same request returns the same bytes. `mode` says whether vectors took part; `vector_error` is set when they were configured but failed and the search fell back to keyword. Read-only and not charged. # The dialect registry: implemented / ss bindings / boundary / unimplemented (X2/X6) Source: https://eddy-ac74d702.mintlify.app/api-reference/lab/get-v1-lab-builtins openapi.json GET /v1/lab.builtins The single source of truth for what the lab dialect knows - the /lab doc panel derives from this (anti-drift: docs ARE the implementation's tables). Returns {lab_version, implemented: [name], ss_bindings: [{name, signature}], boundary: [{name, why}], unimplemented: [{name, stage}]}. # Fold (workspace, scripts) into a content-addressed command episode (X6) Source: https://eddy-ac74d702.mintlify.app/api-reference/lab/post-v1-lab-episode openapi.json POST /v1/lab.episode The direct partner of the /lab session recorder: evaluates each script in order against the chained workspace (engine bridge attached) and stores the canonical episode document (format ss.lab.episode/1, env x-labenv-v1) content-addressed. Refused commands ride as typed steps with the refusal kind recorded and the post-error workspace retained (the MATLAB stop rule per command). A session's finish folds through THIS same function, so recorded address == direct address - gated in tests. # Record + evaluate one command (X6) Source: https://eddy-ac74d702.mintlify.app/api-reference/lab/post-v1-lab-session-append openapi.json POST /v1/lab.session.append Evaluates the command against the session's chain head (loaded by content address - O(1) per append), stores the resulting workspace, and appends (command, after_hash) to the session. The response mirrors /v1/script.eval so a recording page renders identically. A refused command IS recorded as a typed step and the chain continues from the retained workspace. Wrong-family sessions refuse SESSION_KIND_MISMATCH; finished ones SESSION_FINISHED. # Fold a session into its episode; recorded == direct gated (X6) Source: https://eddy-ac74d702.mintlify.app/api-reference/lab/post-v1-lab-session-finish openapi.json POST /v1/lab.session.finish Re-folds ALL recorded commands from the initial workspace through the same pure fold as /v1/lab.episode and GATES that the fold's final hash equals the recorded chain head (SESSION_REPLAY_DIVERGED otherwise - determinism violated, never papered over). Registers the episode (kind episode, env x-labenv-v1) and closes the session. # Open a /lab command-recording session (X6) Source: https://eddy-ac74d702.mintlify.app/api-reference/lab/post-v1-lab-session-start openapi.json POST /v1/lab.session.start Pins the initial workspace document (null = fresh) and mints a session id. Recorded commands append via /v1/lab.session.append; finish folds to an episode whose address must equal the direct /v1/lab.episode fold (recorded == direct, gated live). # Evaluate a lab-dialect script against a workspace (X1) Source: https://eddy-ac74d702.mintlify.app/api-reference/lab/post-v1-script-eval openapi.json POST /v1/script.eval The X-track numeric computing workbench (matlab-track.md): evaluates a script written in the lab dialect - a stated subset of the MATLAB language (real 2-D double matrices, logical, char rows; MATLAB indexing incl. end/logical/linear, growth and deletion; implicit expansion; control flow incl. switch; local functions; the X2 builtin registry with own deterministic linear algebra). Evaluation is a PURE FUNCTION of (script bytes, workspace-in document): workspace-out key, transcript bytes (versioned display dialect lab-v1), and refusal are byte-identical across engine instances. No wall clock (time builtins refuse typed); no ambient RNG (rand before rng(seed) refuses; the seeded mt19937ar state rides the workspace document, so chained evaluations continue the stream). A script error is NOT an HTTP error: MATLAB semantics are stop-at-first-error with prior workspace effects retained, so the response carries the partial workspace and a typed refusal {kind: syntax|undefined|unimplemented|out_of_envelope|boundary|error|numeric|resource_limit, line, col, message}. Workspace documents live in the blob store by content address (fetch via GET /v1/blobs/{key}); transcripts register as artifacts (kind lab_transcript). GNU Octave referees the dialect (X3, env-gated SS_OCTAVE_WSL); oracle output never becomes result bytes. # Seat-free .slx subset import -> signal-flow document (X7) Source: https://eddy-ac74d702.mintlify.app/api-reference/lab/post-v1-slx-import openapi.json POST /v1/slx.import Maps a Simulink .slx (an OPC zip; pass its bytes' blob_id) or a raw blockdiagram.xml (xml) onto the causal signal-flow document type - a NEW document type beside the acausal system model, never a translation into it. The typed block subset: Constant, Step, Sine, Gain, Sum, Integrator, Scope. Out-of-subset BlockTypes refuse by name; S-Function / ModelReference / MATLAB Function / SubSystem refuse PERMANENTLY (vendor black boxes - exchange dynamic content as FMUs instead); expression parameters refuse (numbers only); display furniture benign-skips into the named `skipped` list. Fixture honesty: validated against authored fixtures of the documented slx schema; the first real-Simulink file is the seat-side validation step. # Solve a causal signal-flow document (X7) Source: https://eddy-ac74d702.mintlify.app/api-reference/lab/post-v1-solve-signalflow openapi.json POST /v1/solve.signalflow Trapezoidal stepping on the Integrator states with a deterministic per-step fixed point over the feed-through network (fixed sweep order, fixed tolerance; non-convergence refuses SF_DIVERGED naming the step). Algebraic loops (cycles not passing through an Integrator) refuse at validation. Series: every Scope input and Integrator state. The signalflow_key is a pure function of (model, sim, signalflow-v1). Anchors: first-order feedback vs 1-e^{-kt}, sine integral, step ramp with h-convergence - gated in ss-network. # The chain's steps after an epoch (the catch-up) Source: https://eddy-ac74d702.mintlify.app/api-reference/live/get-v1-projects-id-live-edits openapi.json GET /v1/projects/{id}/live.edits Oldest first; walks the first-parent chain back to the rotation root. Bounded by `limit` (default 200, max 500). # The chain's head Source: https://eddy-ac74d702.mintlify.app/api-reference/live/get-v1-projects-id-live-head openapi.json GET /v1/projects/{id}/live.head With `document=1` the document at the head (O(1)). 404 LIVE_NOT_OPEN before the first open. # Watch a project (SSE) Source: https://eddy-ac74d702.mintlify.app/api-reference/live/get-v1-projects-id-live-watch openapi.json GET /v1/projects/{id}/live.watch A text/event-stream: `hello` {epoch, head_hash, replay, seq}, the live chain's steps past `after_epoch` replayed as `edit` {epoch, actor, edit, after_hash, unix_ms}, then the project's bus events (CO16) for this line — `edit` (with `changed`), `rotated` after a save or merge, `saved` {version} when the project record moves, `impact`, `members`, `activity`, `variant`, `presence` and `comment` (CO17), `gap` {dropped} when this subscriber fell behind, `deleted` last. With `variant=` the variant's chain is replayed and its events are carried along with the project-level kinds. Gated by project access. # Append one edit to the chain Source: https://eddy-ac74d702.mintlify.app/api-reference/live/post-v1-projects-id-live-append openapi.json POST /v1/projects/{id}/live.append One edit from the app's registered vocabulary (or a JSON Patch, or `{op: batch, edits}`), applied by the server to the head's document and committed as one micro-commit — O(changed nodes), no replay. Name the head you edited against: `expected_epoch` or `before_hash`. A stale guard is 409 LIVE_CONFLICT {head_hash, epoch, behind} and nothing lands: catch up with `live.edits` and retry. Editors only (403 LIVE_READ_ONLY). The family's caps apply (413 LIVE_CAP). More than the family's `edits_per_second` from one caller on one chain is 429 LIVE_RATE with `retry-after` (seconds) and the exact wait as `retry_after_ms` (a batch counts once: coalesce). # Open a project's live chain Source: https://eddy-ac74d702.mintlify.app/api-reference/live/post-v1-projects-id-live-open openapi.json POST /v1/projects/{id}/live.open The chain's head — seeded from the project's document on first open (epoch 1), the existing head after. Anyone who may view the project may follow it (`viewer: true` means you cannot append). The document rides inline. 503 PDB_UNMOUNTED without a store: live needs the store; pages fall back to versioned saves. # Fold the chain's head into the project and rotate Source: https://eddy-ac74d702.mintlify.app/api-reference/live/post-v1-projects-id-live-save openapi.json POST /v1/projects/{id}/live.save A versioned save of the head's document through the project write path (`expected_version` as for POST /v1/projects; 409 PROJECT_VERSION_MISMATCH), then the chain rotates: a fresh root on the same ref carrying the saved document, the old micro-commits left for the collector. Editors only. With `variant`, the head lands on the variant's branch (never on the project). # The models this caller may use through the LLM gateway (a key with its own gateway token: the gateway's live grant to that tenant, `tenant: true`) Source: https://eddy-ac74d702.mintlify.app/api-reference/llm/get-v1-llm-models openapi.json GET /v1/llm.models The allowlist (SS_LLM_MODELS, plus SS_LLM_ADMIN_MODELS for admins) as the gateway names them (`/`, e.g. `vertex-main/claude-sonnet-5`), the one to preselect, and whether a gateway is configured at all — `configured: false` means the console keeps its bring-your-own-key providers. # An OpenAI chat-completions request, forwarded to the deployment's LLM gateway Source: https://eddy-ac74d702.mintlify.app/api-reference/llm/post-v1-llm-chat openapi.json POST /v1/llm.chat The body is the OpenAI chat-completions shape (`model`, `messages`, `tools`, `max_tokens`, `stream`, …) and is forwarded to the TrueFoundry gateway's OpenAI-compatible `/chat/completions` — the route every provider account answers on (OpenAI, Azure OpenAI, AWS Bedrock, Claude on Google Cloud); the reply (JSON, or an SSE stream when `stream` is true) is answered with the gateway's status and content type unchanged. The one change to the request: a stream is asked to report its usage (`stream_options.include_usage: true`), so the ledger can count its tokens. Same as /v1/llm.messages otherwise: the caller is identified and tagged (`x-tfy-metadata`), a model outside the caller's allowlist is refused typed (403 MODEL_NOT_ALLOWED) before the gateway sees it, the call is metered (model, token counts, wall time). On the caller's own stored key (PUT /v1/me/llm-provider) the call goes to Anthropic's OpenAI-compatible route (an Anthropic key) or to the gateway as the accounts provisioned for that key (any other provider); those tokens cost 0 credits. # An Anthropic Messages request, forwarded to the deployment's LLM gateway Source: https://eddy-ac74d702.mintlify.app/api-reference/llm/post-v1-llm-messages openapi.json POST /v1/llm.messages The body is the Anthropic Messages shape (`model`, `max_tokens`, `system`, `messages`, `tools`, `thinking`, `output_config`, `stream`, …) and is forwarded byte for byte to the TrueFoundry gateway that fronts Claude on Google Cloud; the reply (JSON, or an SSE stream when `stream` is true) is answered with the gateway's status and content type unchanged. The engine identifies the caller and tags the upstream request (`x-tfy-metadata`: subject, uid, role) for the gateway's per-user cost ledger, refuses any model outside the caller's allowlist typed (403 MODEL_NOT_ALLOWED) before the gateway sees it, and meters the call (model, token counts, wall time) beside the solves in /admin/usage. No gateway credential ever reaches a client. # Delete an agent definition (AS17) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/delete-v1-agents-id openapi.json DELETE /v1/agents/{id} Its owner (or an org admin) deletes the agent's project. Runs already started keep their records. # Resume a paused agent (AS19) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/delete-v1-agents-id-pause openapi.json DELETE /v1/agents/{id}/pause The agent's owner or an org admin lets it start runs again. # Let the org's agents run again (AS19) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/delete-v1-agents-stop openapi.json DELETE /v1/agents.stop An org admin lifts the kill switch. Runs the stop ended stay ended. # Withdraw your consent to an app (AS15 b4) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/delete-v1-apps-id-consent openapi.json DELETE /v1/apps/{id}/consent The person's consent record for the app goes, and the app's live tokens acting for them are revoked (`revoked_tokens`). # Release an app's slug (AS15 b12) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/delete-v1-apps-id-slug openapi.json DELETE /v1/apps/{id}/slug The app's slug is released (`released`: the slug, or null). # Offer a withdrawn app again (AS15 b3) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/delete-v1-apps-id-withdraw openapi.json DELETE /v1/apps/{id}/withdraw Clears the withdrawal: the app's latest published version is offered again (registry, host page, org templates, MCP). A person who may edit the app. # Clear your own, or your org's, credential for a connector (IG3) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/delete-v1-connectors-id-credential openapi.json DELETE /v1/connectors/{id}/credential `?scope=user` (the default) clears the caller's own credential for the connector; `?scope=org` an org admin's for the org. The envelope's branch is deleted. The deployment's environment credential, when there is one, applies again. # Onshape: forget the stored keys or connection (IG28) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/delete-v1-onshape-credential openapi.json DELETE /v1/onshape.credential `kind=keys`, `oauth` or `all` (the default) at `scope=user` (the default) or `org`. The engine stops holding the grant; it stays valid at Onshape until the person revokes the app there. # Withdraw an org template (AS16) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/delete-v1-workshop-templates-id openapi.json DELETE /v1/workshop/templates/{id} Its publisher or an org admin withdraws one of the org's templates (`org.`); the house templates ship with the engine (403 TEMPLATE_HOUSE). Copies keep working; they stop hearing of updates. # Health, schema version, registered solvers Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-healthz openapi.json GET /healthz # List agent definitions (AS17) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-agents openapi.json GET /v1/agents The agents the caller may see, newest first, without their documents (name, description, model, how many selectors). TL4: whose each is (`editable`, `yours`), the kinds of its triggers (`triggers`, as its document lists them) and `runs_on_its_own` (a trigger other than chat). An agent's screen is the app whose `agent` names it (GET /v1/apps). # The calls that wait for you (AS19) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-agents-approvals openapi.json GET /v1/agents.approvals Every call of the caller's agent runs that waits for their decision (its run, tool, effects and input), newest first: the runs this engine holds and the runs the caller's unread `agent_approval` notices name. Decide with `POST /v1/agents/runs/{id}/approve` (a note rides the run and the log; a denied call goes back to the model as an `is_error` tool result). Slice 2: `scope=org` (an org admin) lists every call waiting across the org — the runs this engine holds and the org ledger's open runs read back from the store — each with its person (`owner`, `by`); such a call may be denied for its person with `POST /v1/agents.approvals.deny`. # What agents did: the audit (AS19) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-agents-audit openapi.json GET /v1/agents.audit Per agent, per person or per org: the runs (who started them, when, how each ended, what it spent and what the org held it to; never their inputs or answers), every call their delegated principals made (AS2's trail: method, path, status), each approval asked and decided with its note, and every control action (stop, pause, ceilings, defaults, a day's ceiling reached), newest first. The org's view is an org admin's; a person's is theirs or an org admin's; an agent's is its owner's and an org admin's (anyone else sees their own runs of it). Slice 2: `kind` narrows the events to runs, calls, approvals or control actions (comma-separated); `since` keeps what happened at or after a time; `format=csv` answers the same events as CSV (one row an event, a cell a spreadsheet would read as a formula quoted as text) for export; `user` takes an email as well as a uid; an agent's view also reads its run index (`agent-run/index/`), so its runs outlive the engine and the org ledger's 500. # Read the org's agent controls (AS19) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-agents-control openapi.json GET /v1/agents.control The caller's org: its kill switch, its ceilings (credits per run and per day) with what today has spent and what running agents hold, its policy defaults per effect and whether they are a floor, and its paused agents. With `?agent=`, that agent's pause, whether the caller may pause it, and its effective policy per effect (the agent's own word, else the org's default, else the engine's: read / compute / costly allow, write ask, external deny; a locked org default is a floor). An app or an agent run reads none of it (403). # Read an agent definition (AS17) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-agents-id openapi.json GET /v1/agents/{id} The agent's project (its `ss.agent/1` document as `agent.doc`) with the validation report: its problems, its reserved sections, and its tool selectors resolved within the caller's scopes (what a run started by the caller would carry). # An agent's eval cases and latest results (AS20) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-agents-id-evals openapi.json GET /v1/agents/{id}/evals The agent's eval cases (`evals` in ss.agent/1: a prompt, the model's recorded turns, what a good run does), the problems of the section by JSON pointer, the latest suite in full and the earlier ones in summary. Anyone who may see the agent. # An agent's eval results (AS20) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-agents-id-evals-results openapi.json GET /v1/agents/{id}/evals.results The latest suite in full and the last 20 in summary (ParamDB agent-run/evals/; memory without a store). Anyone who may see the agent. # List an agent definition's runs (AS17) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-agents-id-runs openapi.json GET /v1/agents/{id}/runs The runs of this definition that this engine process holds and the caller may see (their person, or an admin), newest first: id, state, input, answer and credits. Every run is also stored on ParamDB as agent-run/. AS19 slice 2: the runs this engine holds and the agent's run index on ParamDB (`agent-run/index/`, every definition run, the newest 1000), so the list outlives a restart and covers other replicas; each run is read back from `agent-run/`. `indexed` counts the index's runs. TL2: an app's token lists only the runs its app started (`indexed` counts those). # What fires an agent (AS18) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-agents-id-triggers openapi.json GET /v1/agents/{id}/triggers The agent's triggers (the armed definition's, else the draft's) and outputs; who armed them and at which version (stale when the draft moved since); each schedule's next tick; each webhook's URL and whether it has a secret; the run each trigger has going; the run log, newest first. Anyone who may see the agent. # Read an agent run (AS4) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-agents-runs-id openapi.json GET /v1/agents/runs/{id} The run's state (queued, running, awaiting_approval, awaiting_client, done, failed, cancelled, over_budget, interrupted), its messages, its steps (each model turn with usage and credits, each tool call started and done with its status and result keys, each approval), usage, the pending calls, the answer or the error. Its person (or an admin) only; TL2: an app's token reads only the runs its app started (`started_by`: `app:@`, any revision of that app), the rest are not found; a run stored as running that no runner holds reads as interrupted. TL3b: `deliverables` (absent until there is one): the files the run handed over with `run_deliver`, each `{blob, name, content_type, bytes, note, call}` (`call` is the tool-call id that delivered it). # Stream an agent run's steps (AS4) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-agents-runs-id-events openapi.json GET /v1/agents/runs/{id}/events Server-sent events: one `step` per step from `after` on, then `state` when the run finishes or pauses. # An agent run's transcript (AS17) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-agents-runs-id-transcript openapi.json GET /v1/agents/runs/{id}/transcript The inspector's view of one run (its person or an admin): the input; each model turn (stop reason, tokens, millicredits, its text, its calls); each tool call (input, effects, what happened — done, error, denied, refused, awaiting_approval, awaiting_client, running, interrupted — HTTP status, result keys, the head of its result, its approval, and the CR2 usage rows it caused: the rows billed to the run's principal inside the call's start / finish window, with their credits); the notes (what was read as knowledge); the pending calls; the answer's AS5 grounding report; the totals (tokens, model millicredits, tool microcredits, credits). TL3b: `deliverables`, as on the run. # Stream an agent run's transcript (AS22) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-agents-runs-id-transcript-events openapi.json GET /v1/agents/runs/{id}/transcript/events Server-sent events: a `transcript` event (GET /v1/agents/runs/{id}/transcript's view: the turns, each call with its input, effects, state, result and usage, the notes, the grounding, the totals) each time the run changes, then `end` once it finishes or pauses. The run's person or an admin. TL3b: a `deliverable` event (`{run, deliverable}`) for each file the run delivers, before the transcript that shows it. # List apps (AS6) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-apps openapi.json GET /v1/apps The apps the caller may see, newest first, without their documents. Each row says what the caller may do with it (`editable`, `yours`), its latest published version (`published`, null for a draft only) and, TL4, the agent it is the screen of (`agent`, the document's declared agent id; null for a plain app). # The app registry (AS11) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-apps-catalog openapi.json GET /v1/apps.catalog Every app the caller can open, as data: the engine's built-in pages (one table: route, title, category, blurb, search words, icon or monogram, screenshot, levels, project tag, views, ledger) and the org's own `ss.app/1` apps the caller may see (drafts included; `published` is the latest published version, or null for an app with only a draft), with the caller's pins, installs, recents and run counts. The console renders its search, All services, favourites, split view and project filter from it. # Published apps that verify a requirement (AS15 b6) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-apps-evidence openapi.json GET /v1/apps.evidence Every published version of every app the caller may see whose acceptance checks, run at publish with evidence, verify the requirement: the app, the version, the check, the verdict and the evidence record (`ss.app.check/1`, artifact kind app_check), newest first. The product graph's `app_evidence` is the same join per requirement node. # Read an app's draft (AS6) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-apps-id openapi.json GET /v1/apps/{id} The app's project (its `ss.app/1` document as `doc`) and the problems a revision would refuse in it. # The draft's saved versions (AS12 slice 2) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-apps-id-checkpoints openapi.json GET /v1/apps/{id}/checkpoints The Workshop's checkpoints across sessions: every saved version of the app's draft on its ParamDB chain, newest first, with its label (the save's message), who and when; `docs=1` adds the documents (the newest 20). Anyone who may view the app. # One saved version of the draft (AS12 slice 2) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-apps-id-checkpoints-version openapi.json GET /v1/apps/{id}/checkpoints/{version} A saved version's document (what the Workshop's Restore makes the draft again); 404 CHECKPOINT_NOT_FOUND past the last 200. # What you granted an app (AS15 b4) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-apps-id-consent openapi.json GET /v1/apps/{id}/consent The scopes the signed-in person has granted the app (null: never asked, or withdrawn); with `rev`, what that revision asks for and what is missing (the engine's covering rule: a granted `*` covers any family or effect). `enforced` says whether the engine refuses a mint without it (SS_APP_CONSENT=enforce). TL2: with a revision that declares an agent, `agent` {hash, granted, changed}: a changed agent (model, tools, knowledge, approvals, policy or budget) is asked for again. # Download a published app as a zip (AS15) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-apps-id-download openapi.json GET /v1/apps/{id}/download A published version (`version`: N, vN or latest, the default) or a revision (`rev`) as a deterministic zip under one folder `-v/`: `files/` (every file), `app.json` (the manifest; its `files` lists only the binary ones, by content hash), `export.json` (the source), `README.md` (what it may do as you, its inputs and functions, how to run it) and `load.py` (loads it into any engine with a key from EDDY_API_KEY). No credential is in it. Anyone who may view the app; an app or an agent run may not. # An app's check evidence (AS14) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-apps-id-evidence openapi.json GET /v1/apps/{id}/evidence The evidence records this app's checks posted (kind app_check), each with its content address: the requirement, the verdict, the values, the run and its result keys. # Read an app revision (AS6) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-apps-id-revisions-rev openapi.json GET /v1/apps/{id}/revisions/{rev} What a revision is: its name, description, entry, level, scopes, inputs and file list: what the host page asks the person's consent for. TL2: `agent`, the agent the screen runs (name, model, tools, what asks the person first, what it never does, budget, spec hash), or null. A revision of another app is not found. # An app's published versions (AS15) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-apps-id-versions openapi.json GET /v1/apps/{id}/versions The app (id, name, org, visibility), what the caller may do with it (`you`: uid, editable), whether a ParamDB store holds versions here (`store`), the latest version and every version, newest first. The host page's one call. # One published version of an app (AS15) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-apps-id-versions-v openapi.json GET /v1/apps/{id}/versions/{v} `v` is N, vN or `latest`. With `verify=1`, the pin's commit and tree and the revision re-derived from that tree, compared with the record (`verified.matches`). 404 APP_NOT_PUBLISHED when there is no such version. # The app a run URL names (AS15 b12) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-apps-resolve openapi.json GET /v1/apps.resolve `/a//`: a slug in that org's table first, else an app id; the org segment is checked on the server (404 APP_NOT_IN_ORG when the app belongs to another org; `_` is the legacy wildcard). Answers the id, the org, the slug and the canonical run URL. # The audit trail of delegated calls (AS2) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-audit openapi.json GET /v1/audit Every call a delegated principal (an app, an agent run) made for the caller — allowed or refused, with its status — newest first (every call for an admin). `principal` filters by prefix (app:bracket-sizer); `limit` 1..=5000 (default 200). # Compute catalog: regions and machine classes Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-catalog-compute openapi.json GET /v1/catalog/compute Instance selection: pick a region (`regions`) and a machine class (`machines`, each with its concrete instance type). Set the active placement via POST /admin/environment {region, machine}; async solves route to the worker pool running exactly that configuration. Results are byte-identical wherever they run. Each machine class says how many GPUs it carries (`gpus`) and how it is billed (`billing`): a class with a GPU is billed whole, per machine-second, and the rest per vCPU-second. Response includes pool availability: `availability` is "configured" when the deployment declares its worker pools (SS_POOLS) and "unknown" otherwise; `pools` lists each placement with {provider, region, machine, configured, on_demand, live_workers, last_seen_ms, queued}; `on_demand` is true for a pool started only when work is queued (a region with no cluster), whose first job after a quiet spell waits for its image. # The engine-side boundary-class connectors: standards and parts, configured or not, key held or not -- never the key (J6) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-connectors openapi.json GET /v1/connectors The console's data-source cards read this instead of holding keys in the browser. Configuration is environment on the engine: SS_STANDARDS_{CONNECTOR,URL,SUBSCRIPTION} for the standards sidecar; SS_PARTS_{CONNECTOR,URL,ACCOUNT} for one parts connector or SS_PARTS__{URL,ACCOUNT} per connector (TRACEPARTS, SNAPEDA, ULTRALIBRARIAN, NEXAR, Z2DATA), with the connector's named fields as _ (`api_key` also as _KEY): all of them or the deployment holds no credential for it. Each row: id, family, the sidecar binary, configured, key_present, base_url, account label, `live` and `live_detail` and the tools the connector serves (its scope). IG4: `live` is measured through the sidecar's connector_health with this caller's credential, kept 60 s: true only when the sidecar answered with adapter_built, credential_present and ok all true, so it stays false until a connector's adapter is built. IG3: `key_present` is this caller's answer -- their own stored credential, else their org's, else the deployment's environment (own-account connectors (Nexar, DigiKey, Mouser, McMaster-Carr) take the deployment's only with SS_DEV_SINGLE_USER=1 on an engine with no sign-in, and a personal key answers only in the org it was saved in) -- with `key_source`, the `fingerprint`, the connector's `fields`, `user` / `org` (fingerprint, account, set_by, set_at_unix_ms), `can_set_org` and `can_set_user`; credentials are set at PUT /v1/connectors/{id}/credential and never returned. # The caller's credit balance (CR1) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-credits openapi.json GET /v1/credits The balance of the caller's billing account — the org they are acting in: available (spendable grants − open holds − debt), held, debt, each grant with its remainder and expiry, the open holds, lifetime totals; in credits (1 credit = US$0.01) and integer millicredits. The ledger is append-only and lives on ParamDB (ledger/). CR3: also the billing mode (`billing`: off / record / enforce) and the metered usage not yet posted (`pending_microcredits`). # The account's auto top-up (CR4) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-credits-autotopup openapi.json GET /v1/credits/autotopup Whether auto top-up is on for the caller's account, its threshold and amount (credits), whether a payment method is saved at the provider, and why it last turned itself off. # The caps on spend (CR6) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-credits-caps openapi.json GET /v1/credits/caps The ceilings this engine has, as they apply to the caller's account: the overdraft floor (`SS_OVERDRAFT_CREDITS`, in force under enforce), the hold per agent run (`SS_RUN_HOLD_CREDITS`), each agent's own budget, the low-balance notice (`SS_LOW_BALANCE_CREDITS`) and auto top-up — and, under `planned`, the ones named for later: AS19's org ceilings per run and per day and app / agent caps, CR3.b's monthly caps per member and team. # The org's monthly caps (CR3.b) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-credits-monthly-caps openapi.json GET /v1/credits/monthly-caps The org's caps (the month, each member, each team, each app, each agent), where the caller stands against each that applies to them this month, when they reset, and AS19's agent ceilings beside them. # The account's notice settings (CR6.b) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-credits-notices openapi.json GET /v1/credits/notices This account's low-balance line and the notice kinds it muted (low, exhausted, cap). # What can be bought here (CR6) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-credits-packs openapi.json GET /v1/credits/packs CR4's credit packs (id, credits, price in US$), the custom-amount limits, whether a payment provider is configured (and in test mode), and whether the caller may buy (a person or a key; not an app, an agent run or an anonymous caller) and turn auto top-up on (an org admin). # An agent run's cost by turn (CR6) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-credits-runs-id openapi.json GET /v1/credits/runs/{id} Each model turn of the run with its tokens and their credits, then each tool call of that turn with the compute its usage rows were charged (by operation), the turn's total and what drove it (the model, or a tool's compute); the run's totals; its one hold and what was captured, read off the ledger when billing is on. The run's person or an admin; anyone else gets 404, as the run itself does. # A month of the caller's ledger (CR1) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-credits-statement openapi.json GET /v1/credits/statement The entries of the caller's billing account in a UTC month (`month=YYYY-MM`; omitted = every entry) with the month's granted / charged / expired totals in millicredits. # The ledger statement as CSV (CR6) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-credits-statement-csv openapi.json GET /v1/credits/statement.csv Every ledger entry of the caller's billing account in a UTC month (every entry when no month is named): sequence, time, type, its effect on the balance (credit / charge / reserve / release / expire), millicredits, credits, the grant or hold it names, the grant's source and expiry, the idempotency key, the actor and the memo. # Usage by app, agent, solver, member and day (CR6) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-credits-usage openapi.json GET /v1/credits/usage The caller's billing account's metered usage in a window (`month=YYYY-MM`, or the last `days`): totals (credits, calls, cached calls, vCPU-seconds, model tokens, agent runs) and the same grouped by app, agent (with its runs), solver (the operation's family: `solve.structural` → `structural`), operation, member and day (every day of the window, the quiet ones too). An org admin reads the whole account (`scope: org`); anyone else their own calls (`scope: mine`). Read from the most recent usage rows: `scanned` says how many, `complete` whether the read reached back past the window. An app or an agent run is refused 403. # Usage rows as CSV (CR6) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-credits-usage-csv openapi.json GET /v1/credits/usage.csv The rows `/v1/credits/usage` reads, one line each, oldest first: time (UTC), account, user, principal, app, agent, operation, solver, unit, quantity, microcredits, credits, cached and the price-book version. Text cells never start a spreadsheet formula. # Usage by day, from the index (CR2.b) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-credits-usage-daily openapi.json GET /v1/credits/usage.daily The billing account's days from the per-account, per-day usage index (never a scan of the recent rows): rows, microcredits and cached rows, split by member, app, agent and operation. An org admin reads the account's; anyone else their own share. `days=N` (1-400) or `from` / `to` (UTC YYYY-MM-DD, inclusive); default the month to date. # The house assistants (AS21) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-house openapi.json GET /v1/house The house assistants on the agent runtime: Ask Eddy (the console's drawer), the Dev IDE's coding agent and, TL4, the Builder's agent drafter ("Describe the job": a job in words becomes a first ss.agent/1, handed to the Builder through its propose_agent client tool). Each is an `ss.agent/1` definition shipped with the engine; each org runs its own stored copy (`house..`), seeded from it at the org's first run, which the org's admins may tune in the agent editor. Each row: the house definition's version and hash, its tools, its eval cases, and the caller's org's copy (its id, version, whether it is customised, whether the caller may edit it). # A house assistant's definition as the caller's org runs it (AS21) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-house-assistant openapi.json GET /v1/house/{assistant} The definition the caller's org runs (its stored copy, or the house one before the org's first run) with its problems and its tools resolved for the caller (the same report as POST /v1/agents.validate), the house version, and the copy's state. `assistant` is `ask-eddy`, `dev-ide` or `agent-drafter`. # The MCP sidecars this engine names, as agent tool providers (AS22.b) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-mcp-sidecars openapi.json GET /v1/mcp.sidecars The sidecars named by `SS_MCP_SIDECARS` (`name=url[|effect+effect],…`; `external` when no effect is said), each with its tools by their engine names (`mcp__`) and its effects, or why it cannot be reached. An inline agent spec names these tools; an agent run's host answers them with a `tools/call` to the sidecar (its effects drive approvals); the engine's own MCP (`POST /mcp`) lists and calls them. `POST /mcp` also keeps sessions (`initialize` answers `Mcp-Session-Id`; an unknown session is a 404; `DELETE /mcp` ends it) and, within a session, every SSE event carries an id: `GET /mcp` with `Last-Event-ID` resumes a broken stream. # The caller's published apps, agents and templates as MCP tools (AS22, TL17) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-mcp-tools openapi.json GET /v1/mcp.tools Every app the caller may see that has a published, not withdrawn version is a tool per Lab function, `app..` (its input schema from that version's manifest: each input's quantity or kind, label and default; it runs as POST /v1/apps/{id}/fn/{fn} at the version's revision), and every agent the caller may see whose definition validates is a tool `agent..run` (`{input}`: a definition run acting for the caller). TL17: also every listed template as `template..run` (`{input}`: a run of its agent as the caller without a copy, POST /v1/workshop/templates/{id}/runs) and `agents.find` (`{job, limit?}`: POST /v1/agents.find). Each row: `name`, `description`, `inputSchema`, `kind` (app, agent, template or find), `target` and `listed`: whether the MCP `tools/list` shows it. `tools/list` is short: the apps' functions, `agents.find` and the person's pinned agents (GET /v1/me/agents); every other agent and template is called by name. The remote MCP (`POST /mcp`) answers their calls; the stdio ss-mcp reaches this list over HTTP. A tool appears with a publish and leaves with a withdraw (POST /v1/apps/{id}/withdraw) or a delete. A run that waits for a person answers `waiting` (the calls, their tools and effects) and `approve_url` (where a person approves them in Eddy); a run's files come back as `superstring://blobs/{id}` resource links. # Your pinned agents (TL17) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-me-agents openapi.json GET /v1/me/agents The agents the signed-in person pinned, kept on their account (`prefs.agents`). The MCP `tools/list` carries `agents.find` and these as tools instead of one tool per agent; every agent stays callable by name. Anyone but a signed-in person reads `signed_in: false` and no pins. # Your pinned, installed and recent apps (AS11) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-me-apps openapi.json GET /v1/me/apps The signed-in person's pins, installs and recents, kept on their account beside the theme (`prefs.apps`). Anyone else reads `signed_in: false`. # Which models your calls use: managed or your own key (CR5) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-me-llm-provider openapi.json GET /v1/me/llm-provider When a stored key cannot be read, `effective` is `unavailable`, `key_error` says why and that scope is marked `unreadable`: the person's calls are refused, never sent on the managed gateway. Managed (the deployment's gateway, tokens billed in credits) or the caller's own key — theirs, else their org's. An Anthropic key is called directly, outside the gateway; an OpenAI, Azure OpenAI or AWS Bedrock key was provisioned on the TrueFoundry gateway as accounts of its own and is used through it. Either way those tokens cost 0 credits, the engine's compute in the same run is billed. A stored key is never returned, in part or whole: a fingerprint tells two keys apart. # Onshape: what is set up for you (IG28) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-onshape-status openapi.json GET /v1/onshape.status Whether Onshape is on, the deployment's API and OAuth origins (settings, never a person's), whether an OAuth app is registered (`connect_url` is then `/auth/onshape/start`, a browser navigation), and which credential answers for the caller: their OAuth grant (`source: oauth`), their own API keys (`user`) or their org's (`org`). Each record shows its fingerprint, account label, who set it and when, and whether it answers in the current org: never a token or key. `live` is false: a check would spend one of the account's yearly API calls. # The active price book (CR0) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-prices openapi.json GET /v1/prices Public. The ss.prices/1 book every metered unit is priced under: compute per vCPU-hour by machine class, model tokens per million by model and kind (input, output, cache read, cache write; through the managed gateway only — a bring-your-own key's tokens are never priced), images, storage (metered, not billed at launch), the markup over our cost, the free lanes (cache hits, edits / restores / variants, the engine's checks, a turn that errors before any change). 1 credit = US$0.01; amounts are integer millicredits. `digest` is the book's content address (a usage event names the book it was priced under); `unpriced` lists the kinds that cannot be priced yet. The book is the development book at cost unless the deployment sets SS_PRICE_BOOK. # Work outstanding for a compute pool (autoscaler signal) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-queue-depth openapi.json GET /v1/queue/depth Counts matching the pool filter: `queued` (unclaimed jobs), `in_flight` (claimed jobs with a live lease) and `total` (their sum). KEDA polls this per worker pool and scales on `total`, so replicas stay up while a solve is in flight. Omitted parameters wildcard. # The solver catalog: every solver the engine carries, joined with the live registry Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-solvers openapi.json GET /v1/solvers One card per solver -- the native kernels in the registry, the built-in network solvers, the pinned oracles and the import worker -- with its family, routes, referees, env gate, its page in the API reference (`api_docs_url`, a deep link into the engine-served Scalar reference at /docs) and the internal track ledger section (`docs_url`, served at /docs/tracks/{slug}) and its T-track tracing state (`tracing.pipeline` = solve_domain | network | none, `tracing.events` = the decision-stream event names the solver's own module emits). `registered`, `version` and `build_hash` are read from the live registry at request time; a registered adapter with no card is surfaced, never hidden. The console's Solvers page renders this. # The live delegated tokens acting for the caller (AS2) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-tokens openapi.json GET /v1/tokens Every unexpired delegated token that acts for the signed-in caller (every token for an admin); records only, never the tokens. # Describe one tool: its input schema and runnable examples (AS3) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-tools-describe openapi.json GET /v1/tools.describe The tool's method and path, effect classes, determinism, summary and description, its input schema (path and query parameters plus the JSON body, schema references inlined — the same schema the MCP server derives) and `examples`: inputs that run as written. Start from an example. # The playbooks: task-shaped guides for models (AS3) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-tools-guide openapi.json GET /v1/tools.guide Without `topic`: the guides (topic, title, the tools each names). With `topic`: its markdown. Topics: catalog (search / describe / call, effects, scopes, typed errors), fea-sizing, cad-recipes, evidence (result keys, certificates, verify, citing numbers). # Search the tool catalog (AS3) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-tools-search openapi.json GET /v1/tools.search Every operation a model may call (all but admin operations, event streams and the catalog itself) is a tool. Ranks tools by how well their words match `q` — write the engineering question in plain words ("natural frequencies of a bracket") — lexically (BM25); `family` narrows to a route family, `effect` to one effect class (read, compute, costly, write, external); `limit` 1..=100 (default 10). Each hit names the tool, its summary, family, effect classes and whether it is deterministic. Then `tools.describe` for its input schema and examples, and `tools.call` to run it. # The Workshop's builder agent (AS13) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-workshop-builder openapi.json GET /v1/workshop/builder The house agent that builds apps in the Workshop: its `ss.agent/1` definition (instructions, model, approvals, budget), its modes (`build`, `plan`, `chat`: the tools, scopes, effort and budget of each) and its own tools (the app's files, `fn_run`, `app_test`, `checkpoint`, `tools_guide`, and the preview's client tools `preview_inspect` / `preview_act`, which the Workshop answers). # The Workshop builder the caller's org runs: its stored ss.agent/1 copy (AS13 slice 2) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-workshop-builder-copy openapi.json GET /v1/workshop/builder/copy The builder is a stored `ss.agent/1` on the AS21 house pattern: the org's copy of the house definition (`house.builder.`, an agent record owned by `house:builder`, seeded at the org's first read or turn). A turn runs the copy — its instructions, model, effort and build budget — checked like any agent; a copy with problems falls back to the house definition and the turn says so. Edit it with AS17's `POST /v1/agents {id, doc, expected_version}` (the copy's editors: the org's admins). # A copy's template update, offered (AS16) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-workshop-copies-id-update openapi.json GET /v1/workshop/copies/{id}/update For an app or agent started from a template: whether the template moved on since the copy's version, what changed (the changelog, the nodes the template changed, the nodes the person changed) and whether taking it merges cleanly or which nodes conflict. Nothing is applied. # The Workshop's templates (AS16, TL1) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-workshop-templates openapi.json GET /v1/workshop/templates The house templates in the New gallery's order, then the caller's org's own, and the engineering domains they are filed under (`domains`). TL1: every template is an agent (`ss.agent/1`, with a recorded run); `screen` says it also has a screen (an `ss.app/1` that is the agent's UI) and `runs_on_its_own` that it has a trigger other than chat; `kind` stays for one release (`app` with a screen, else `agent`). The ten static calculators of AS16 are retired from the gallery (`listed: false`): they still load for their copies' updates and the house functions, and `?retired=true` lists them, as the builder reads them for worked examples. # One template, whole (AS16) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/get-v1-workshop-templates-id openapi.json GET /v1/workshop/templates/{id} One template whole: `doc` is its primary document (the screen, `ss.app/1`, with every file: the page, its Lab functions, `AGENTS.md`; else the agent), `agent` its `ss.agent/1` definition (null for a retired screen-only calculator), `screen` its screen (null when it has none), and `run` the agent's recorded run (`input`, the Messages API `turns`, `fill`: the answer's numbers by the call and field they come from, `expect`: what the answer relies on in the calls' results). Retired templates load too. The builder reads these through its `templates` tool. # An agent's inbound webhook (AS18) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-hooks-agents-agent-hook openapi.json POST /hooks/agents/{agent}/{hook} Called by another system, not by people. The body is signed as the engine signs its own outbound webhooks (SD5): `x-eddy-signature: blake3=`, BLAKE3 keyed with derive_key("eddy webhook v1", secret) over the raw body, checked before anything is read: unsigned 401 HOOK_UNSIGNED, mis-signed 401 HOOK_SIGNATURE_INVALID. An unknown agent or hook, or one not armed, is 404 HOOK_NOT_FOUND. `x-eddy-delivery` (else the body's hash) makes a redelivery answer `duplicate` without a second run. A delivery while the hook's previous run is going is 429 HOOK_BUSY (Retry-After); one whose run cannot start (credits, a gone person) 409 HOOK_REFUSED. Otherwise 202 with the run it started: the armed definition acting for the person who armed it, the body (JSON, or text) in its input as data. At most 256 KiB (413 HOOK_TOO_LARGE). TL3b: a JSON body's `attachments: [{blob, name}]` go into the run as a definition run's attachments do, read as the person who armed the hook; a file that person may not read refuses the delivery (409 HOOK_REFUSED). TL5: a mail.received trigger's hook takes a mail: `{from, subject, received, body_text?, attachments?: [{blob, name}], to?, cc?, message_id?}` (400 MAIL_SHAPE otherwise; body_text is kept to 12,000 characters). A sender the trigger's `from` does not take is answered 200 `{accepted: true, run: null, skipped}` and starts nothing; otherwise the run gets the mail as data and, as attachments, its first five files that are within an inline run's limits (the rest stay in the mail as blob refs). # The payment provider's signed webhook (CR4) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-hooks-payments-provider openapi.json POST /hooks/payments/{provider} Called by the provider (Stripe), not by people. The `Stripe-Signature` header (`t=,v1=." under the endpoint secret>`) is verified over the raw body, the timestamp within 300 s, before anything is read; an unsigned, mis-signed or stale event is refused 400 `PAYMENT_WEBHOOK_INVALID`. A paid checkout (`checkout.session.completed` / `async_payment_succeeded`) or a paid auto top-up invoice (`invoice.paid`) the engine itself opened grants its credits into the ledger once, keyed by the payment: a replayed event, or a second event about the same payment, grants nothing more. The subtotal before tax must equal the credits' price in cents, or nothing is granted. `payment_intent.succeeded` with a card saved off-session records the method for auto top-up; `invoice.payment_failed` turns auto top-up off. A grant the ledger or the store cannot take now is answered 503 `PAYMENT_GRANT_RETRY`, so the provider delivers the event again (the grant is idempotent by the payment); one that can never land (the amount, the account) is answered 200 with the reason. Other events are acknowledged. 404 `PAYMENTS_UNCONFIGURED` for a provider this deployment does not have. # Create or update an agent definition (AS17) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-agents openapi.json POST /v1/agents Saves an agent's draft: a project with app tag `agent` whose document is `ss.agent/1` (no `id` creates one; the id `runs` is reserved). The draft must keep its shape (422 AGENT_INVALID); meaning problems are answered beside it and refused only when a run starts. `expected_version` refuses a stale save (409), as for projects. An `ss.agent/1` document: {schema, name, description?, instructions, model {id: default | claude-sonnet-5-5 | claude-opus-5-5 | claude-haiku-5-5 | claude-sonnet-5 | claude-opus-5 (a gateway prefix allowed), effort: low | medium | high | xhigh | max, max_tokens?}, tools [selectors: `fn..`, `:`, a glob such as `fea.*` or `solve_*`, or one operation by its tool name or operation name], knowledge [`project:`], approvals {read, compute, costly, write, external: allow | ask | deny}, budget {credits, tokens, wall_s, turns, cpu_s (reserved)}, notes?, and the reserved sections triggers (AS18), outputs (AS18), policy (AS19), evals (AS20), stored but not acted on}. # Deny a waiting call for someone away (AS19) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-agents-approvals-deny openapi.json POST /v1/agents.approvals.deny AS19 slice 2: an org admin denies a call that waits for someone in the org (from `GET /v1/agents.approvals?scope=org`). The model hears it as any denial (an `is_error` tool result `DENIED by ()`) and the run goes on; the call never runs; the run's person is told who denied it and why (`agent_approval_denied`); the org's log has it. Approving stays the person's own: nothing runs in someone's name that they did not agree to. 404 RUN_NOT_FOUND for a run outside the caller's org, 409 RUN_NOT_WAITING / CALL_NOT_WAITING when there is nothing to decide. # Set the org's ceilings and policy defaults (AS19) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-agents-control openapi.json POST /v1/agents.control An org admin sets the org's ceilings on its agents (credits per run and per UTC day, above every agent's own budget: a run's budget and its credit hold are the lowest of the agent's budget, the ceiling per run and what is left of the day; a start the day cannot cover is refused 402 `CAP_REACHED`) and its policy defaults per effect (allow / ask / deny for agents that leave an effect out; `lock` makes them a floor no agent goes under). `null` clears a ceiling or a default. Each change is on the org's log. AS19.b: the apps' ceilings for the day sit beside them (`app_day_credits` for every app, `app:` for one app's own): a billable call of an app whose day is spent is refused 402 `CAP_REACHED` (`cap: app_day:`) until 00:00 UTC, under billing record and enforce; `GET /v1/agents.control` answers each app's day as `apps_today`. # Find the agent or template for a job (TL17) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-agents-find openapi.json POST /v1/agents.find A job in plain words in; ranked candidates out from the caller's saved agents and the listed templates, each with the MCP tool that runs it (`agent..run`, `template..run`), what it does and does not do, its domain, its badges (has a screen, runs on its own), its expected cost (its budget and its recorded run's credits), which of its calls would wait for a person's approval when the caller runs it, and its eval scores. The ranking is a text match with no model call: each word of the job (stemmed; common words left out) scores the weight of the strongest field that holds it (name 3, tags 2.5, domain 2, description 1.5, example jobs 0.8, instructions 0.4) times its rarity among the candidates; a word only in what a candidate does not do counts against it; the sum is over the most a candidate could score, so a score is at most 1; ties go by tool name. Candidates that match no word are left out. Nothing runs: the caller chooses (D11). The remote and stdio MCP serve it as the tool `agents.find`. # Record a run as an eval case (AS20) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-agents-id-evals-record openapi.json POST /v1/agents/{id}/evals.record A finished run of this agent that the caller may see becomes an eval case, appended to the draft as a new version: its input, the model's turns (replayed later, so no model is called), and what it did as the expectation — the tools it called (and nothing else), the numbers its tools answered under /metrics (relative tolerance 1e-9), its grounded fraction, its turns, a spend ceiling, whether it asked for approval, how it ended. A person who may edit the agent; 409 RUN_NOT_DONE / NOTHING_TO_RECORD / CASE_EXISTS, 400 NOT_THIS_AGENT / TOO_MANY_CASES. # Replay an agent against its eval cases (AS20) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-agents-id-evals-run openapi.json POST /v1/agents/{id}/evals.run Each case (all, or those named) is a run of the saved definition as the caller — its token, its policy, the org's controls, its credit hold, like POST /v1/agents/{id}/runs — whose model is the case's recording through ScriptedLlm: no model is called and none is billed, while its tools run on the engine for real, so an engine change fails a check (a value that moved, a grounded number that no longer holds, a replay that diverged). A call that waits for a person is approved when the case says approve, else the run is stopped there. Each case is scored (end state, tools called and not called, values within tolerance, the answer, grounding, credits, turns, approvals); the suite's score is the cases that pass; it is kept (GET …/evals.results). Live evals are AS20.b (the owner's spend decision): a case with no recording fails, saying so. # A new secret for an agent's webhook (AS18) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-agents-id-hooks-hook-rotate openapi.json POST /v1/agents/{id}/hooks/{hook}/rotate A signed-in person who may edit the agent: the hook's new secret, answered once; the old one stops working at once. 404 HOOK_NOT_FOUND for a hook that was never armed. # Pause an agent (AS19) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-agents-id-pause openapi.json POST /v1/agents/{id}/pause The agent's owner or an org admin pauses it: it starts no new run (409 `AGENT_PAUSED`) until resumed; runs in flight finish. Slice 2: with `stop_running` the pause is the agent's kill switch — its runs in flight stop at their next step (a model turn or a tool call) and a run waiting for a person is cancelled at once, its person told; the answer says how many are `stopping` and `cancelled`, and the log calls it `halt`. # Publish an agent with its screen, as one (TL4) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-agents-id-publish openapi.json POST /v1/agents/{id}/publish An agent is not published alone: what its screen's viewers run is the agent's saved record (TL2's seat pins its spec hash at each token). A person who may edit both (an API key, an app or an agent run: 403 HUMAN_GATE_NEEDS_HUMAN) publishes the agent with its screen: the screen is the one app the caller may edit whose draft declares this agent (`screen` names it when there are several: 409 AGENT_SCREENS_AMBIGUOUS; none: 409 AGENT_HAS_NO_SCREEN; an app whose draft declares another agent or none: 409 SCREEN_NOT_PAIRED). The agent's draft (its live chain's head while current) must have no problems (422 AGENT_INVALID). The agent first: a draft that differs from the record is saved as the agent's next version. Then the screen, exactly as POST /v1/apps/{id}/publish publishes it (the gate, `override`, `expected_version` the screen's; its errors are its own). If the screen does not publish, the agent is put back: its record holds the earlier document again as a new version (so viewers keep what they consented to) and its live chain keeps the author's edits; the error says `agent.restored: true`. The reply is the screen's publish reply with `agent` (`id`, `version`, `changed`, `hash`, `hash_before`, `asks_again`: the consent hash moved, so each viewer's next token asks again) and `pair` (`agent`, `screen`). `dry_run: true` answers the screen's dry run and what the agent would become, writing nothing. # Run an agent definition (AS17) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-agents-id-runs openapi.json POST /v1/agents/{id}/runs Starts a run of the definition on the agent runtime (AS4), acting for the CALLER through a delegated token (agent:@) whose scopes are exactly what the selectors resolved to within the caller's own scopes: a tool the caller may not call is withheld before the model sees it. The knowledge refs are read as the run (a project it may not read is left out, with a note on the record) and ride the system prompt as data. The model is the definition's (default claude-sonnet-5-5) at its effort; the budget and approvals are the definition's, except that a run started by anyone but the definition's owner asks before every write, costly or external call the owner's document allows (the run acts with the runner's authority; approvals_tightened names them, and the run's record says why). Send expected_version (the version you read) and a definition that moved since is refused 409 AGENT_VERSION_MISMATCH, never run. A definition with problems is refused 422 AGENT_INVALID; an agent run's token cannot start runs, nor can a scoped key with no owner. TL2: an app's token (its screen, `app:@` from POST /v1/apps/{id}/token) starts runs of the one agent its revision declares, as the app's author saved it, for the person viewing the app: within the token's scopes (the narrower of the app's and the person's), held to the person's approvals, billed to the person's org, the run recording `started_by`. Another agent is 403 APP_AGENT_ONLY, a revision with no agent 403 APP_HAS_NO_AGENT, an agent its author does not own 403 APP_AGENT_UNAVAILABLE, a token not minted by the app host 403 APP_AGENT_NOT_PINNED, and an agent changed since the token was minted 409 APP_AGENT_CHANGED. CR3: the run opens its one credit hold (its budget's credits or the default). Read the run at /v1/agents/runs/{id}, its inspector view at /v1/agents/runs/{id}/transcript. TL3b: `attachments: [{blob, name}]` go with the input: a PDF as a document block and an image as an image block (by blob; the bytes reach the model inline), any other file as a text block naming the blob, its kind and size, so the agent passes the blob to the right import tool; read as the caller, within an inline run's limits (5 files, an image 3.75 MB, a PDF 16 MB, 20 MB to the model), checked before anything is minted or held. The selector `run.deliver` gives the run its own tool `run_deliver` (`{blob, name, note?}`): it hands a blob the run's person may read over as one of the run's `deliverables` (at most 20; a blob they may not read is refused as an absent one). # Arm or disarm an agent's triggers (AS18) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-agents-id-triggers openapi.json POST /v1/agents/{id}/triggers `arm`: a signed-in person who may edit the agent (not a key, not a delegate: 403 TRIGGERS_NEED_A_PERSON) pins the definition as it is now and starts its triggers. Every triggered run is that version, acting for THAT person through a delegated token scoped to what its tools resolve to within their scopes, with its credits held from their account (CR3); an edit applies when someone arms again. Schedules tick on the engine that holds the store's lock; bus events (project.commit, impact.suspect, requirement.changed, job.done, and TL5's plm.released and file.added) fire on what the arming person may see and never on what an agent run did (unless the trigger says from_agents; a file or a release an agent's own run made never fires that agent); a released item must be one the arming person may read, and an added file's files go into the run as attachments when that person may read them (others are withheld, counted). A webhook, and a mail.received trigger (TL5), answer at /hooks/agents/{id}/{hook}, and a new hook's secret is answered once in `secrets`. A definition with problems is 422 AGENT_INVALID; one with no trigger but chat 422 NO_TRIGGERS; outputs that comment on a project the person may not see 422 OUTPUT_TARGET. `disarm`: the triggers stop (the hooks keep their secrets). # Start an agent run (AS4) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-agents-runs openapi.json POST /v1/agents/runs Runs an inline agent spec on the engine: `agent` = {name, instructions, model (a gateway model id), effort?, tools (catalog tool names, or tools_search / tools_describe / tools_call for the whole catalog), approvals (per effect: allow / ask / deny; default read / compute / costly allow, write ask, external deny), budget (tokens, millicredits, turns, wall_ms), max_tokens}; `input` is the first message. The run acts through its own delegated token (agent:@): every call it makes is scoped (`scopes`, default read / compute / costly, plus write and external when its approvals may let them through), audited, and never a human. Answers at once with the run (queued); read it, or stream its steps from /events. Calls that need a person pause it (awaiting_approval); a delegated principal cannot start runs. CR3: under record or enforce, starting a run opens its ONE credit hold — its budget's millicredits or the engine's default (SS_RUN_HOLD_CREDITS), never more than the account has under enforce — answered as `hold_millicredits`; the run's own spend is asked at every step boundary and the run ends `out_of_credits` when the hold is spent; the hold settles once when the run ends. Under enforce an account with nothing left is refused 402 CREDITS_EXHAUSTED. An inline spec names no app function (fn__): those are tools of an agent definition (fn..), resolved as its person; naming one is refused 400 INVALID_AGENT. # Decide the calls an agent run waits for (AS4) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-agents-runs-id-approve openapi.json POST /v1/agents/runs/{id}/approve The run's person approves or denies each waiting call (`decisions`: [{id, approved, note?}]); a denied call answers DENIED to the model and never runs; the run continues. An agent run's token cannot decide. TL2: an app's token decides for its person, on a run its app started (the screen asks in its chat); a run it did not start is not found. # Cancel an agent run (AS4) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-agents-runs-id-cancel openapi.json POST /v1/agents/runs/{id}/cancel Stops the run at its next step and revokes its delegated token. TL2: an app's token stops only the runs its app started. # Answer an agent run's client tools (AS4) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-agents-runs-id-client-result openapi.json POST /v1/agents/runs/{id}/client-result The browser answers the client tools a run waits for (`results`: [{id, content, is_error?, blocks?}]); the run continues. AS13: `blocks` are images of the preview by blob (`{type: image, source: {type: eddy_blob, blob, media_type}}`, at most four, each within the model's image limit); the model gets them inline after the text. The run's person answers, or (TL2) an app's token on a run its app started. # Send a follow-up to a working agent run (AS13) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-agents-runs-id-messages openapi.json POST /v1/agents/runs/{id}/messages The person's follow-up (`text`, 1..=4000 characters) joins the run's next step, after that step's tool results; a run whose model has just finished its turn gets one more turn to read it. 202 with how many wait; 409 `RUN_ENDED` when the run has ended (send it as the next turn); 429 `FOLLOW_UPS_FULL` past ten waiting. TL2: an app's token follows up only on a run its app started. TL3b: `attachments: [{blob, name}]` ride after the text, as on a definition run (a PDF or an image as a content block, anything else named by its blob). # Resume an interrupted agent run (AS4) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-agents-runs-id-resume openapi.json POST /v1/agents/runs/{id}/resume Continues a run the engine's stop interrupted; a call that was in flight answers INTERRUPTED (its effect unknown) instead of running again. TL2: an app's token resumes only a run its app started, within its own scopes. # Stop the org's agents: the kill switch (AS19) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-agents-stop openapi.json POST /v1/agents.stop An org admin stops every agent of the org: no run starts (409 `AGENTS_STOPPED`), every run in flight stops at its next step (a model turn or a tool call) and reads `cancelled` with the stop's reason, and a run that waits for a person or the browser is cancelled at once (its credit hold settled, its token revoked). Each run's person is told. `stopping` counts the runs that stop at their next step, `cancelled` the ones cancelled now. # Validate an agent definition (AS17) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-agents-validate openapi.json POST /v1/agents.validate The shape and the meaning of an `ss.agent/1` document, every problem by its JSON pointer, and its tool selectors resolved against the catalog within the CALLER's scopes: the tools a run would carry (`direct` in the model's tool list, the rest reached through the catalog trio when there are many), the tools WITHHELD and the grants the caller lacks for each, and the scopes a run's token would hold — never wider than the caller's. `reserved` names the sections stored but not yet acted on. Stores nothing. # Create or update an app (AS6) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-apps openapi.json POST /v1/apps Saves an app's draft: a project with app tag `app` whose document is `ss.app/1` (no `id` creates one). The draft must keep its shape (422 APP_INVALID); meaning problems are answered beside it and refused only when a revision is made. `expected_version` refuses a stale save (409), as for projects. AS15: a new app's id is 1-64 characters of [A-Za-z0-9._-], starting with a letter or digit, with no `..` (400 INVALID_APP_ID). # Evaluate an app's checks (AS14) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-apps-id-checks openapi.json POST /v1/apps/{id}/checks Evaluates the manifest's acceptance `checks` (unit-checked expressions such as `sigma_max <= 180 MPa`) over a run of the function each reads, with `inputs` (the defaults fill the rest): its inputs and declared outputs, in SI. Each check is pass / fail, or refused with why — a unit mismatch is never converted. With `evidence`, each decided check that names a `requirement` is posted as a content-addressed evidence record (kind app_check: the requirement, the verdict, the values, the run key and its result keys); read them at /v1/apps/{id}/evidence. AS15: the draft (no `rev`) is for editors (403 PROJECT_FORBIDDEN); an app's token acts only for its own app and revision (403 SCOPE_DENIED). # Copy a published app into a private app of your own (AS15) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-apps-id-clone openapi.json POST /v1/apps/{id}/clone Copies a published version (`version`, default the latest) or a revision (`rev`) into a new private app owned by the caller in their own org, named `name` or " (copy)". Nothing is written on the source. Anyone who may view the app; an app or an agent run may not. # Grant an app scopes (AS15 b4) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-apps-id-consent openapi.json POST /v1/apps/{id}/consent The signed-in person grants the app these scopes (added to what they granted before), or everything a revision asks for (`rev`). Kept on the person's account record (`prefs.consent`); a person only, never a key or an app / agent run; never `admin` or a `*` effect. TL2: with `rev`, the revision's agent's spec hash is recorded too. # Run an app function (AS10) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-apps-id-fn-name openapi.json POST /v1/apps/{id}/fn/{name} Runs one of an app's Lab functions (the manifest's `functions`) on a revision (`rev`) or the current draft, with typed inputs: the manifest's defaults, then the request's (`inputs`, by name); a value of another kind of quantity is refused, never converted; quantities are bound in SI. Inside, `ss.call(op, body)` reaches the engine as the caller — its scopes, audit and meter apply — and refuses an operation that is not deterministic or reaches outside the engine; `ss.field(json, path)` reads a reply. A run is keyed by BLAKE3(script ‖ canonical inputs ‖ engine build) and the same key is answered from the cache (`cached`). The reply carries the outputs (the script's variables), every result key the script touched, and the transcript; a script error is 422 FN_ERROR with its line. AS15: the draft (no `rev`) is for editors (403 PROJECT_FORBIDDEN); an app's token acts only for its own app and revision (403 SCOPE_DENIED). # The publish lint (AS14) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-apps-id-lint openapi.json POST /v1/apps/{id}/lint A static reading of a revision's or the draft's files: an absolute URL to another origin (a script, style, image, fetch or navigation; the fonts the sandbox allows excepted, and a link the person follows) — an error, it would not load or send; storage or cookies (an app runs at an opaque origin, where they throw) and a token written to storage or into a URL — errors; reaching into the host page (parent / top) — an error; engine calls it can see (ss.call, eddy.call, eddy.stream, eddy.api., eddy.fn, eddy.data) outside the declared scopes — errors; declared scopes no call uses — warnings. `ok` is no errors. Stores nothing. AS15: the draft (no `rev`) is for editors (403 PROJECT_FORBIDDEN); an app's token acts only for its own app and revision (403 SCOPE_DENIED). # Publish an app's draft as its next version (AS15) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-apps-id-publish openapi.json POST /v1/apps/{id}/publish A person who may edit the app (an API key, an app or an agent run: 403 HUMAN_GATE_NEEDS_HUMAN) publishes the draft: it is read once from its ParamDB chain, frozen as a revision, and gated — every test case green and the publish lint clean, else 422 PUBLISH_BLOCKED (with `tests` and `lint`) unless `override.reason` is given, which is recorded on the version. Zero tests is green (recorded as 0). The version is a commit on the line `app/` (its message `publish v: `) and a create-once pin `tag/app//v` at the project commit that was tested. The same revision as the latest version answers `unchanged: true` and writes nothing. `/a/{org}/{id}` then serves the latest version and `/a/{org}/{id}@v` pins one; viewers are asked to consent again only for the scopes a version `adds`. Needs a ParamDB store (503 PDB_UNMOUNTED). # Freeze an app's draft as a revision (AS6) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-apps-id-revisions openapi.json POST /v1/apps/{id}/revisions A revision is the draft frozen by content (`ss.app.rev/1`: the app's id beside its document) and named by the hash of those bytes: the same document is the same revision, and a revision never changes. A draft with any problem is refused 422 APP_INVALID. Answers the revision, its file URL (`/apps/{id}/{rev}/{entry}`, served in an opaque-origin sandbox) and its host page (`/a/{org}/{id}?rev=`). Freezing the draft is an editor's preview (403 PROJECT_FORBIDDEN for a viewer, who runs published versions, AS15). The reply's `version` is the draft's save counter, not a published v. # Roll an app back by publishing forward (AS15 b2) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-apps-id-rollback openapi.json POST /v1/apps/{id}/rollback Publishes an earlier version's revision again as the NEXT version: history only grows, every numbered version keeps meaning what it meant, and `latest` serves the earlier app again. The new version carries the earlier one's gate (its tests and lint ran on that very revision), pins the same project commit under its own tag, records `adds` against the version it replaces, and says what it rolled back to in its changelog (default `roll back to vN`). Offers a withdrawn app again. A person who may edit the app; 404 VERSION_NOT_FOUND; 409 ALREADY_LATEST when the latest version already is that revision; 409 APP_UNPUBLISHED. # Name an app in its org (AS15 b12) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-apps-id-slug openapi.json POST /v1/apps/{id}/slug An editor gives the app a human slug in its org's table (`/a//`): 2-48 lowercase letters, digits and single '-', not 16 hex. One slug per app (a new one releases the old); one app per slug in an org (409 SLUG_TAKEN). Needs a ParamDB store. # Run an app's tests (AS14) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-apps-id-tests openapi.json POST /v1/apps/{id}/tests Runs the manifest's `tests` on a revision (`rev`) or the draft: each case is a function run with its inputs; each expectation (`value` or `[op, value]`, op one of < <= > >= == != ≈) is compared in its own units against the function's declared output quantity — another kind is refused, never converted; ≈ is within 1 %. Reports per case: pass, each expectation with the actual value written in the expectation's unit, the run key and its result keys, or the error that stopped the run. AS15: the draft (no `rev`) is for editors (403 PROJECT_FORBIDDEN); an app's token acts only for its own app and revision (403 SCOPE_DENIED). # Mint an app revision's token (AS6) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-apps-id-token openapi.json POST /v1/apps/{id}/token The person running a revision mints its delegated token: `app:@`, the revision's own scopes, acting for them and on their audit trail (AS2), for at most 15 minutes; the host page hands it to the app by postMessage and refreshes it. Only a signed-in person who may see the app; a revision of another app is not found; an app that names no scopes gets no token. On an engine without sign-in the answer is `open` and no token. TL2: a revision that declares an agent pins it on the token (its id and spec hash: the screen runs that agent as it is now, and no other) and answers its id as `agent` and `app.agent` (the host page hands `app` to the screen, which reads `eddy.app.agent`; absent when the revision declares none), with `agent_view` as the consent screen lists it (`available: false` when it is not an agent the app's author owns in the app's org: then nothing is pinned); consent covers the agent's spec hash beside the scopes. # Withdraw a published app (AS15 b3) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-apps-id-withdraw openapi.json POST /v1/apps/{id}/withdraw Stops offering a published app: its line gets a `withdrawn` entry (who, when, why, at which version), so it has no latest version for the registry, the host page (`/versions` shows the withdrawal; `/versions/latest` answers 410 APP_WITHDRAWN), org templates and MCP (its functions leave `GET /v1/mcp.tools`). Every version and its pin stay: a numbered version still answers. A person who may edit the app; 409 APP_UNPUBLISHED when nothing is published. DELETE offers it again, as does the next publish. # Import an app's zip as your own draft (AS15 b1) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-apps-import openapi.json POST /v1/apps.import Takes the zip GET /v1/apps/{id}/download writes (`/app.json`, `/files/`, `/export.json`) and makes it the caller's own private app draft, through POST /v1/apps' own save (answers as it does, plus `from`: the export's app, version and revision, and `open`). The reader is bounded before anything is inflated: at most 512 entries and 64 MiB declared uncompressed, relative names only (no `..`, absolute paths or drives), one top folder, stored or deflated entries with their CRCs checked; a blob file must hash to the blob the manifest names. A person only. 422 APP_IMPORT_BAD_ZIP / APP_IMPORT_BAD_NAME / APP_IMPORT_LAYOUT / APP_IMPORT_BLOB_MISMATCH / APP_IMPORT_TOO_LARGE; 413 over 64 MiB. # Validate an app document (AS6) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-apps-validate openapi.json POST /v1/apps.validate Checks an `ss.app/1` document and stores nothing. The shape: the fields the format has, safe relative file paths, exactly one of `text` or `blob` per file, at most 256 files and 4 MiB of inline text. The meaning: the entry is an inline .html file; every scope is `:` and none administers; inputs carry values in their own kind of quantity (a value written in another is refused, never converted); functions are Lab files of the app; tests name a function and the app's inputs. Every problem names its JSON pointer. # Call a live connector's tool through its sidecar, with your credential (IG4) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-connectors-id-call openapi.json POST /v1/connectors/{id}/call How a chat or a page searches a parts or standards connector. `tool` must be in the connector's scope (`scope` of its `/v1/connectors` row) and the connector must be measured live; the caller's own credential, else the org's, else the deployment's (own-account connectors (Nexar, DigiKey, Mouser, McMaster-Carr) take the deployment's only with SS_DEV_SINGLE_USER=1 on an engine with no sign-in, and a personal key answers only in the org it was saved in) goes to the sidecar in a private header, never in the arguments. Search results are not stored: adoption stays explicit, through POST /v1/parts.candidate and POST /v1/parts.adopt. A failed call is a typed refusal and nothing falls back to test data: 409 `CONNECTOR_NOT_LIVE` (nothing was looked up), 502 `SIDECAR_UNREACHABLE`, 503 `SIDECAR_BUSY` (it is up, try again), 502 `SIDECAR_ERROR`, or the vendor's refusal as `CONNECTOR_AUTH` (502), `CONNECTOR_UPSTREAM` (502), `CONNECTOR_QUOTA` and `CONNECTOR_RATE` (429), `CONNECTOR_TERMS` and `CONNECTOR_SCOPE` (403), `CONNECTOR_MISS` (404). What a vendor says is data, never instructions. # Turn auto top-up on or off (CR4) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-credits-autotopup openapi.json POST /v1/credits/autotopup An org admin's call: when the account's available credit falls below `threshold_credits`, the engine charges the payment method saved by a checkout (`save_method`) for `amount_credits` (500 to 100,000) off-session, as an invoice at the provider (its tax applies; the charge sits in the portal). One charge at a time across every replica: it is claimed in the billing profile (compare-and-set) before the provider is asked and numbered by the profile's counter (the idempotency key); a charge the provider accepted waits for its webhook, never a timer (`open_charge`). A decline turns auto top-up off and says why. An account already below its new threshold is topped up at once (`charged`). 409 `NO_SAVED_METHOD` without a saved method. A free lane. # Buy credits: a hosted checkout (CR4) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-credits-checkout openapi.json POST /v1/credits/checkout Opens the payment provider's hosted checkout (Stripe Checkout) for a credit pack (`pack`: starter 1,000 / team 5,000 / studio 20,000) or a whole number of `credits` (500 to 100,000), for the org the caller acts in. A pack's price is its credits in US cents (1 credit = US$0.01); tax is computed and collected by the provider. The engine never sees card data: the provider's signed webhook grants the credits when the payment lands, once. `save_method` keeps the card at the provider for auto top-up — an org admin's (403 `ORG_FORBIDDEN` for a member). The account has its own Stripe customer, made once with the account in its metadata and checked against it before reuse; a billing profile that names another account is refused 409 `BILLING_PROFILE_MISMATCH`. The buyer comes back to `return_path` on this engine (default the console's credits page). A free lane: never metered, never refused for want of credits. Refused 403 for an app or an agent run, 401 anonymous, 503 `PAYMENTS_UNCONFIGURED` without a provider. Test mode only in this slice. # Estimate credits (CR3, CR6) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-credits-estimate openapi.json POST /v1/credits.estimate `kind: agent_run`: what a run would hold — its `budget_millicredits` or the engine's default, never more than the account has under enforce — and whether it would start. `kind: compute`: what `vcpu_seconds` cost on this engine's machine class, in microcredits (credits × 10^6). Compute is measured, not predicted: a call is charged for the CPU it used. Every answer carries the account, the billing mode (off / record / enforce) and what is available. CR6: with `agent` an `agent_run` answer carries `history` — what that agent's runs cost on this account before (`typical_millicredits`, the median of the most recent runs; `high_millicredits`; `runs_seen`). `kind: app` answers what an app's calls cost here before (`typical_microcredits` over its uncached calls, `by_op`, `cached_share`, `credits_per_vcpu_hour`) and whether a call would be refused. CR6.b: `kind: fn` with `app` and `function` answers what a run of one of an app's functions has cost on this account (the median of its paid runs). # Set the org's monthly caps (CR3.b) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-credits-monthly-caps openapi.json POST /v1/credits/monthly-caps An org admin sets caps in credits a month; a field present sets it (null clears), a map's named entries are replaced (null removes one). A billable call whose caller reached a cap is refused 402 CAP_REACHED (the lowest cap wins); the first refusal in a month notifies them and the admins (CR6.b). # The payment provider's customer portal (CR4) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-credits-portal openapi.json POST /v1/credits/portal A customer-portal session at the provider (Stripe's) for the caller's account: receipts, invoices and the saved payment method live there. An org admin's (403 `ORG_FORBIDDEN`): the portal changes the card auto top-up charges. 409 `NO_CUSTOMER` before the account's first purchase; 409 `BILLING_PROFILE_MISMATCH` when the stored profile or the provider customer's metadata names another account. A free lane. # Import a console flow as an app function (AS21) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-flows-import openapi.json POST /v1/flows.import Turns one of the console's agent flows (a DAG of structural and thermal solves, verifications and reports) into the caller's own studio app: its Lab function `run` is the flow as a short script, the nodes in topological order, each the engine call the browser made, each node's result key (and a solve's headline number) an output. Saved through POST /v1/apps' own save (answers as it does, plus `function` and `open`). A cycle, an unknown node type, or a verification with no upstream solve is 400 INVALID_FLOW. # Replay a house assistant against its eval cases (AS21) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-house-assistant-evals-run openapi.json POST /v1/house/{assistant}/evals.run AS20's evals.run on the caller's org's copy of the assistant (seeded from the house definition first): each case is a run of the copy whose model is the case's recording (no model is called, none billed), whose tools run on the engine for real and whose client tools (open_page, edit_source, ...) are answered as the case's `client` says. Answers the suite as POST /v1/agents/{id}/evals.run does, plus `assistant`. # Reset the org's copy of a house assistant (AS21.b) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-house-assistant-reset openapi.json POST /v1/house/{assistant}/reset An org admin puts the house's current definition back on the org's copy of an assistant: its document becomes the house version's (its origin updated), its id, owner and runs kept, its version moving on. A copy already the house's own answers `unchanged`. A member is refused 403 PROJECT_FORBIDDEN. # One turn of a house assistant (AS21) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-house-assistant-runs openapi.json POST /v1/house/{assistant}/runs A run of the caller's org's copy of the assistant on the agent runtime (a definition run, as POST /v1/agents/{id}/runs: its own delegated token holding what the selectors resolved within the caller's scopes, the org's controls, its credit hold, its evals). The copy is seeded from the house definition at the org's first run. `text` is the person's words; Ask Eddy's `context` carries what the console adds (the skills the person invoked, their data-source subscriptions) as data; the Dev IDE's `artifact` (`name`, `kind`, `source`) rides the first turn whole; `continue_from` carries on the caller's last finished turn of the same assistant; `dirty` tells the Dev IDE agent the person edited the source by hand. The run streams on /v1/agents/runs/{id}/events; the console answers its client tools (open_page, open_project, read_source, edit_source, write_source) at /client-result, a write waits at /approve. 403 for a delegate; 404 for an unknown assistant. # Pin or unpin an agent (TL17) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-me-agents openapi.json POST /v1/me/agents `pin` an agent the caller may see (at most 24) or `unpin` one, on the signed-in person's account. A key, a delegate or an anonymous caller is refused 401 SIGN_IN_REQUIRED; an agent the caller may not see 404; a full list 400 TOO_MANY; another op 400 INVALID_PIN_OP. # Pin, install or open an app (AS11) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-me-apps openapi.json POST /v1/me/apps One change to the signed-in person's apps: `pin` / `unpin` an app or a console page (at most 24), `install` / `uninstall` an org's own app (at most 32; the built-ins are always installed), `open` records a visit (the 10 latest, newest first, no duplicates). A key, a delegate or an anonymous caller is refused 401 `SIGN_IN_REQUIRED`; a key that is no app or page 400 `INVALID_APP_KEY`; an unknown op 400 `INVALID_APP_OP`; a full list 400 `TOO_MANY`. # Onshape: list your documents (IG28) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-onshape-documents openapi.json POST /v1/onshape.documents The caller's Onshape documents, 20 at a time, newest change first: id, name, owner, modified_at, default_workspace_id, and `next_offset` while there are more. `filter`: mine (default), created, shared, recent or company. Each answer says how many Onshape calls it spent (`onshape_calls`), since every successful call counts against the account's yearly allowance. Refusals are typed and repeat none of Onshape's words: ONSHAPE_OFF (503, switched off), ONSHAPE_NOT_CONNECTED (409, no grant or keys answer for the caller here), CONNECTOR_AUTH (502: Onshape refused the credential or the scope; a revoked grant is cleared), CONNECTOR_QUOTA (429: the account's yearly API allowance is spent, Onshape's 402), CONNECTOR_RATE (429, with Onshape's Retry-After), CONNECTOR_MISS (404), CONNECTOR_UPSTREAM (502: anything else, an answer over its cap, a redirect off the deployment's origin, or an answer that repeats the credential). # Onshape: the Part Studios of a workspace or version (IG28) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-onshape-elements openapi.json POST /v1/onshape.elements Name exactly one of `workspace_id` or `version_id`. Answers each Part Studio's id, name and microversion_id. Refusals are typed and repeat none of Onshape's words: ONSHAPE_OFF (503, switched off), ONSHAPE_NOT_CONNECTED (409, no grant or keys answer for the caller here), CONNECTOR_AUTH (502: Onshape refused the credential or the scope; a revoked grant is cleared), CONNECTOR_QUOTA (429: the account's yearly API allowance is spent, Onshape's 402), CONNECTOR_RATE (429, with Onshape's Retry-After), CONNECTOR_MISS (404), CONNECTOR_UPSTREAM (502: anything else, an answer over its cap, a redirect off the deployment's origin, or an answer that repeats the credential). # Onshape: import a Part Studio as STEP (IG28) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-onshape-pull openapi.json POST /v1/onshape.pull Exports one Part Studio of a workspace or a version through Onshape's translation API (`formatName: STEP`, kept out of the document), polls it, downloads the file, files its licence record (`customer_only`, retention `unknown`: the account holder's own content, or shared with them) before the bytes land, stores it as a blob and imports it as `/v1/step.import` does. The answer carries `step_blob_id`, the import (or `import.refused` with the importer's reason), and `source`: document, `wv` (w or v) and its id, element and its microversion as listed just before the export, configuration, translation, `retrieved_under`, the time and `fetch_hash`. A translation still running after `wait_s` (default 60, at most 240) answers 202 `state: pending` with the `translation_id`: call again with the same arguments and it to resume. A failed translation is ONSHAPE_TRANSLATION_FAILED (422) with Onshape's reason as data. Refusals are typed and repeat none of Onshape's words: ONSHAPE_OFF (503, switched off), ONSHAPE_NOT_CONNECTED (409, no grant or keys answer for the caller here), CONNECTOR_AUTH (502: Onshape refused the credential or the scope; a revoked grant is cleared), CONNECTOR_QUOTA (429: the account's yearly API allowance is spent, Onshape's 402), CONNECTOR_RATE (429, with Onshape's Retry-After), CONNECTOR_MISS (404), CONNECTOR_UPSTREAM (502: anything else, an answer over its cap, a redirect off the deployment's origin, or an answer that repeats the credential). # Onshape: send an Eddy STEP back as a new version (IG28) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-onshape-push openapi.json POST /v1/onshape.push Leaves every existing workspace untouched: creates a workspace (a branch, named `Eddy: `) from `from_version_id` (default the document's newest version), uploads the STEP blob into it as a blob element that Onshape translates into a Part Studio, waits for the translation, then creates a version of the branch. The person merges the branch in Onshape if they want it. The blob is an exit like any other (IG6): a forbidden record refuses, a stranger's bytes are absent. Answers the branch, the blob element, the new Part Studio ids and the version. Still translating after `wait_s`: 202 `pending` with `translation_id` and `workspace_id`; call again with `document_id`, those two and the same `version_name`, which versions only a branch Eddy made (ONSHAPE_NOT_EDDY_BRANCH otherwise). ONSHAPE_NO_VERSION when there is nothing to branch from. Refusals are typed and repeat none of Onshape's words: ONSHAPE_OFF (503, switched off), ONSHAPE_NOT_CONNECTED (409, no grant or keys answer for the caller here), CONNECTOR_AUTH (502: Onshape refused the credential or the scope; a revoked grant is cleared), CONNECTOR_QUOTA (429: the account's yearly API allowance is spent, Onshape's 402), CONNECTOR_RATE (429, with Onshape's Retry-After), CONNECTOR_MISS (404), CONNECTOR_UPSTREAM (502: anything else, an answer over its cap, a redirect off the deployment's origin, or an answer that repeats the credential). # Onshape: a document's workspaces and versions (IG28) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-onshape-workspaces openapi.json POST /v1/onshape.workspaces Two calls: the document's workspaces (id, name, microversion, read_only, state) and its versions (id, name, microversion, created_at). Refusals are typed and repeat none of Onshape's words: ONSHAPE_OFF (503, switched off), ONSHAPE_NOT_CONNECTED (409, no grant or keys answer for the caller here), CONNECTOR_AUTH (502: Onshape refused the credential or the scope; a revoked grant is cleared), CONNECTOR_QUOTA (429: the account's yearly API allowance is spent, Onshape's 402), CONNECTOR_RATE (429, with Onshape's Retry-After), CONNECTOR_MISS (404), CONNECTOR_UPSTREAM (502: anything else, an answer over its cap, a redirect off the deployment's origin, or an answer that repeats the credential). # Mint a delegated token for an app or an agent run (AS2) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-tokens-mint openapi.json POST /v1/tokens.mint A signed-in person mints a short-lived token for one of their apps (`kind: app`, `rev` = the app revision) or agent runs (`kind: agent`, `rev` = the run). The token acts FOR that person — it sees what they see — inside its `scopes` (`:`, never `admin`), until `ttl_s` (60..=86400, default 3600) runs out or it is revoked. Present it as `Authorization: Bearer ssd_...`. It is never a user: it cannot mint keys or tokens, cannot pass a human gate (403 HUMAN_GATE_NEEDS_HUMAN) and every call it makes is on the audit trail (`GET /v1/audit`). Keys, anonymous callers and delegates may not mint (403). The token is answered exactly once; only its BLAKE3 hash is stored. # Revoke a delegated token (AS2) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-tokens-revoke openapi.json POST /v1/tokens.revoke The person a token acts for, or an admin, revokes it; its next call answers 401. # Call one tool as the caller (AS3) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-tools-call openapi.json POST /v1/tools.call Runs the named tool with `input` (path and query parameters plus the JSON body, as `tools.describe` shows) in-process AS THE CALLER: the caller's own credentials ride the call, so their identity, scopes (a scoped caller is refused SCOPE_DENIED for a tool its scopes do not grant, inside `result`) and credits apply exactly as on a direct call. The reply carries the inner HTTP `status`, `ok`, and the `result` (JSON; text and binary replies are summarised). TL3b: a binary reply (a STEP export, a PDF, a zip; anything neither JSON nor text) is kept as a blob the caller may read, and `result` is `{blob, bytes, content_type, name}` (`name` from the reply's Content-Disposition, else the operation and the type); a reply over 64 MiB is summarised with a note instead. # Run the bench of the house's agents (AS23) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-workshop-bench openapi.json POST /v1/workshop/bench The `replay` arm (the default; what CI runs): every house agent template (the starter agents) is copied for the caller and its recorded run replayed on the agent runtime with the engine's tools run for real, held to its end state, its grounding (every cited number holds), its result keys and its recording's expectations, and (TL6) its eval cases replayed on the copy (one check per case); every house assistant (Ask Eddy, the Dev IDE agent) is replayed against its own eval cases on the org's copy. No model is called and none is billed; the copies are deleted after. Answers the scorecard (`rows`, `passed`, `score`). The `live` arm is refused 403 BENCH_LIVE_NEEDS_OWNER_APPROVAL: a live bench calls a real model at a stated cost, the owner's spend decision. # Put the house builder back on the org's copy (AS13 slice 2) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-workshop-builder-reset openapi.json POST /v1/workshop/builder/reset The copy's document becomes the house definition again (its `origin` set, its id and history kept, its version moving on); a copy already the house's answers `unchanged: true`. Only the copy's editors (the org's admins): a member answers 403 `PROJECT_FORBIDDEN`. # Start a builder turn on an app (AS13) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-workshop-builder-runs openapi.json POST /v1/workshop/builder/runs One turn of the Workshop's builder on an app the caller may edit: `text` (and/or `attachments`: images and PDFs already uploaded to `/v1/blobs`), `mode` (`build` edits the draft; `plan` reads and proposes with no edit tool and no write scope; `chat` is a light turn with no tools), `continue_from` (the caller's last finished builder turn on this app: the conversation carries on) and `instructions` (the person's Workshop instructions, read with the app's `AGENTS.md` at the start of every turn). The run acts through its own delegated token (`agent:builder@`, the mode's scopes); its edits of the draft are appends to the app's live chain (a versioned save without a store), allowed without asking; other writes keep the AS4 approvals. It streams on the agent-run routes (`/events`, `/approve`, `/client-result`, `/messages`, `/cancel`). 403 for a delegate or a person who may only view the app. # Take a copy's template update (AS16) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-workshop-copies-id-update openapi.json POST /v1/workshop/copies/{id}/update The whole-state three-way merge of the copy (ours) and the template's latest version (theirs) over the version the copy came from (the base), through the document's family (CO13b's merge): a node only one side moved takes that side; a node both moved differently is a conflict, never picked silently — the update is refused (409 TEMPLATE_UPDATE_CONFLICT, the conflicts beside it) until each is settled in `resolutions` (by path or node: `ours`, `theirs` or a value). A clean merge saves as the copy's next version (its own save and version check) with `origin` at the version it took; a live chain open on the copy rotates onto it. # Replay a template's recorded run (AS16, TL1) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-workshop-templates-id-replay openapi.json POST /v1/workshop/templates/{id}/replay Runs an agent the caller may run (the agent editor's own, typically a copy of this template) on the AS4 runtime with the starter agent's recorded conversation as its model: no model is called. The recorded calls run first as the caller (the answer's numbers are filled from what the engine answers for those requests, so they stay grounded); the run then makes the same calls through its own tools and is inspected like any run (`/v1/agents/runs/{id}/transcript`). A recording whose engine answers moved says so in the run's notes (`replay.unmet`). Answers as `POST /v1/agents/{id}/runs` does, plus `replay`. # Run a template's agent without a copy (TL17) Source: https://eddy-ac74d702.mintlify.app/api-reference/meta/post-v1-workshop-templates-id-runs openapi.json POST /v1/workshop/templates/{id}/runs A run of a listed template's agent as the caller, with no copy left among the caller's agents: the same run as POST /v1/agents/{id}/runs, of a definition made from the template (`template:@v`) and never stored. The caller's org pays (one hold, the template's budget); the run's token is exactly what its selectors resolve to within the caller's scopes, and TL1's house functions (`house.fn.