> ## Documentation Index
> Fetch the complete documentation index at: https://eddy-ac74d702.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 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

> 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).



## OpenAPI

````yaml openapi.json POST /v1/earthing.sheets
openapi: 3.1.0
info:
  description: >-
    Deterministic, content-addressed geometry + structural-FEA engine. Every
    result carries provenance (model hash, pinned solver build, params, runtime
    profile) and is reproducible byte-for-byte from its report. Identical inputs
    return the same result_key with the second call served from cache.


    Authentication: when the deployment sets SS_REQUIRE_AUTH=1, pass an API key
    in the `x-api-key` header (create keys via the admin endpoints or the
    /console app). Admin endpoints require `x-admin-token` when SS_ADMIN_TOKEN
    is set.


    Rate limits: a key may carry a request-rate limit (`limits` on its record:
    requests a minute and a burst, set by an admin at mint or through `POST
    /admin/keys/{key_hash}/limits`), and a deployment may set one for every key
    without its own (SS_KEY_RATE_DEFAULT; unset = unlimited). Past it, any `/v1`
    or `/admin` call by that key is 429 `RATE_LIMITED` with `retry-after`
    (seconds) and `x-ratelimit-limit` / `x-ratelimit-remaining` /
    `x-ratelimit-reset`; an allowed call by a limited key carries the
    `x-ratelimit-*` headers too. The limit holds per gateway replica. Other 429s
    (RESOURCE_LIMIT, SESSION_LIMIT, size caps) are not transient and carry no
    `retry-after`; the SDKs retry a 429 only when it does.


    Errors are always typed: `{"error": {"code": "INVALID_GEOMETRY" |
    "MESH_FAILED" | "SOLVE_DIVERGED" | "RESOURCE_LIMIT" | "UNKNOWN_SOLVER" |
    "UNAUTHORIZED" | "NOT_FOUND" | ..., "message": "..."}}`.
  title: Eddy API
  version: 0.1.0
servers:
  - description: the hosted engine (Sydney)
    url: https://api.eddy.engineer
  - description: a local engine (cargo run -p ss-api)
    url: http://127.0.0.1:8080
