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

# A connector's snapshot and its derived document (SP5)

> The connector contract: the engine owns what derives and CONNECTS to what someone else maintains, and a connector never answers live. The payload (an uploaded `blob`, `payload_base64`, `text`, or a `url` the engine fetches itself — exactly one; SP5.b: fetching is allowed only from hosts the operator listed in SS_SPATIAL_FETCH_HOSTS, else FETCH_DENIED, http / https, 256 MB, and the snapshot records the fetch — URL, status, content type, ETag / Last-Modified, size — and stamps `fetched_at` when the caller did not) becomes a content-addressed blob; the snapshot records the connector, the `source` (provider, dataset, version, url), `fetched_at` as the caller states it (the engine keeps no wall clock of its own), the `licence` and the bounds; the document DERIVED from the payload is stored with that provenance in its `source` and the snapshot names the derived document. Connectors: `elevation.geotiff` → an SP2 raster (`height_kind` when the file states no vertical CRS); `osm.extract` (XML) and `osm.pbf` (SP5.b: the binary form through an own protobuf reader — raw and zlib blobs, dense and plain nodes, ways; the two forms of one extract mint one document) → a road graph (the highway ways' nodes and consecutive-node edges, tags verbatim, `oneway` as tagged, geodesic lengths; nothing re-authored — the rules stay in the tags for the router); `airspace.openair` (SP5.b: OpenAir text — AC / AN / AL / AH / DP / V X= / DC circles → cylinders / DA and DB arcs → 3° chords; P / R / Q / CTR / GP keep-out, the rest advisory) and `airspace.faa_uasfm` (SP5.b: the FAA UAS Facility Map GeoJSON — each cell's CEILING in feet AGL becomes a keep-out from that height up) → volume documents; `airspace.geojson` → SP4 volumes (the engine's own floor_m / ceiling_m / *_ref / kind properties, or OpenAIP's lowerLimit / upperLimit with units M / FT / FL and datums GND / MSL / STD — the mapping stated in the answer). A missing licence, provider, dataset or fetch time refuses SNAPSHOT; an unknown connector CONNECTOR. UD14: `table.csv` — CSV text (RFC 4180) → a table document (`ss.spatial.table/1`, every cell the text the file carried; `delimiter` when it is not a comma), read at `GET /v1/spatial.table/{key}` and joined to a vector document's features by key with `POST /v1/spatial.vector.join`. EG14: `osm.features` (OSM XML) and `osm.features.pbf` (the binary form) keep what a tag filter names (`features`: `railway=*`, `barrier=fence`, `man_made=pipeline`, `power=line|minor_line|cable`, `building=*` unless stated) → an SP3 vector document in the geodetic frame, read by the road graph's two OSM readers, so both forms of one extract mint one document. A tagged node is a Point; a way a LineString, or a Polygon when it closes and is an area (`area=yes`, a `building`, `landuse`, `leisure`, `amenity`, `natural` or `place` key, `power=substation|plant`; a closed fence stays a line); a `type=multipolygon` relation a Polygon or MultiPolygon with its inner rings. Each feature carries its tags verbatim, `@id` (`way/123`) and `@rule`; a way the extract cut is kept as the runs it carries, marked `@clipped`; a multipolygon that does not close is listed in the report, never half-built. Features are ordered nodes, ways, relations, each by OSM id. The answer's `derived.summary.report` counts what was kept per rule and what was not; the document's `source` carries the filter, the report and the snapshot's provenance (`source.snapshot`), so every result that reads it names the snapshot. An empty or malformed filter refuses FEATURE_FILTER. UD17: `shapefile.zip` — a zipped shapefile as agencies publish one (ABS ASGS Edition 3 postal areas, `POA_2021_AUST_GDA2020_SHP.zip`): exactly one `.shp` with its `.prj` beside it under the same stem (the `.dbf` read when present) → an SP3 vector document in the `.prj`'s frame, read as `spatial.import` reads a shapefile (GDA94 / GDA2020 geographic, MGA zones); records with no shape are left out and counted. No `.shp`, several, or no `.prj` refuses SHAPEFILE_ZIP. The answer's `derived.summary.shapefile` names the members read, the frame's origin and the record counts; the document's `source.snapshot` names the snapshot.



