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

# Refine an Explore setup (DX6 / DX6.b) -- the same setup through the ordinary content-addressed truth pipeline (structural, modal, random vibration, thermal, flow)

> Discovery's stage switch: the SAME body /v1/preview.explore took (geometry, fidelity, material, conditions by B-Rep face id, physics) is mapped onto the truth route's request -- physics structural onto /v1/solve.structural, modal onto /v1/solve.modal, random_vibration onto /v1/solve.random_vibration, thermal onto /v1/solve.thermal -- and run through the ordinary solve lifecycle with the same builders, so the answer IS that route's result for the mapped body (a cache hit when it already exists; POST the echoed `refine.solve` to refine.pipeline and the result_id is the same). The structural map (DX6, DX6.b): fixed_support -> constraints {region face:<id>, fixed all}; symmetry and a sliding support on an axis-aligned plane -> {fixed normal}; a sliding cylinder -> cylindrical {radial held}; hinged_support / cylindrical_support -> cylindrical {axis_origin, axis_dir from the fitted cylinder, radial, axial, tangential}; ball_support -> a rigid remote point at the face's B-rep centroid with remote_displacements {u 0, rot free}; force -> loads {region, force}; pressure -> loads {region, pressure}; gravity -> body_loads {accel: g}; acceleration a -> body_loads {accel: -a}; velocity -> body_loads {omega, axis_origin, axis_dir}; displacement -> fixed axes (0) and prescribed {dof, value}, with a rotation a rigid remote point at the origin (default the B-rep centroid) and its six prescribed components; remote_displacement -> a rigid remote point; moment and remote_force -> a deformable (RBE3) remote point's remote_loads; added_mass -> a deformable remote point's point_masses (under the body accelerations); bearing_load -> surface_loads {bearing}; spring -> a rigid remote point's point_springs on its global axis (preload as its remote load; the truth's spring holds the face rigid, Explore's couples its mean motion -- the map entry says so). An assembly (box parts) maps onto the truth's welded box assembly with extra_materials + material_regions part:<id>: supports name the merged box faces x_min ... z_max, forces may scope part:<id>@box:. Modal and random vibration map the Dirichlet supports (fixed, axis-aligned symmetry / sliding, held displacement components) and list the loads as ignored (as the Explore modal does without prestress); the psd conditions become direction, table (in (m/s^2)^2/Hz), damping_ratio and extra_inputs (the truth sums the modal variances, Explore keeps the cross terms -- they agree where the modes are apart). The thermal map (wave 5): temperature -> fixed_temps {region face:<id>, t}; convection -> convection {region, h, t_amb}; heat per_area -> heat_loads {flux}; heat total on a face -> heat_loads {power}; heat per_volume -> generation; a body heat total -> generation = total / the B-rep volume (noted); insulated -> the natural boundary (listed with to: natural, no row); the material's k (the truth validates e > 0 and 0 <= nu < 0.5 even for conduction, so the material needs them). A modal Refine also pairs the truth modes with Explore's by MAC (refine.modal_comparison: the Explore modal solved again; both read at the truth mesh's nodes inside Explore's active voxels; mac [Explore mode][truth mode] = (phi_e . phi_r)^2 / ((phi_e . phi_e)(phi_r . phi_r)), unweighted; pairs [{explore_mode, refine_mode, mac, sign, explore_frequency, refine_frequency, gap}] greedy from the largest MAC, so modes that swap order pair right; order_swaps; paired_mac_min_first3; `include_shapes` adds both stages' shapes at <= 4096 of those points as f32 base64). It sits beside the result, never in it (the address is the truth solve's); a queued (202) Refine carries refine.modal_comparison_note instead (POST again once done, a cache hit), a failed comparison refine.modal_comparison_error. The truth mesh is the boundary-snapped hex20 voxel mesh with face node sets (mesh_conform snap2, element_order 2, mesh_face_sets: the plain voxel mesh reads 14-21 % soft on CSG parts -- DX0.b's L-bracket comes out a whole number of cells thick -- and on that part hex8 snap still moves 5 % between 2.5 and 1.25 mm where hex20 snap2 moves 0.36 %; an assembly takes the welded box mesh; the response names it in refine.mesh_conform and refine.mesh_note) at element_size = 2 x the Explore voxel size at that fidelity (the one slider drives both stages) unless `element_size` [m] is given; a structural Refine also asks for mesh_opts.stress_recovery 'extrapolated' (point stresses on the truth side interpolate the extrapolated nodal stress -- the centroid field reads 4-22 % low at surface points). Refusals, typed and naming why (never a silently dropped condition): physics without a Refine mapping (PREVIEW_EXPLORE_PHYSICS: flow, em), a condition with no truth equivalent (PREVIEW_EXPLORE_CONDITION: bolt_preload -- no pretension section; an inclined symmetry or sliding plane -- the truth's normal support is axis-aligned; a sliding face neither plane nor cylinder; a spring off the global axes; an added mass under a spin; in a modal or random vibration any support but the Dirichlet ones, an added mass or a pre-stress; an assembly face the welded mesh does not name), a recipe assembly or a curved assembly part or an assembly on a modal route (PREVIEW_EXPLORE_MULTIBODY), a face the part does not have, no support the truth path holds, the Explore route's own condition refusals (a thermal setup's structural or radiation condition: PREVIEW_EXPLORE_CONDITION), a thermal setup without k, e or nu, without a temperature or convection, or with an insulated face that carries heat (INVALID_PREVIEW), a thermal assembly (PREVIEW_EXPLORE_MULTIBODY). The response is the truth solve's own (result_id, cached, kind 'result', fields, metrics, provenance) plus `stage: refine` and `refine {pipeline, solve, conditions [{condition, type, to (the rows' places, joined with ' + '), row (one row, or the list), note?}], element_size, element_size_rule, mesh_conform, mesh_note, note, modal_comparison?}`. DX4: physics flow maps onto /v1/solve.cfd (native-cfd) for an internal flow whose openings are the body's bounding faces (inlet plug -> inlet, outlet pressure -> outlet p_ref = p / rho, moving walls -> walls, slip / symmetry -> symmetry; the LES maps to laminar up to Re 2000 and to k_omega_sst above it), with refine.flow_comparison (both stages' pressure drop read the same way); external flows and openings off the six bounding faces refuse typed (PREVIEW_EXPLORE_NO_TRUTH).



## OpenAPI

````yaml openapi.json POST /v1/preview.explore.refine
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.explore.refine:
    post:
      tags:
        - preview
      summary: >-
        Refine an Explore setup (DX6 / DX6.b) -- the same setup through the
        ordinary content-addressed truth pipeline (structural, modal, random
        vibration, thermal, flow)
      description: >-
        Discovery's stage switch: the SAME body /v1/preview.explore took
        (geometry, fidelity, material, conditions by B-Rep face id, physics) is
        mapped onto the truth route's request -- physics structural onto
        /v1/solve.structural, modal onto /v1/solve.modal, random_vibration onto
        /v1/solve.random_vibration, thermal onto /v1/solve.thermal -- and run
        through the ordinary solve lifecycle with the same builders, so the
        answer IS that route's result for the mapped body (a cache hit when it
        already exists; POST the echoed `refine.solve` to refine.pipeline and
        the result_id is the same). The structural map (DX6, DX6.b):
        fixed_support -> constraints {region face:<id>, fixed all}; symmetry and
        a sliding support on an axis-aligned plane -> {fixed normal}; a sliding
        cylinder -> cylindrical {radial held}; hinged_support /
        cylindrical_support -> cylindrical {axis_origin, axis_dir from the
        fitted cylinder, radial, axial, tangential}; ball_support -> a rigid
        remote point at the face's B-rep centroid with remote_displacements {u
        0, rot free}; force -> loads {region, force}; pressure -> loads {region,
        pressure}; gravity -> body_loads {accel: g}; acceleration a ->
        body_loads {accel: -a}; velocity -> body_loads {omega, axis_origin,
        axis_dir}; displacement -> fixed axes (0) and prescribed {dof, value},
        with a rotation a rigid remote point at the origin (default the B-rep
        centroid) and its six prescribed components; remote_displacement -> a
        rigid remote point; moment and remote_force -> a deformable (RBE3)
        remote point's remote_loads; added_mass -> a deformable remote point's
        point_masses (under the body accelerations); bearing_load ->
        surface_loads {bearing}; spring -> a rigid remote point's point_springs
        on its global axis (preload as its remote load; the truth's spring holds
        the face rigid, Explore's couples its mean motion -- the map entry says
        so). An assembly (box parts) maps onto the truth's welded box assembly
        with extra_materials + material_regions part:<id>: supports name the
        merged box faces x_min ... z_max, forces may scope part:<id>@box:. Modal
        and random vibration map the Dirichlet supports (fixed, axis-aligned
        symmetry / sliding, held displacement components) and list the loads as
        ignored (as the Explore modal does without prestress); the psd
        conditions become direction, table (in (m/s^2)^2/Hz), damping_ratio and
        extra_inputs (the truth sums the modal variances, Explore keeps the
        cross terms -- they agree where the modes are apart). The thermal map
        (wave 5): temperature -> fixed_temps {region face:<id>, t}; convection
        -> convection {region, h, t_amb}; heat per_area -> heat_loads {flux};
        heat total on a face -> heat_loads {power}; heat per_volume ->
        generation; a body heat total -> generation = total / the B-rep volume
        (noted); insulated -> the natural boundary (listed with to: natural, no
        row); the material's k (the truth validates e > 0 and 0 <= nu < 0.5 even
        for conduction, so the material needs them). A modal Refine also pairs
        the truth modes with Explore's by MAC (refine.modal_comparison: the
        Explore modal solved again; both read at the truth mesh's nodes inside
        Explore's active voxels; mac [Explore mode][truth mode] = (phi_e .
        phi_r)^2 / ((phi_e . phi_e)(phi_r . phi_r)), unweighted; pairs
        [{explore_mode, refine_mode, mac, sign, explore_frequency,
        refine_frequency, gap}] greedy from the largest MAC, so modes that swap
        order pair right; order_swaps; paired_mac_min_first3; `include_shapes`
        adds both stages' shapes at <= 4096 of those points as f32 base64). It
        sits beside the result, never in it (the address is the truth solve's);
        a queued (202) Refine carries refine.modal_comparison_note instead (POST
        again once done, a cache hit), a failed comparison
        refine.modal_comparison_error. The truth mesh is the boundary-snapped
        hex20 voxel mesh with face node sets (mesh_conform snap2, element_order
        2, mesh_face_sets: the plain voxel mesh reads 14-21 % soft on CSG parts
        -- DX0.b's L-bracket comes out a whole number of cells thick -- and on
        that part hex8 snap still moves 5 % between 2.5 and 1.25 mm where hex20
        snap2 moves 0.36 %; an assembly takes the welded box mesh; the response
        names it in refine.mesh_conform and refine.mesh_note) at element_size =
        2 x the Explore voxel size at that fidelity (the one slider drives both
        stages) unless `element_size` [m] is given; a structural Refine also
        asks for mesh_opts.stress_recovery 'extrapolated' (point stresses on the
        truth side interpolate the extrapolated nodal stress -- the centroid
        field reads 4-22 % low at surface points). Refusals, typed and naming
        why (never a silently dropped condition): physics without a Refine
        mapping (PREVIEW_EXPLORE_PHYSICS: flow, em), a condition with no truth
        equivalent (PREVIEW_EXPLORE_CONDITION: bolt_preload -- no pretension
        section; an inclined symmetry or sliding plane -- the truth's normal
        support is axis-aligned; a sliding face neither plane nor cylinder; a
        spring off the global axes; an added mass under a spin; in a modal or
        random vibration any support but the Dirichlet ones, an added mass or a
        pre-stress; an assembly face the welded mesh does not name), a recipe
        assembly or a curved assembly part or an assembly on a modal route
        (PREVIEW_EXPLORE_MULTIBODY), a face the part does not have, no support
        the truth path holds, the Explore route's own condition refusals (a
        thermal setup's structural or radiation condition:
        PREVIEW_EXPLORE_CONDITION), a thermal setup without k, e or nu, without
        a temperature or convection, or with an insulated face that carries heat
        (INVALID_PREVIEW), a thermal assembly (PREVIEW_EXPLORE_MULTIBODY). The
        response is the truth solve's own (result_id, cached, kind 'result',
        fields, metrics, provenance) plus `stage: refine` and `refine {pipeline,
        solve, conditions [{condition, type, to (the rows' places, joined with '
        + '), row (one row, or the list), note?}], element_size,
        element_size_rule, mesh_conform, mesh_note, note, modal_comparison?}`.
        DX4: physics flow maps onto /v1/solve.cfd (native-cfd) for an internal
        flow whose openings are the body's bounding faces (inlet plug -> inlet,
        outlet pressure -> outlet p_ref = p / rho, moving walls -> walls, slip /
        symmetry -> symmetry; the LES maps to laminar up to Re 2000 and to
        k_omega_sst above it), with refine.flow_comparison (both stages'
        pressure drop read the same way); external flows and openings off the
        six bounding faces refuse typed (PREVIEW_EXPLORE_NO_TRUTH).
      operationId: previewExploreRefine
      requestBody:
        content:
          application/json:
            schema:
              properties:
                compare:
                  default: true
                  description: >-
                    modal: pair the truth modes with Explore's by MAC
                    (refine.modal_comparison; the Explore modal is solved again)
                  type: boolean
                conditions:
                  description: the Explore conditions, unchanged
                  items:
                    type: object
                  type: array
                element_size:
                  description: >-
                    truth-mesh element size [m]; absent = 2 x the Explore voxel
                    size
                  type: number
                fidelity:
                  default: 3
                  description: the Explore fidelity level 1..=5 (drives the element size)
                  type: integer
                geometry:
                  $ref: '#/components/schemas/GeometryIn'
                include_shapes:
                  default: false
                  description: >-
                    modal: also return both stages' mode shapes at <= 4096 of
                    the common points (f32 base64)
                  type: boolean
                material:
                  description: >-
                    {e [Pa], nu, rho [kg/m^3], yield [Pa]?, k [W/(m K)]?, id?}
                    -- the Explore material (thermal: k, with e and nu for the
                    truth path's validation)
                  type: object
                mode:
                  description: auto (default) | sync | async -- the ordinary lifecycle's
                  type: string
                physics:
                  default: structural
                  description: >-
                    structural -> /v1/solve.structural | modal ->
                    /v1/solve.modal | random_vibration ->
                    /v1/solve.random_vibration | thermal -> /v1/solve.thermal
                  type: string
                segments:
                  default: 48
                  type: integer
                voxel_size:
                  description: the Explore setup's explicit voxel size, when it used one
                  type: number
              required:
                - geometry
                - material
              type: object
        required: true
      responses:
        '200':
          description: >-
            the truth route's response for the mapped body (/v1/solve.structural
            | /v1/solve.modal | /v1/solve.random_vibration | /v1/solve.thermal)
            + stage 'refine' + refine {pipeline, solve, conditions,
            element_size, element_size_rule, mesh_conform, mesh_note, note,
            modal_comparison?}
        '202':
          description: >-
            queued (async): the job, as the truth route answers it, + the refine
            block
        '400':
          $ref: '#/components/responses/TypedError'
        '422':
          $ref: '#/components/responses/TypedError'
      security:
        - apiKey: []
        - {}
components:
  schemas:
    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
    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.