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

# Run a structural solve (synchronous)

> The whole product reduced to one call: geometry + material + loads + constraints -> displacement and von Mises fields, safety metrics, and a provenance record. Idempotent by result_key: identical inputs are served from cache byte-identically. F5 adds, flat on the request (or per `load_cases[i]`): `body_loads` [{accel, omega, axis_origin, axis_dir}], `prescribed` [{region, dof, value}], `springs` [{region, stiffness}], `surface_loads` [{region, bearing, hydrostatic{rho, g, surface}}]; `constraints[].fixed` also takes `normal`. F6 adds, on the same flat extension: `remote_points` [{id, point, region, behavior: rigid|deformable}], `remote_loads` [{point, force, moment}], `remote_displacements` [{point, u:[..], rot:[..]} — null = free], `point_masses` [{point, mass}], `point_springs` [{point, k, k_rot}], `cylindrical` [{region, axis_origin, axis_dir, radial, axial, tangential}] — constraint equations by elimination on the dense hex8 path; and `geometry.assembly[].contact` (part ids kept as two node layers at the coincident face: `contact:<a>|<b>:a` / `:b` sets, per-part `part:<id>:<face>` sets) for `/v1/solve.nonlinear_static`'s `contact_pair`. F12.b adds `compression_only` [{region}] (an axis face held in its normal direction only while it pushes; nodes it would pull on are released and the solve repeats until the active set settles; metrics compression_only_passes / _released / _active). F8 adds `extra_materials` (indices 1..) with `material_regions` [{region, material}] (e.g. an assembly's `part:<id>`; every element's 8 nodes must lie in the region; coverage must be total) or a `material_split` {axis, threshold, below, above} — per-element materials (the P6 payload) on this route.



## OpenAPI

````yaml openapi.json POST /v1/solve.structural
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/solve.structural:
    post:
      tags:
        - solve
      summary: Run a structural solve (synchronous)
      description: >-
        The whole product reduced to one call: geometry + material + loads +
        constraints -> displacement and von Mises fields, safety metrics, and a
        provenance record. Idempotent by result_key: identical inputs are served
        from cache byte-identically. F5 adds, flat on the request (or per
        `load_cases[i]`): `body_loads` [{accel, omega, axis_origin, axis_dir}],
        `prescribed` [{region, dof, value}], `springs` [{region, stiffness}],
        `surface_loads` [{region, bearing, hydrostatic{rho, g, surface}}];
        `constraints[].fixed` also takes `normal`. F6 adds, on the same flat
        extension: `remote_points` [{id, point, region, behavior:
        rigid|deformable}], `remote_loads` [{point, force, moment}],
        `remote_displacements` [{point, u:[..], rot:[..]} — null = free],
        `point_masses` [{point, mass}], `point_springs` [{point, k, k_rot}],
        `cylindrical` [{region, axis_origin, axis_dir, radial, axial,
        tangential}] — constraint equations by elimination on the dense hex8
        path; and `geometry.assembly[].contact` (part ids kept as two node
        layers at the coincident face: `contact:<a>|<b>:a` / `:b` sets, per-part
        `part:<id>:<face>` sets) for `/v1/solve.nonlinear_static`'s
        `contact_pair`. F12.b adds `compression_only` [{region}] (an axis face
        held in its normal direction only while it pushes; nodes it would pull
        on are released and the solve repeats until the active set settles;
        metrics compression_only_passes / _released / _active). F8 adds
        `extra_materials` (indices 1..) with `material_regions` [{region,
        material}] (e.g. an assembly's `part:<id>`; every element's 8 nodes must
        lie in the region; coverage must be total) or a `material_split` {axis,
        threshold, below, above} — per-element materials (the P6 payload) on
        this route.
      operationId: solveStructural
      requestBody:
        content:
          application/json:
            example:
              constraints:
                - fixed: all
                  region: x_min
              geometry:
                primitive:
                  box:
                    lx: 1
                    ly: 0.2
                    lz: 0.2
              loads:
                - force:
                    - 0
                    - 0
                    - -1000
                  region: x_max
              material:
                e: 210000000000
                id: steel
                nu: 0.3
                rho: 7850
                yield: 250000000
              mesh_opts:
                element_size: 0.1
            schema:
              $ref: '#/components/schemas/SolveRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SolveResponse'
          description: >-
            Solve result with provenance. With solver.preset = preview the body
            is the PreviewKindResponse (kind: preview, result_id: null).
        '202':
          $ref: '#/components/responses/JobAccepted'
        '400':
          $ref: '#/components/responses/TypedError'
        '401':
          $ref: '#/components/responses/TypedError'
        '422':
          $ref: '#/components/responses/TypedError'
        '429':
          $ref: '#/components/responses/TypedError'
      security:
        - apiKey: []
        - {}
