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

# Coarse-first FEA preview (V3) -- the native deterministic solver at a coarse element-size ladder, unverified, outside the result path

> Runs the ordinary native deterministic pipeline (mesh -> project -> solve) at a deterministic coarse-first element-size ladder derived from the requested resolution (default 4x then 2x; 'rungs': N extends it to the power-of-two ladder ending at 1x), returning per-rung fields for immediate rendering. Same solver, same bytes: a rung's SSFLD1 field blobs are byte-identical to what a real solve at that element size persists. V-tier doctrine: the response is a preview, not a result -- it mints no result keys, is never content-addressed as a solve, persists nothing, never feeds the training corpus, and carries the mandatory 'preview -- not verified' label. Rungs over the interactivity node cap are refused typed (a preview answers or refuses, never queues). Domains: structural (default) and thermal; everything else is a typed refusal. Geometry: primitive | csg | assembly (an uploaded mesh has one fixed resolution and cannot ladder; imported CAD is a named residual).



## OpenAPI

````yaml openapi.json POST /v1/preview.solve
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/preview.solve:
    post:
      tags:
        - preview
      summary: >-
        Coarse-first FEA preview (V3) -- the native deterministic solver at a
        coarse element-size ladder, unverified, outside the result path
      description: >-
        Runs the ordinary native deterministic pipeline (mesh -> project ->
        solve) at a deterministic coarse-first element-size ladder derived from
        the requested resolution (default 4x then 2x; 'rungs': N extends it to
        the power-of-two ladder ending at 1x), returning per-rung fields for
        immediate rendering. Same solver, same bytes: a rung's SSFLD1 field
        blobs are byte-identical to what a real solve at that element size
        persists. V-tier doctrine: the response is a preview, not a result -- it
        mints no result keys, is never content-addressed as a solve, persists
        nothing, never feeds the training corpus, and carries the mandatory
        'preview -- not verified' label. Rungs over the interactivity node cap
        are refused typed (a preview answers or refuses, never queues). Domains:
        structural (default) and thermal; everything else is a typed refusal.
        Geometry: primitive | csg | assembly (an uploaded mesh has one fixed
        resolution and cannot ladder; imported CAD is a named residual).
      operationId: previewSolve
      requestBody:
        content:
          application/json:
            schema:
              properties:
                constraints:
                  description: structural constraints (structural domain only)
                  items:
                    $ref: '#/components/schemas/Constraint'
                  type: array
                domain:
                  default: structural
                  description: >-
                    'structural' | 'thermal' -- everything else refuses typed
                    (UNSUPPORTED_PREVIEW_DOMAIN)
                  type: string
                fixed_temps:
                  description: Dirichlet temperatures (thermal domain only)
                  items:
                    type: object
                  type: array
                geometry:
                  $ref: '#/components/schemas/GeometryIn'
                heat_loads:
                  description: heat flux/power loads (thermal domain only)
                  items:
                    type: object
                  type: array
                load_cases:
                  description: >-
                    M7 multi-case list (structural domain only; mutually
                    exclusive with loads/constraints)
                  items:
                    type: object
                  type: array
                loads:
                  description: structural loads (structural domain only)
                  items:
                    $ref: '#/components/schemas/Load'
                  type: array
                material:
                  $ref: '#/components/schemas/Material'
                mesh_opts:
                  $ref: '#/components/schemas/MeshOpts'
                quality:
                  description: >-
                    'draft' | 'standard' | 'fine' -- resolved to a concrete
                    element size exactly like a real solve; the ladder derives
                    from it. The ladder needs a concrete base resolution: set
                    mesh_opts.element_size or a resolving quality tier
                  type: string
                rungs:
                  description: >-
                    Progressive-refinement ladder depth (additive). Absent keeps
                    the original coarse-only [4x, 2x] ladder byte-identically; N
                    runs the deterministic power-of-two ladder 2^(N-1)..1 so the
                    finest rung IS the requested resolution. Pure function of
                    the request -- never adaptive
                  maximum: 6
                  minimum: 1
                  type: integer
                solver_version:
                  description: empty = the domain's default solver, echoed back
                  type: string
              required:
                - geometry
                - material
              type: object
        required: true
      responses:
        '200':
          description: >-
            Coarse-first rungs {factor, element_size, mesh counts, SSFLD1 field
            blobs (base64, byte-identical to a real solve at that size), SSVIZ1
            skin viz of the display field} plus typed refused rungs, labeled
            'preview -- not verified'; no result key, nothing persisted
        '400':
          $ref: '#/components/responses/TypedError'
      security:
        - apiKey: []
        - {}
components:
  schemas:
    Constraint:
      properties:
        fixed:
          default: all
          enum:
            - all
            - x
            - 'y'
            - z
          type: string
        region:
          example: x_min
          type: string
      required:
        - region
      type: object
    GeometryIn:
      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:
      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
    MeshOpts:
      properties:
        element_order:
          default: 1
          description: 1 = hex8, 2 = hex20 (C3D20-matched second-order elements)
          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:
            axis_levels:
              description: >-
                RC1.F1: refinement levels per axis [x, y, z] in place of
                `levels` in all three, e.g. [1, 1, 0] to refine only the axes a
                fillet varies along. Present forks the result key.
              items:
                minimum: 0
                type: integer
              maxItems: 3
              minItems: 3
              type: array
            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_pillow:
          default: false
          description: >-
            RC1.F1: one layer of hexes under the snapped faces (mesh_conform
            "snap"|"snap2"), its inner nodes smoothed, so a snapped fillet keeps
            no inverted or degenerate element. With mesh_octree the box is
            voxelized at the fine pitch. Refused typed where the layer cannot
            fit (a base grid off the part's flat faces with an octree box).
            Absent or false keeps the mesh and the key; true forks the result
            key. Without it, a snapped mesh with bad elements solves as before
            and its result carries mesh_degenerate_elements,
            mesh_min_scaled_jacobian and a MESH_QUALITY warning.
          type: boolean
        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
        stress_recovery:
          default: centroid
          description: >-
            AS16: `extrapolated` adds the `von_mises_extrapolated` field: the
            von Mises stress recovered from the integration points — each
            element's 2×2×2 Gauss-point stress extrapolated (trilinearly) to its
            corners and averaged at shared nodes, so a surface bending stress is
            read at the surface — beside the element-centre `von_mises`
            (unchanged). Asked or not, a hex8 or hex20 solve (its corner field)
            reports that stress's peak as `max_von_mises_extrapolated` and
            stands `min_fos` on it (`min_fos_centroid` is the element-centre
            factor). Absent or `centroid` keeps the params byte-identical;
            `extrapolated` forks the result key.
          enum:
            - centroid
            - extrapolated
          type: string
      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
    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
  responses:
    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.