## OpenAPI

````yaml openapi.json POST /v1/spatial.snapshot
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/spatial.snapshot:
    post:
      tags:
        - spatial
      summary: A connector's snapshot and its derived document (SP5)
      description: >-
        The connector contract: the engine owns what derives and CONNECTS to
        what someone else maintains, and a connector never answers live. The
        payload (an uploaded `blob`, `payload_base64`, `text`, or a `url` the
        engine fetches itself — exactly one; SP5.b: fetching is allowed only
        from hosts the operator listed in SS_SPATIAL_FETCH_HOSTS, else
        FETCH_DENIED, http / https, 256 MB, and the snapshot records the fetch —
        URL, status, content type, ETag / Last-Modified, size — and stamps
        `fetched_at` when the caller did not) becomes a content-addressed blob;
        the snapshot records the connector, the `source` (provider, dataset,
        version, url), `fetched_at` as the caller states it (the engine keeps no
        wall clock of its own), the `licence` and the bounds; the document
        DERIVED from the payload is stored with that provenance in its `source`
        and the snapshot names the derived document. Connectors:
        `elevation.geotiff` → an SP2 raster (`height_kind` when the file states
        no vertical CRS); `osm.extract` (XML) and `osm.pbf` (SP5.b: the binary
        form through an own protobuf reader — raw and zlib blobs, dense and
        plain nodes, ways; the two forms of one extract mint one document) → a
        road graph (the highway ways' nodes and consecutive-node edges, tags
        verbatim, `oneway` as tagged, geodesic lengths; nothing re-authored —
        the rules stay in the tags for the router); `airspace.openair` (SP5.b:
        OpenAir text — AC / AN / AL / AH / DP / V X= / DC circles → cylinders /
        DA and DB arcs → 3° chords; P / R / Q / CTR / GP keep-out, the rest
        advisory) and `airspace.faa_uasfm` (SP5.b: the FAA UAS Facility Map
        GeoJSON — each cell's CEILING in feet AGL becomes a keep-out from that
        height up) → volume documents; `airspace.geojson` → SP4 volumes (the
        engine's own floor_m / ceiling_m / *_ref / kind properties, or OpenAIP's
        lowerLimit / upperLimit with units M / FT / FL and datums GND / MSL /
        STD — the mapping stated in the answer). A missing licence, provider,
        dataset or fetch time refuses SNAPSHOT; an unknown connector CONNECTOR.
        UD14: `table.csv` — CSV text (RFC 4180) → a table document
        (`ss.spatial.table/1`, every cell the text the file carried; `delimiter`
        when it is not a comma), read at `GET /v1/spatial.table/{key}` and
        joined to a vector document's features by key with `POST
        /v1/spatial.vector.join`. EG14: `osm.features` (OSM XML) and
        `osm.features.pbf` (the binary form) keep what a tag filter names
        (`features`: `railway=*`, `barrier=fence`, `man_made=pipeline`,
        `power=line|minor_line|cable`, `building=*` unless stated) → an SP3
        vector document in the geodetic frame, read by the road graph's two OSM
        readers, so both forms of one extract mint one document. A tagged node
        is a Point; a way a LineString, or a Polygon when it closes and is an
        area (`area=yes`, a `building`, `landuse`, `leisure`, `amenity`,
        `natural` or `place` key, `power=substation|plant`; a closed fence stays
        a line); a `type=multipolygon` relation a Polygon or MultiPolygon with
        its inner rings. Each feature carries its tags verbatim, `@id`
        (`way/123`) and `@rule`; a way the extract cut is kept as the runs it
        carries, marked `@clipped`; a multipolygon that does not close is listed
        in the report, never half-built. Features are ordered nodes, ways,
        relations, each by OSM id. The answer's `derived.summary.report` counts
        what was kept per rule and what was not; the document's `source` carries
        the filter, the report and the snapshot's provenance
        (`source.snapshot`), so every result that reads it names the snapshot.
        An empty or malformed filter refuses FEATURE_FILTER. UD17:
        `shapefile.zip` — a zipped shapefile as agencies publish one (ABS ASGS
        Edition 3 postal areas, `POA_2021_AUST_GDA2020_SHP.zip`): exactly one
        `.shp` with its `.prj` beside it under the same stem (the `.dbf` read
        when present) → an SP3 vector document in the `.prj`'s frame, read as
        `spatial.import` reads a shapefile (GDA94 / GDA2020 geographic, MGA
        zones); records with no shape are left out and counted. No `.shp`,
        several, or no `.prj` refuses SHAPEFILE_ZIP. The answer's
        `derived.summary.shapefile` names the members read, the frame's origin
        and the record counts; the document's `source.snapshot` names the
        snapshot.
      operationId: spatialSnapshotCreate
      requestBody:
        content:
          application/json:
            schema:
              properties:
                blob:
                  type: string
                bounds:
                  items:
                    type: number
                  type: array
                connector:
                  enum:
                    - elevation.geotiff
                    - osm.extract
                    - airspace.geojson
                    - table.csv
                    - osm.features
                    - osm.features.pbf
                    - shapefile.zip
                  type: string
                delimiter:
                  description: >-
                    table.csv: the field delimiter, one character (a comma
                    unless stated)
                  type: string
                features:
                  description: >-
                    osm.features / osm.features.pbf: the tag filter, an ordered
                    list of rules written `key`, `key=*`, `key=value` or
                    `key=a|b`. An element is kept when a rule matches its tags;
                    the first that does is named on the feature (`@rule`).
                    Railways, fences, pipelines, power lines and buildings when
                    left out (the list is `osm_features_default` in `GET
                    /v1/spatial.capabilities`)
                  items:
                    type: string
                  type: array
                fetched_at:
                  type: string
                height_kind:
                  type: object
                licence:
                  type: string
                name:
                  type: string
                payload_base64:
                  type: string
                source:
                  properties:
                    dataset:
                      type: string
                    provider:
                      type: string
                    url:
                      type: string
                    version:
                      type: string
                  required:
                    - provider
                    - dataset
                  type: object
                text:
                  type: string
                url:
                  description: >-
                    SP5.b: a URL the engine fetches itself (hosts allowed by
                    SS_SPATIAL_FETCH_HOSTS); the fetch is recorded in the
                    snapshot.
                  type: string
              required:
                - connector
                - source
                - fetched_at
                - licence
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  derived:
                    properties:
                      key:
                        type: string
                      kind:
                        type: string
                      summary:
                        type: object
                    type: object
                  key:
                    type: string
                  rule:
                    type: string
                  snapshot:
                    properties:
                      bounds:
                        items:
                          type: number
                        type: array
                      connector:
                        type: string
                      derived:
                        properties:
                          key:
                            type: string
                          kind:
                            type: string
                        type: object
                      fetched_at:
                        type: string
                      id:
                        type: string
                      licence:
                        type: string
                      name:
                        type: string
                      payload:
                        type: string
                      payload_bytes:
                        type: integer
                      payload_format:
                        type: string
                      schema_version:
                        type: string
                      source:
                        properties:
                          dataset:
                            type: string
                          provider:
                            type: string
                          url:
                            type: string
                          version:
                            type: string
                        required:
                          - provider
                          - dataset
                        type: object
                    type: object
                type: object
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: 09b5f888-961d-4054-af51-d317a6fcce25
          description: Typed error
      security:
        - apiKey: []
        - {}
components:
  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.