components:
  schemas:
    SolveRequest:
      properties:
        compute:
          $ref: '#/components/schemas/ComputePlacement'
        constraints:
          items:
            $ref: '#/components/schemas/Constraint'
          type: array
        geometry:
          description: Exactly one of primitive | csg | mesh_blob | brep_blob | assembly
          properties:
            assembly:
              description: >-
                Assembly of part instances meshed into ONE welded body with
                per-part node sets (part:{id}) for S5 per-part scoping.
                Envelope: axis-aligned box parts under exact translation;
                exactly-coincident conforming faces weld node-identically;
                overlapping, non-conforming, or disconnected parts are typed
                refusals (no contact mechanics).
              items:
                properties:
                  at:
                    default:
                      - 0
                      - 0
                      - 0
                    description: Exact translation [m] placing the part
                    items:
                      type: number
                    maxItems: 3
                    minItems: 3
                    type: array
                  box:
                    description: >-
                      Axis-aligned box at the origin, meters (the assembly
                      meshing envelope)
                    properties:
                      lx:
                        type: number
                      ly:
                        type: number
                      lz:
                        type: number
                    required:
                      - lx
                      - ly
                      - lz
                    type: object
                  id:
                    description: >-
                      Unique part instance id; results tag the part:{id} node
                      set with it
                    type: string
                required:
                  - id
                  - box
                type: object
              type: array
            brep_blob:
              description: >-
                BlobId of an uploaded CAD file: STL, or STEP on occt-enabled
                builds
              type: string
            csg:
              $ref: '#/components/schemas/CsgNode'
            mesh_blob:
              description: BlobId of an uploaded SSMESH1 mesh
              type: string
            primitive:
              description: >-
                Exactly one of box | cylinder | sphere (curved primitives are
                meshed by the native B-rep kernel)
              properties:
                box:
                  description: Axis-aligned box at the origin, meters
                  properties:
                    lx:
                      type: number
                    ly:
                      type: number
                    lz:
                      type: number
                  required:
                    - lx
                    - ly
                    - lz
                  type: object
                cylinder:
                  description: Right circular cylinder, axis +z
                  properties:
                    h:
                      type: number
                    r:
                      type: number
                  required:
                    - r
                    - h
                  type: object
                sphere:
                  description: Sphere centered at the origin
                  properties:
                    r:
                      type: number
                  required:
                    - r
                  type: object
              type: object
          type: object
        load_cases:
          description: >-
            Multiple load cases (M7): mesh + assembly are shared and every case
            is solved in one run. Case 0 keeps the unprefixed field/metric
            names; case i > 0 gets a "case{i}/" prefix; unprefixed metrics are
            the envelope (worst case). Mutually exclusive with the flat
            loads/constraints sugar (which is a single case).
          items:
            properties:
              constraints:
                items:
                  $ref: '#/components/schemas/Constraint'
                type: array
              loads:
                items:
                  $ref: '#/components/schemas/Load'
                type: array
            type: object
          type: array
        loads:
          items:
            $ref: '#/components/schemas/Load'
          type: array
        material:
          $ref: '#/components/schemas/Material'
        mesh_opts:
          properties:
            element_order:
              default: 1
              type: integer
            element_size:
              description: >-
                Target element size [m]; 0 = auto (~8 elements along the longest
                edge)
              type: number
            mesh_adapt:
              description: >-
                O12: CELL-level adaption boxes - every cell whose centre lies
                inside a box splits into eight children (levels 1..=2); the
                interfaces to unrefined neighbours carry hanging nodes, which
                the polyhedral topology reconciles into many-faced polyhedra, so
                the case solves on the O4 polyhedral core. The cfd domain only
                (the finite-element solvers need conforming meshes - typed 422
                elsewhere); applied after every other mesh option. Absent keeps
                the params byte-identical; present forks the result key.
              items:
                properties:
                  levels:
                    default: 1
                    description: >-
                      Refinement levels 1..=2 (each level splits the marked
                      cells into eight).
                    type: integer
                  max:
                    description: Box upper corner [x, y, z] in mesh coordinates
                    items:
                      type: number
                    maxItems: 3
                    minItems: 3
                    type: array
                  min:
                    description: Box lower corner [x, y, z] in mesh coordinates
                    items:
                      type: number
                    maxItems: 3
                    minItems: 3
                    type: array
                required:
                  - min
                  - max
                type: object
              type: array
            mesh_conform:
              default: none
              description: >-
                K3d boundary conformance: "snap" projects the voxel mesh's
                surface nodes onto the exact B-rep boundary (opt-in; forks the
                result key). Absent/"none" keeps the plain voxel mesh
                byte-identical. "snap2" adds curved hex20 midsides
                (boundary-face edge midside nodes on the exact surface/edge
                curves; on healed imports, on the healed tessellation itself,
                whose chord sagitta is the honest accuracy floor).
              enum:
                - none
                - snap
                - snap2
              type: string
            mesh_layers:
              description: >-
                K3d boundary-fitted layers (slice 6): split the outermost
                element slab(s) along axis into geometrically graded sub-layers,
                thinnest at the wall (t1 = H*(g-1)/(g^n-1)), BEFORE the boundary
                snap. Requires mesh_conform "snap"|"snap2" and primitive
                geometry. Composes with mesh_refine (band refine first, then
                wall layers). Absent keeps the params hash and mesh
                byte-identical; present forks the result key.
              properties:
                axis:
                  enum:
                    - x
                    - 'y'
                    - z
                  type: string
                first_height:
                  description: >-
                    O19.2 slice 2: the wall cell thickness [m] instead of a
                    growth (the last-ratio / aspect-ratio offset methods) -- the
                    mesher solves the growth per slab so the layers fill it,
                    typed 422 when that growth leaves 1.0..=4.0; absent keeps
                    the key
                  exclusiveMinimum: 0
                  type: number
                growth:
                  description: >-
                    Thickness ratio between successive layers; 1.0 = uniform
                    (typed 422 outside 1.0..=4.0)
                  maximum: 4
                  minimum: 1
                  type: number
                layers:
                  description: Sub-layers per boundary slab (typed 422 outside 2..=8)
                  maximum: 8
                  minimum: 2
                  type: integer
                side:
                  enum:
                    - low
                    - high
                    - both
                  type: string
              required:
                - axis
                - side
                - layers
                - growth
              type: object
            mesh_layers_more:
              description: >-
                O19.2: boundary-fitted layers on FURTHER axes, each graded after
                mesh_layers (the first axis) on the same tensor grid; every axis
                once; the box / csg routes (an imported mesh is named); absent
                keeps the key
              items:
                properties:
                  axis:
                    enum:
                      - x
                      - 'y'
                      - z
                    type: string
                  first_height:
                    description: >-
                      O19.2 slice 2: the wall cell thickness [m] instead of a
                      growth (the last-ratio / aspect-ratio offset methods) --
                      the mesher solves the growth per slab so the layers fill
                      it, typed 422 when that growth leaves 1.0..=4.0; absent
                      keeps the key
                    exclusiveMinimum: 0
                    type: number
                  growth:
                    description: >-
                      Thickness ratio between successive layers; 1.0 = uniform
                      (typed 422 outside 1.0..=4.0)
                    maximum: 4
                    minimum: 1
                    type: number
                  layers:
                    description: Sub-layers per boundary slab (typed 422 outside 2..=8)
                    maximum: 8
                    minimum: 2
                    type: integer
                  side:
                    enum:
                      - low
                      - high
                      - both
                    type: string
                required:
                  - axis
                  - side
                  - layers
                  - growth
                type: object
              type: array
            mesh_midside_recovery:
              default: false
              description: >-
                K3d thin-cell slice: snap2 midside recovery on graded grids —
                failing thin cells prune only their fold-making midsides
                (largest displacement first) instead of reverting all, so the
                rest keep their exact on-surface placement. Requires
                mesh_conform "snap2" AND mesh_layers (typed 422 otherwise).
                Absent/false keeps the params hash and mesh byte-identical; true
                forks the result key.
              type: boolean
            mesh_octree:
              description: >-
                K3d octree slice: 2:1 balanced octree-structured refinement —
                the marked box's cells halve levels times in ALL THREE axes
                (conforming tensor transitions, balancing halo) BEFORE the
                boundary snap. Requires mesh_conform "snap"|"snap2"; does not
                compose with mesh_refine/mesh_layers (typed 422 — the multi-spec
                policy is a named residual). Absent keeps the params hash and
                mesh byte-identical; present forks the result key.
              properties:
                levels:
                  description: Halving rounds applied to the box (typed 422 outside 1..=3)
                  maximum: 3
                  minimum: 1
                  type: integer
                max:
                  description: Box upper corner [x, y, z] in mesh coordinates
                  items:
                    type: number
                  maxItems: 3
                  minItems: 3
                  type: array
                min:
                  description: Box lower corner [x, y, z] in mesh coordinates
                  items:
                    type: number
                  maxItems: 3
                  minItems: 3
                  type: array
              required:
                - min
                - max
                - levels
              type: object
            mesh_refine:
              description: >-
                K3d local refinement (slice 5): split every element layer the
                band touches into factor sub-bricks along axis BEFORE the
                boundary snap. Requires mesh_conform "snap"|"snap2" and
                primitive geometry (csg/mesh/brep refuse typed 422). Absent
                keeps the params hash and mesh byte-identical; present forks the
                result key.
              properties:
                axis:
                  enum:
                    - x
                    - 'y'
                    - z
                  type: string
                band:
                  description: '[min, max] in mesh coordinates'
                  items:
                    type: number
                  maxItems: 2
                  minItems: 2
                  type: array
                factor:
                  description: >-
                    Sub-bricks per element along the axis (typed 422 outside
                    2..=4)
                  maximum: 4
                  minimum: 2
                  type: integer
              required:
                - axis
                - band
                - factor
              type: object
            mesh_tets:
              default: false
              description: >-
                F4.b: tetrahedral elements — every brick of the mesh is split
                into six tets (the fixed body diagonal) and the structural /
                thermal solves assemble tet4 (element_order 1) or tet10
                (element_order 2, midsides solver-internal); the mesh blob stays
                the brick mesh (same nodes, same sets). Absent/false keeps the
                params hash byte-identical; true forks the result key. The
                Tetrahedrons mesh Method lowers to it.
              type: boolean
          type: object
        mode:
          default: auto
          description: >-
            Sync-vs-async (spec §8): auto compares estimated mesh size to the
            deployment threshold (SS_SYNC_NODE_LIMIT); async always returns 202
            + job
          enum:
            - auto
            - sync
            - async
          type: string
        quality:
          description: >-
            Mesh-density preset along the longest edge (draft L/5, standard L/8
            = default, fine L/16). An explicit mesh_opts.element_size wins.
            Primitive/csg geometry only.
          enum:
            - draft
            - standard
            - fine
          type: string
        solver:
          $ref: '#/components/schemas/SolverBlock'
        solver_version:
          description: >-
            Solver id to pin (e.g. "native-structural", "ccx"); empty = default,
            echoed back in provenance
          type: string
        storage:
          $ref: '#/components/schemas/StoragePlacement'
        webhook:
          $ref: '#/components/schemas/WebhookSpec'
      required:
        - geometry
        - material
      type: object
    SolveResponse:
      properties:
        cached:
          description: True when served from the result_key cache
          type: boolean
        fields:
          additionalProperties:
            type: string
          description: >-
            Field name -> blob id. displacement: 3 components/node; von_mises:
            1/node. Fetch via /v1/blobs/{id}
          type: object
        kind:
          description: >-
            SC1: `result` on every preset but `preview`; a preview answers the
            PreviewKindResponse shape (result_id null)
          enum:
            - result
            - preview
          type: string
        metrics:
          additionalProperties:
            type: number
          description: max_von_mises [Pa], max_displacement [m], min_fos [-]
          type: object
        provenance:
          $ref: '#/components/schemas/Provenance'
        result_id:
          description: >-
            = result_key (b3:<64-hex>); null (a present null) when kind =
            preview
          type: string
        warnings:
          description: >-
            RC1.F1: typed warnings about the solve's inputs that did not stop
            it, e.g. MESH_QUALITY (degenerate or inverted elements in a snapped
            mesh; see mesh_opts.mesh_pillow). Absent when empty.
          items:
            properties:
              code:
                type: string
              message:
                type: string
            required:
              - code
              - message
            type: object
          type: array
      type: object
    ComputePlacement:
      description: >-
        Per-solve compute placement: a region and a machine class. Unset fields
        inherit the gateway default (/admin/environment). Requires a distributed
        deployment and forces async execution; placement never changes result
        bytes. A placement the deployment runs no pool for is refused (NO_POOL).
      properties:
        machine:
          description: machine class id, e.g. standard-2x, hpc-16x, gpu-l4-4x
          type: string
        provider:
          deprecated: true
          description: 'leave out: a solve is placed by region and machine'
          type: string
        region:
          description: a region id from /v1/catalog/compute (`regions`)
          type: string
      type: object
    Constraint:
      properties:
        fixed:
          default: all
          enum:
            - all
            - x
            - 'y'
            - z
          type: string
        region:
          example: x_min
          type: string
      required:
        - region
      type: object
    CsgNode:
      description: >-
        Boolean composition of primitives (K-track kernel). A leaf wraps a
        primitive; an operation composes two subtrees. Evaluated by exact
        analytic point classification — deterministic by construction. Max depth
        16.
      examples:
        - a:
            prim:
              box:
                lx: 1
                ly: 0.6
                lz: 0.1
          b:
            prim:
              cylinder:
                h: 0.1
                r: 0.1
          op: difference
      oneOf:
        - description: 'Leaf: a primitive solid'
          properties:
            prim:
              description: >-
                Same shape as geometry.primitive: exactly one of box | cylinder
                | sphere
              type: object
          required:
            - prim
          type: object
        - description: 'Operation: a OP b (difference = a minus b)'
          properties:
            a:
              $ref: '#/components/schemas/CsgNode'
            b:
              $ref: '#/components/schemas/CsgNode'
            op:
              enum:
                - union
                - difference
                - intersection
              type: string
          required:
            - op
            - a
            - b
          type: object
    Load:
      properties:
        force:
          description: Total force over the region [N]
          items:
            type: number
          maxItems: 3
          minItems: 3
          type: array
        pressure:
          description: Pressure [Pa]; positive pushes into the face
          type: number
        region:
          description: 'Named face: x_min, x_max, y_min, y_max, z_min, z_max'
          example: x_max
          type: string
      required:
        - region
      type: object
    Material:
      properties:
        cp:
          description: >-
            Specific heat capacity [J/(kg K)] (P5 transient thermal); omit or 0
            otherwise.
          type: number
        e:
          description: Young's modulus [Pa]
          example: 210000000000
          type: number
        hardening:
          description: >-
            Linear isotropic hardening modulus H [Pa] (P9.2 plasticity):
            post-yield uniaxial tangent modulus is E*H/(E+H); omit or 0 for
            perfectly plastic. Yield uses the yield field.
          example: 2000000000
          type: number
        hardening_af_gamma:
          description: >-
            Armstrong-Frederick dynamic-recovery coefficient gamma
            (dimensionless; P9.4 ratcheting): back stress evolves as beta_dot =
            (2/3)*H_kin*eps_p_dot - gamma*beta*p_dot, saturating at the uniaxial
            equivalent X_inf = H_kin/gamma, so unsymmetric stress cycles ratchet
            instead of arresting. Needs hardening_kin > 0 when nonzero; omit or
            0 for linear (Prager) kinematic hardening.
          example: 300
          type: number
        hardening_kin:
          description: >-
            Linear kinematic hardening modulus H_kin [Pa] (P9.3 cyclic
            plasticity): Prager back-stress translation of the yield surface -
            the Bauschinger effect on load reversal. Combines additively with
            hardening (identical monotonic response at the same total modulus;
            only reversal differs). Omit or 0 for none.
          example: 1500000000
          type: number
        id:
          example: steel
          type: string
        k:
          description: >-
            Thermal conductivity [W/(m·K)]; required (> 0) for thermal solves.
            Omitted/0 keeps pre-thermal model hashes unchanged.
          example: 45
          type: number
        nu:
          description: Poisson ratio (0 <= nu < 0.5)
          example: 0.3
          type: number
        rho:
          description: Density [kg/m^3]
          example: 7850
          type: number
        s_end:
          description: >-
            Endurance limit [Pa]: corrected amplitudes at or below it accumulate
            zero damage (P12 fatigue); omit or 0 for no cutoff.
          type: number
        s_ult:
          description: >-
            Ultimate tensile strength [Pa] (P12 fatigue, Goodman mean-stress
            denominator); omit or 0 otherwise.
          example: 400000000
          type: number
        sigma:
          description: >-
            Electrical conductivity [S/m] (the P3 Poisson coefficient); omit or
            0 for non-electro solves.
          type: number
        sigma_table:
          description: >-
            F11.b: the electrical conductivity against temperature, (T [K],
            sigma [S/m]) rows ascending (linear, clamped). Set on a
            thermal-electric solve it closes the loop electric -> Joule heat ->
            temperature -> conductivity (a Picard fixed point, metrics
            coupling_passes / coupling_residual, the per-element `conductivity`
            field); omit for the one-way solve. Additive on the canonical
            encoding (tag 25).
          example:
            - - 300
              - 10000
            - - 400
              - 20000
          items:
            items:
              type: number
            maxItems: 2
            minItems: 2
            type: array
          type: array
        sn_a:
          description: >-
            Basquin S-N coefficient A [Pa]: corrected amplitude S_ar = A*N^b at
            N cycles (P12 fatigue); required (> 0) for fatigue solves.
          example: 900000000
          type: number
        sn_b:
          description: >-
            Basquin S-N exponent b (< 0; P12 fatigue); required for fatigue
            solves.
          example: -0.1
          type: number
        strain_life:
          description: >-
            F10.b: the strain-life parameters the Fatigue Tool's Strain Life
            analysis reads - the Coffin-Manson-Basquin curve eps_a = sigma_f/E
            (2N)^b + eps_f (2N)^c and the cyclic Ramberg-Osgood curve eps =
            sigma/E + (sigma/k)^(1/n) (Neuber's rule takes the elastic stress to
            the local state; k = n = 0 keeps the cyclic curve elastic). Omit for
            stress life only; additive on the canonical encoding (tag 24).
          properties:
            b:
              description: Fatigue strength exponent b (< 0).
              example: -0.092
              type: number
            c:
              description: Fatigue ductility exponent c (< 0 when eps_f > 0).
              example: -0.445
              type: number
            eps_f:
              description: Fatigue ductility coefficient eps'_f (>= 0).
              example: 0.26
              type: number
            k:
              description: Cyclic strength coefficient K' [Pa]; 0 = elastic cyclic curve.
              example: 1258000000
              type: number
            'n':
              description: Cyclic strain hardening exponent n'; 0 = elastic cyclic curve.
              example: 0.208
              type: number
            sigma_f:
              description: Fatigue strength coefficient sigma'_f [Pa] (> 0).
              example: 948000000
              type: number
          required:
            - sigma_f
            - b
            - eps_f
            - c
          type: object
        yield:
          description: Yield strength [Pa]; used for min_fos
          example: 250000000
          type: number
      required:
        - id
        - e
        - nu
        - rho
        - yield
      type: object
    SolverBlock:
      description: >-
        SC1: the `solver` block — HOW the equations are solved, never what the
        problem is. Absent, `preset: reference`, or a block equal to the
        domain's reference hashes as ABSENT (every pre-existing result key
        untouched); any keyed field forks the result key and the response names
        the `reference_key` the same body produces under `preset: reference`. A
        preset expands at request time to concrete fields (versioned:
        balanced@1, fast@1 …); explicit fields override the expansion field by
        field; two bodies that expand to the same block share a key (the preset
        NAME never enters the bytes). `device` and `reference` never enter the
        bytes. An arm this build or domain cannot serve is a typed 400
        SOLVER_REFUSED naming its unit — never a silent fallback. `preview` is a
        setting, not a result: the same body routes to the V tier and answers
        `kind: preview` with `result_id: null`.
      properties:
        device:
          description: who computes — never in the key (byte-exact device arms only; SC5)
          enum:
            - cpu
            - cuda
          type: string
        eigen:
          description: >-
            SC10.b: the eigen cases' `n_modes` as an ALIAS (modal, buckling,
            response spectrum, random vibration) under the same alias law as
            `nonlinear` (agree = one control and the same key, disagree =
            SOLVER_CONFLICT); a non-eigen domain refuses the block; never in the
            canonical bytes.
          properties:
            modes:
              maximum: 20
              minimum: 1
              type: integer
          type: object
        element:
          description: >-
            SC10.b: `mesh_opts.element_order` as an ALIAS (1 = hex8, 2 = hex20):
            lowered onto the mesh options when the request left the order at its
            default (the same key as spelling it there), SOLVER_CONFLICT when
            both are spelled and disagree.
          properties:
            order:
              enum:
                - 1
                - 2
              type: integer
          type: object
        linear:
          description: >-
            the linear solver family. SC1 arms: `pcg` forces the sparse PCG path
            under the dense ceiling on structural / thermal / electrostatics /
            thermal_structural / thermal_electric; on the CFD case `amg-pcg`
            (reference) | `pcg` (+ precond jacobi) select the pressure solver.
            SC2 arms on `nonlinear_static` and the `dynamic` case's nonlinear
            march: `amg-pcg` forces the sparse Newton route under the dense
            ceiling (above it that route IS the reference — the truth path's
            last dense wall is gone), `newton-krylov` runs it with the
            Eisenstat–Walker forcing term. The rest name their unit (SC2 slice 2
            / SC10). Y4.b (2026-10-15): `ams-gmres` on em_driven - restarted
            GMRES under the auxiliary-space (Hiptmair-Xu) preconditioner on the
            sparse cell pattern, the arm past the banded factor's cap (the IEEE
            1528 grids finer than 7.5 mm); a forked key, the banded LDLT the
            reference; metrics iterative_iterations / iterative_max.
          enum:
            - auto
            - direct
            - pcg
            - amg-pcg
            - bicgstab
            - minres
            - newton-krylov
            - ams-gmres
          type: string
        max_iters:
          description: >-
            the iteration cap (CFD: controls.max_iterations; the PCG families'
            100000 is keyed with SC10); on the nonlinear marches the sparse
            Newton route's PCG cap (reference 100000, keyed when it differs)
          type: integer
        nonlinear:
          description: >-
            SC10 slice 2: the Newton march's controls as ALIASES of the case's
            own fields (`n_increments`, `newton.max_iters` / `rtol` /
            `line_search`) - byte-identical: the gateway lowers each onto the
            case, a disagreement with the case's spelling is a typed 400
            SOLVER_CONFLICT, and the sub-block never enters the canonical bytes
            (an agreeing alias is the same result_id). Valid on
            `nonlinear_static` only.
          properties:
            increments:
              minimum: 1
              type: integer
            line_search:
              type: boolean
            max_iters:
              minimum: 1
              type: integer
            rtol:
              exclusiveMinimum: 0
              type: number
          type: object
        operator:
          description: >-
            assembled = the reference (the upper-CSR stiffness / conductivity);
            SC4 matrix-free on structural / thermal / thermal_structural (needs
            the iterative arm: `linear: pcg` under the dense ceiling): nothing
            assembled — the mesh's DISTINCT brick kernels (one on a uniform box;
            a handful on an octree mesh) applied element by element, memory ~10×
            down, block-Jacobi / Jacobi from the kernels' diagonals, a fixed
            summation order (thread-invariant; forks the key);
            `linear_operator_kernels` in metrics; SC4 slice 2: a distorted
            element (snapped / CSG-cut meshes) is applied as a CELL — its
            inverse Jacobian and detJ at the eight Gauss points, Bᵀ D B on the
            fly (`linear_operator_cells`); `precision: f32 | mixed` ride the
            operator through its fp32 kernel twins (the mixed arm's floor-aware
            stop included); prescribed displacements and springs ride it too;
            connections (SC4.b) and the device operator (SC5) do not yet.
          enum:
            - assembled
            - matrix-free
          type: string
        precision:
          description: >-
            f64 = the reference; SC3 on structural / thermal /
            thermal_structural (needs the iterative arm: `linear: pcg` under the
            dense ceiling): f32 = the fp32 kernels (f32 storage and vectors, f64
            chunked reductions — thread-invariant; reaches a relative residual
            of 1e-6 at most, so a tighter tolerance refuses typed; the achieved
            f64 residual in metrics `linear_residual_rel`), mixed = iterative
            refinement (the fp32 kernels solve the increment on the f64 defect,
            the f64 update, repeated to the f64 tolerance — an f64-accurate
            answer from fp32 kernels; `linear_refinements` and
            `linear_residual_rel` in metrics; a refinement that fails to halve
            the residual refuses typed); on the CFD case f32 = the S4 arm
            (forks). electrostatics / thermal_electric: SC3 slice 2.
          enum:
            - f64
            - f32
            - mixed
          type: string
        precond:
          description: >-
            the preconditioner; the reference is block-jacobi (3-dof) / jacobi
            (scalar) / amg (CFD pressure). Keyed variants land with SC10.
          enum:
            - none
            - jacobi
            - block-jacobi
            - ilu0
            - amg
          type: string
        preset:
          description: >-
            reference = today's bytes (the absence of an option); balanced = an
            f64 result on a keyed path (SC1: PCG at 1e-6 on the FEA families,
            looser residuals on the CFD case); fast = the fastest arm the
            machine serves (SC1: = balanced on the FEA families until SC3/SC4;
            f32 + looser residuals on the CFD case); preview = the V tier, kind:
            preview, result_id: null
          enum:
            - reference
            - balanced
            - fast
            - preview
          type: string
        reduction:
          description: >-
            reduced-order models (SC8). Slice 1: `{kind: modal, modes: N}` on
            the harmonic sweep — the response in the span of the N retained
            mass-normalised modes (q_j = φ_jᵀ f / (ω_j² − ω² + iω(α + β ω_j²))),
            forks the key, with its certificate in metrics: `reduction_f_max_hz`
            (the sweep's f_end must stay under 80 % of it — typed otherwise),
            `reduction_static_capture` (Σ (φ_jᵀ f)² / ω_j² over fᵀ K⁻¹ f — the
            fraction of the static load's strain energy the retained modes
            carry; 1 = the full basis),
            `reduction_effective_mass_ratio_{x,y,z}`; the error against the full
            sweep is measured under `reference: await`. The transient march,
            craig-bampton (F12's substructuring) and the hex20 sweep are slice
            2; pod slice 3. Slice 2 (2026-10-15): `{kind: modal | craig-bampton,
            modes: N, interface}` on the dynamic march - the Newmark step in the
            retained subspace with the static-capture certificate in
            `provenance.solver.report` (error <= 2(1 - capture) + 0.02 pinned on
            the bar).
          properties:
            interface:
              description: >-
                SC8 slice 2: the Craig-Bampton interface set on the transient
                march - `loaded` keeps the loaded nodes' dofs as the boundary
                set (capture 1.000 on the bar), `constrained` the supports';
                `none` is the modal arm. Spelled at its reference it never
                enters the key.
              enum:
                - none
                - loaded
                - constrained
              type: string
            kind:
              enum:
                - none
                - modal
                - craig-bampton
                - pod
              type: string
            modes:
              type: integer
          type: object
        reference:
          description: >-
            what else is computed beside a forked answer: none (default) returns
            the reference_key only; background queues the reference solve after
            the answer returns; await solves both and the answer's provenance
            carries the measured error. Never in the key; needs a synchronous
            solve.
          enum:
            - none
            - background
            - await
          type: string
        relaxation:
          description: >-
            the CFD case's under-relaxation (aliases controls.urf_momentum /
            urf_pressure, reference 0.7 / 0.3)
          properties:
            momentum:
              type: number
            pressure:
              type: number
          type: object
        sim:
          description: >-
            the rigid-body sub-block with the vendor-mapped names (SC6 / SC7).
            PGS is the reference. SC6 slice 1 (live, each forking the rollout
            through its frames): `early_out` — a relative residual tolerance on
            the contact rows (stop the impulse loop once the largest
            normal-impulse change of an iteration falls under early_out × the
            largest accumulated normal impulse; 0 = the reference's fixed count;
            `solver_iterations` on the rollout is the evidence),
            `position_iters` — positional correction passes after the
            integration (0 = none), `cone: elliptic` — the accumulated tangent
            pair projected onto the circular cone instead of the pyramidal box,
            `iters` — aliases the scene's `solver_iters` (equal = the same
            control, different = a typed conflict). SC7 slice 1 (live): `method:
            xpbd` — the position-based march (contacts as non-penetration rows
            with positional static friction and a velocity pass for restitution
            and dynamic friction, ball / distance joints as rigid attachment
            rows, substep-native, fixed row order; composes with none of the PGS
            loop's controls or the warm start; revolute / prismatic / fixed
            joints under it are SC7 slice 2, soft bodies slice 2, `method:
            projective` slice 3). SC6 slice 2: `method: tgs` (substep-split),
            `contact: soft {solref, solimp}`, `integrator: implicit-fast`.
          properties:
            cone:
              enum:
                - pyramidal
                - elliptic
              type: string
            contact:
              properties:
                friction:
                  description: >-
                    SC6.b: the friction rows' law — rigid (the default: Coulomb
                    rows bounded by mu lambda_n) or soft (MuJoCo's regularised
                    friction: the rows take the normal row's impedance on their
                    effective mass and the -b v damping target, so a loaded
                    contact creeps at a_t (1 - h b) / b). soft needs kind soft.
                  enum:
                    - rigid
                    - soft
                  type: string
                kind:
                  type: string
                solimp:
                  items:
                    type: number
                  type: array
                solref:
                  items:
                    type: number
                  type: array
              type: object
            early_out:
              type: number
            integrator:
              enum:
                - semi-implicit
                - implicit-fast
                - rk4
              type: string
            iters:
              type: integer
            method:
              enum:
                - pgs
                - tgs
                - xpbd
                - projective
              type: string
            position_iters:
              type: integer
          type: object
        time:
          description: >-
            SC10 slice 2: the transient march's controls as ALIASES of the
            case's `n_steps` / `t_end` / `newmark_beta` + `newmark_gamma` under
            the same alias law as `nonlinear` (agree = the same key, disagree =
            SOLVER_CONFLICT), plus `restart_from`. Valid on `dynamic` only.
          properties:
            newmark:
              description: '[beta, gamma]'
              items:
                type: number
              maxItems: 2
              minItems: 2
              type: array
            restart_from:
              description: >-
                a cached dynamic result_id whose final displacement and velocity
                become this march's start state (the O9 `initial_state` restart,
                lowered before the block); the state's values carry the key, the
                name does not; a non-dynamic key, a request with its own start
                state or a non-dynamic domain refuse typed.
              type: string
            steps:
              minimum: 1
              type: integer
            t_end:
              exclusiveMinimum: 0
              type: number
          type: object
        tolerance:
          description: >-
            the iterative arm's relative residual: on the PCG families ‖r‖ ≤ tol
            ‖b‖ (reference 1e-12; enters the key only when it differs; a keyed
            tolerance on a model the ceiling routes to dense Cholesky refuses
            typed — set linear: pcg); on the CFD case t lowers to
            controls.residual_p = t, residual_u = t / 10 (reference 1e-5); on
            the nonlinear marches (nonlinear_static, the dynamic case's
            nonlinear march) the sparse Newton route's linear relative residual
            on the AMG-PCG's normalised residual (reference 1e-12; a keyed value
            on a model the ceiling routes to dense Cholesky refuses typed — set
            linear: amg-pcg)
          type: number
        warm_start:
          description: >-
            SC1 slice 2 (speed-ladder rung 1): seed the PCG from a cached result
            on the SAME mesh — the one `warm_start_key` names, else the nearest
            (the most recent succeeded run of the same solver and domain on this
            mesh carrying the seed field; typed when none exists: a warm start
            never falls back to a cold one). structural / thermal_structural
            seed from a displacement, thermal from a temperature, electrostatics
            from a potential, thermal_electric from the potential then the
            temperature (SC1 slice 3; the prescribed / spring / connection cases
            and the radiation fixed point take the seed too); needs the
            iterative arm (`linear: pcg` under the dense ceiling — a seed on the
            dense route refuses typed). Forks the key: the seed key enters the
            bytes.
          type: boolean
        warm_start_key:
          description: >-
            SC1 slice 2: the result key the warm start seeds from
            (`b3:<64-hex>`). Set by the engine to the nearest cached key when
            absent; given explicitly it must be a cached result of this solver
            and domain on this mesh (typed otherwise). Reported in
            provenance.solver.expanded; the same body seeded from two keys is
            two keys.
          type: string
      type: object
    StoragePlacement:
      description: >-
        Per-solve storage placement, beside `compute`: where this solve's blobs
        (the model document, the mesh, the fields, the log, the trace) are
        written. Placement never changes result bytes or the `result_key`; the
        run record and the provenance carry the instance id, and a verify
        re-solve writes to the same place. A read by key (`GET /v1/blobs/{id}`)
        finds the bytes in whichever instance holds them.
      properties:
        blobs:
          description: >-
            A blob storage instance id (`si_…`, `GET /v1/storage.instances`).
            Omitted = the org's default (`PUT /v1/storage.defaults`), else the
            engine's own store. 404 `STORAGE_NOT_FOUND` when your org may not
            use it, 409 `STORAGE_READ_ONLY` when it is retired.
          type: string
      type: object
    WebhookSpec:
      description: >-
        SD5: a signed webhook on an async job's completion — one POST of the
        finished job record to `url` with `x-eddy-signature: blake3=<hex>` (a
        keyed BLAKE3 MAC over the body, the key derived from `secret`),
        `x-eddy-job` and `x-eddy-event` (done | error); three attempts with
        backoff, logged on the job record under `webhook`. A sync solve answers
        inline and carries no webhook.
      properties:
        secret:
          description: >-
            The shared secret the signature is keyed with; empty = the empty key
            (treat as unsigned).
          type: string
        url:
          type: string
      required:
        - url
      type: object
    Provenance:
      properties:
        model_hash:
          type: string
        report_uri:
          type: string
        result_key:
          type: string
        runtime_profile:
          type: string
        solver:
          $ref: '#/components/schemas/SolverProvenance'
        solver_build_hash:
          type: string
        solver_id:
          type: string
        solver_version:
          type: string
        storage:
          description: >-
            The blob storage instance (`si_…`) the run's blobs were written to;
            absent when they are in the engine's own store.
          type: string
      type: object
    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
    SolverProvenance:
      description: 'SC1: present when the request carried a `solver` block.'
      properties:
        determinism:
          enum:
            - any-machine
            - same-device-class
            - none
          type: string
        expanded:
          $ref: '#/components/schemas/SolverBlock'
          description: every field resolved for the domain
        forks_key:
          type: boolean
        preset:
          description: the preset tag with its version, e.g. balanced@1
          type: string
        reference_error:
          additionalProperties:
            $ref: '#/components/schemas/FieldError'
          description: field-wise error against the cached reference
          type: object
        reference_key:
          description: >-
            the key of the same body under preset reference — a content address,
            present before the reference has run
          type: string
        reference_status:
          enum:
            - reference
            - none
            - cached
            - queued
          type: string
        report:
          description: >-
            SC10 slice 1: the solver report — `log` (the worker's route line
            with its iteration counts), `linear_iterations` (parsed from it),
            `counts` (every iteration / residual / refinement / reduction metric
            the solve recorded); per-iteration histories and the streamed form
            are slice 2
          properties:
            counts:
              additionalProperties:
                type: number
              type: object
            linear_iterations:
              type: number
            log:
              type: string
          type: object
        requested:
          $ref: '#/components/schemas/SolverBlock'
          description: >-
            the block as normalised at the gateway (the preset, the keyed
            fields, the carriers, the resolved domain)
      type: object
    FieldError:
      properties:
        max_abs:
          type: number
        max_rel:
          description: max |a − r| / max |r|
          type: number
        rel_l2:
          description: ‖a − r‖₂ / ‖r‖₂
          type: number
      type: object
  responses:
    JobAccepted:
      content:
        application/json:
          schema:
            properties:
              events:
                example: /v1/jobs/job-000001-…/events
                type: string
              job_id:
                type: string
              phase:
                example: queued
                type: string
              poll:
                example: /v1/jobs/job-000001-…
                type: string
            type: object
      description: >-
        Accepted as an async job (estimated cost above the sync threshold, or
        mode=async). Follow `poll` (JSON) or `events` (SSE).
    TypedError:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
      description: Typed error — never a bare 500
  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.