security: []
tags:
  - description: 'Eddy IAM: API keys and usage metering'
    name: admin
  - description: Health and documentation
    name: meta
  - description: >-
      Eddy PLM (L track): Teamcenter-class PLM - item masters and revisions,
      EBOMs, ECR/ECO change control with hash-chained signoffs, effectivity +
      configurations, the vault, AP242 structure interchange, the digital-thread
      certificate
    name: plm
  - description: >-
      Eddy Parts, the 3D CAD application on the native kernel: recipes, edits,
      sketches, features, sections, drawings, export.
    name: cad
  - description: 'Eddy Assemblies: assemblies and mates.'
    name: asm
  - description: 'The engine: geometry -> mesh -> FEA -> result'
    name: solve
  - description: >-
      Eddy BIM, on the BIMCraft engine (BC track): projects as content-addressed
      documents with their history, every edit a command run server-side, views,
      schedules and sheets drawn by the engine, IFC and DXF in and out, .rvt in
      behind the rvt feature, measures for the verification matrix.
    name: bim
  - description: 'Eddy Verify and Eddy B3: reports, verification, runs, blobs'
    name: provenance
  - description: >-
      Eddy Bridge (IG20): fixed kinds of job run on the customer's own vendor
      seat under the customer's licence, results back as labelled external
      results
    name: bridge
  - description: CAM.
    name: cam
  - description: Eddy Flow, the CFD application (/cfd).
    name: cfd
  - description: Circuit simulation (MNA).
    name: circuit
  - description: >-
      Eddy Surrogates: corpora, datasets, sweeps and training runs over solver
      traces.
    name: training
  - description: >-
      Eddy ProcessSim (/multisim, A track): multi-method simulation - discrete
      events, agents and stocks-and-flows on one calendar - the AnyLogic-class
      engine.
    name: multisim
  - description: >-
      Eddy Requirements (Q track): DOORS-class requirements platform - modules,
      typed traceability links, baselines, the live verification matrix, the
      authoring recorder, ReqIF interchange
    name: req
  - description: 'Eddy Redline: markup and review.'
    name: review
  - description: 'Eddy Datasets: the data plane.'
    name: data
  - description: >-
      The generative design loop's perception (J12): the design packet — every
      picture an agent needs to see a recipe or assembly, content-addressed.
    name: design
  - description: >-
      Eddy Manufacturability (MF track): a part, an assembly or an imported STEP
      body checked against a process and the shop that will make it — findings
      on the faces and parts they are about, every limit cited with its
      confidence, the rule catalogue and the seeded shop profiles.
    name: dfm
  - description: >-
      Eddy Earthing (EG track): soil surveys and layered soil fitting, the IEEE
      80 hand method, our own boundary-element solver in uniform and layered
      soil, safety (touch and step) against cited criteria, the fault current
      split, risk-based criteria, transferred potentials and hazard zones, large
      farm grids, field test plans and calibration, grid generation, reports and
      sheets - refereed by SimPEG, pyGIMLi, groundinsight and FEA; paid values
      only from adopted value tables
    name: earthing
  - description: 'Eddy Circuits: schematics, boards, the E-track projects.'
    name: eda
  - description: Eddy Fields, the electromagnetics application (/em).
    name: em
  - description: 'Eddy QuickFlow: instant previews.'
    name: preview
  - description: 'Eddy Structures, the FEA application (/fea): studies, meshing, results.'
    name: fea
  - description: >-
      Eddy Kernel, the native B-rep kernel's services: healing, clearance,
      signed distance, STEP import. The kernel's booleans, sketches, features
      and meshers are reached through the cad tag; its ledger is the K track
      (/docs/tracks/k-track), its page /docs/solvers/ss-geometry.
    name: geometry
  - description: >-
      Eddy Generation Plants (GP track): solar, wind and battery plants on
      terrain - the site's buildable area, weather documents (ERA5, NASA POWER,
      EPW, customer files, our TMY), PV yield with rows, trackers and bifacial,
      row packing with piles and blocks edited by commands, wind yield and
      wakes, noise, shadow flicker, visual impact, micro-siting, BESS sizing,
      duty and layout, the MV collector as a power network, access roads and
      civil quantities, P50 / P90 and the yield report - refereed against pvlib,
      PySAM, solarfactors, PyWake, FLORIS and windpowerlib; paid values only
      from adopted value tables; design and screening, never bankable
    name: gp
  - description: >-
      Eddy Product Graph, on ParamDB (PX track): materials and suppliers as
      documents; one dependency graph per product across every document kind —
      BOM lines and items, materials, supplier offers, studies in any solver
      domain, requirement checks — with impact before work, propagation that
      evaluates exactly the frontier, and the derivative layer (rank, tolerance)
      composed over the graph.
    name: graph
  - description: >-
      Eddy Optics (/optics, OP track): lens files, the glass catalogs, the
      vocabulary.
    name: optics
  - description: >-
      The physical-AI interchange (IX track): UsdPhysics / MJCF / URDF in, the
      USD sublayer and MJCF out, calibration of the training engines' parameters
      from the truth, the audit of their rollouts, the foreign-audit corpus
      family.
    name: interop
  - description: >-
      Eddy Knowledge: the curated engineering reference library — standards
      notes, design guides, material data and house rules that staff maintain —
      searched lexically by models and people; live bases only.
    name: knowledge
  - description: >-
      Eddy Math (X track): the MATLAB-style numeric workbench - a stated
      MATLAB-language subset evaluated as a pure function over content-addressed
      workspaces, Octave-refereed
    name: lab
  - description: >-
      Eddy AI Gateway: the Anthropic Messages shape forwarded to the
      deployment's TrueFoundry gateway (Claude on Google Cloud), the caller
      tagged, the model allowlisted per role, the tokens metered.
    name: llm
  - description: >-
      Collaboration (CO16–CO18): the project event stream, presence (who is here
      and which view — nothing finer), comment threads with anchors and
      mentions, and notifications.
    name: collab
  - description: >-
      Eddy IAM - organisations and teams (CO3): the tenancy unit projects, live
      sessions, comments, notifications and activity are scoped by. Invites by
      email bind on first sign-in.
    name: orgs
  - description: >-
      Eddy Motion (MO track): the study document on an assembly's mates, the
      multibody solve, result series, traces, interference over time, loads for
      an FEA study, mate references by stable face name.
    name: motion
  - description: >-
      Eddy ParamDB, the parametric database: the store's management surface
      (status, refs, log, objects, GC, flush, init) behind the console's ParamDB
      service.
    name: pdb
  - description: >-
      Eddy Power Systems (PW track): the network document and device libraries,
      load flow, short circuit, protection and time-current curves,
      coordination, arc flash, sizing, motor starting and harmonics - our own
      solvers, refereed by pandapower and OpenDSS; paid values only from adopted
      value tables
    name: power
  - description: Saved app documents (the console's project library)
    name: projects
  - description: >-
      Eddy Live - live co-editing (CO13): one chain per project on ParamDB,
      every edit a micro-commit with a CAS; the loser of a race gets a typed
      conflict and catches up. Zero per-app code: any registered family's
      vocabulary, or JSON Patch.
    name: live
  - description: >-
      Variants (CO13b): explore your own design or simulation options on a
      private branch forked at zero copy, share it, compare it as a node diff
      with results, and merge it back as one whole state (a two-parent commit)
      when you want.
    name: variants
  - description: Result post-processing.
    name: results
  - description: >-
      Eddy Maps, the spatial engine (/spatial, SP track): frames, terrain,
      volumes and paths — and the S-track spatial aggregates over result fields.
    name: spatial
  - description: >-
      Eddy Build Guides (AQ track, /instructions): the assembly sequence
      document (explode steps, the build as its reverse), the planner with its
      path / stability / tool-access checks and the fast check of a given order,
      the animation with its auto camera, the render (AV1 / GIF / APNG / glTF /
      USD) and the step sheets, public share links, service procedures, DFA
      scoring and the precedence graph.
    name: sequence
  - description: 'Eddy Sim2Real: rigid-body simulation and rollouts.'
    name: sim
  - description: 'Eddy 1D: system simulation, Modelica-style networks and signal flow.'
    name: system
paths:
  /v1/earthing.sheets:
    post:
      tags:
        - earthing
      summary: >-
        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
      description: >-
        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).
      operationId: earthingSheets
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                documents:
                  additionalProperties: false
                  description: >-
                    The documents the report stands on, each by key or inline. A
                    result names its system, soil and vector documents by key,
                    and the report refuses documents that do not belong together
                    (`EARTHING_REPORT_INVALID`)
                  properties:
                    results:
                      description: >-
                        Results of the system, `ss.earthing.result/1`: EG4's
                        hand method, EG5/EG6's solve, EG7's safety assessment,
                        EG10's transferred potentials, in any order. Each a key
                        (`b3:<hex>`) of a document already stored, or the
                        document itself (stored here in canonical form under its
                        own key). At most 32
                      items: {}
                      type: array
                    risk:
                      description: >-
                        A risk study's result, `ss.earthing.risk/1` (EG9). A key
                        (`b3:<hex>`) of a document already stored, or the
                        document itself (stored here in canonical form under its
                        own key)
                    soil:
                      description: >-
                        The soil model, `ss.earthing.soil/1` (with EG3's fit
                        record where fitted). A key (`b3:<hex>`) of a document
                        already stored, or the document itself (stored here in
                        canonical form under its own key)
                    survey:
                      description: >-
                        The soil resistivity survey, `ss.earthing.survey/1`. A
                        key (`b3:<hex>`) of a document already stored, or the
                        document itself (stored here in canonical form under its
                        own key)
                    system:
                      description: >-
                        The earthing system, `ss.earthing.system/1`. A key
                        (`b3:<hex>`) of a document already stored, or the
                        document itself (stored here in canonical form under its
                        own key)
                    vectors:
                      description: >-
                        Vector documents (`ss.spatial.vector/1`): the contours
                        and zones the results name, and any layers of services
                        to draw. Each a key (`b3:<hex>`) of a document already
                        stored, or the document itself (stored here in canonical
                        form under its own key). At most 64
                      items: {}
                      type: array
                  type: object
                format:
                  description: >-
                    `json` (the default) answers the body below; `html` the
                    index page; `zip` the whole set as one stored zip (every
                    file under its name, and `manifest.json`), with fixed dates
                    so the same set is the same bytes
                  enum:
                    - json
                    - html
                    - zip
                  type: string
                test_plan:
                  additionalProperties: false
                  description: >-
                    The commissioning test plan's options (EG12 makes the plan
                    from the system in its soil); every member may be left out,
                    and the plan says which were defaults
                  properties:
                    current_probe_m:
                      description: >-
                        The distance to the current probe, m (five times the
                        electrode's largest dimension when left out)
                      type: number
                    fop_bearings_deg:
                      description: >-
                        One fall-of-potential traverse per bearing, degrees
                        clockwise from north (90 when left out)
                      items:
                        type: number
                      type: array
                    injection_current_a:
                      description: The injected test current, A (20 when left out)
                      type: number
                    points:
                      description: >-
                        Further touch and step check points, `[x, y]` (at most
                        200)
                      items:
                        items:
                          type: number
                        type: array
                      type: array
                    return_electrode:
                      description: >-
                        Where the injection's return electrode is, `[x, y]` in
                        the system's frame (far away when left out)
                      items:
                        type: number
                      type: array
                    traverse:
                      description: >-
                        The injection's probe traverse: `[[x, y], bearing_deg,
                        step_m, points]` (from the electrode's middle along the
                        first bearing, 2 m apart, 20 positions when left out)
                      type: array
                  type: object
                titles:
                  additionalProperties: false
                  description: >-
                    What the sheets' title blocks and the reports' heads are
                    printed with. Every member is optional text of at most 120
                    characters. Nothing is read from a clock: a date is printed
                    only where `date` gives one
                  properties:
                    checked_by:
                      type: string
                    client:
                      type: string
                    date:
                      description: As it is to be printed, such as 2026-11-14
                      type: string
                    drawn_by:
                      description: Who prepared the study
                      type: string
                    paper:
                      description: >-
                        The paper of the hazard zone sheets (A3 when left out);
                        reports are A4
                      enum:
                        - A4
                        - A3
                        - A2
                        - A1
                        - A0
                      type: string
                    project:
                      description: The project the earthing study is for
                      type: string
                    revision:
                      type: string
                  type: object
              required:
                - documents
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
          description: >-
            `kind` (`set`), `schema` (`ss.earthing.reportset/1`), `title`,
            `result_key` (BLAKE3 of the manifest's canonical bytes), `blob_uri`,
            `report_uri`, `request_key`, `documents`, `titles`, `files`: each
            file with `name`, `title`, `kind` (`report_html`, `report_pdf`,
            `report` the document, `hazard` a sheet, `index`), `media_type`,
            `key`, `blob_uri`, `bytes` and for a sheet its number `sheet`;
            `notes`; and `document`: the manifest (`documents` by key, `reports`
            with each report's hash and files, `files` by name and hash,
            `notes`)
        '400':
          $ref: '#/components/responses/TypedError'
        '404':
          $ref: '#/components/responses/TypedError'
        '422':
          $ref: '#/components/responses/TypedError'
      security:
        - apiKey: []
        - {}
components:
  responses:
    TypedError:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
      description: Typed error — never a bare 500
  schemas:
    ErrorEnvelope:
      properties:
        error:
          properties:
            code:
              enum:
                - INVALID_GEOMETRY
                - MESH_FAILED
                - SOLVE_DIVERGED
                - RESOURCE_LIMIT
                - UNKNOWN_SOLVER
                - UNAUTHORIZED
                - FORBIDDEN
                - NOT_FOUND
                - STORE_ERROR
                - INTERNAL
                - INVALID_KEY_NAME
                - RATE_LIMITED
                - LIVE_RATE
                - SESSION_LIMIT
                - SCOPE_DENIED
                - CREDITS_EXHAUSTED
                - INVALID_LIMITS
              type: string
            message:
              type: string
          type: object
      type: object
  securitySchemes:
    apiKey:
      description: Required when the deployment sets SS_REQUIRE_AUTH=1
      in: header
      name: x-api-key
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.