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

# A policy or a beam search played out on a target mesh (M2C3, M2C4a, M2C5 profile moves)

> With `policy_key` (a `mesh2cad_policy` artifact) the learned scorer ranks every candidate move the environment draws from the residual's blobs -- boxes over a blob and its core, shrunk and grown, cylinders along each axis, cuts exact and grown into free space -- and the kernel verifies only the best `verify_top`, taking the best real reward while one gains: the model prioritises, the kernel decides. Without a key the greedy rule policy plays. With `beam` (M2C4a) a beam search keeps `width` partial recipes alive and expands each by its `expand` best-ranked candidates a step (0 = every candidate; the policy's order with a key, the environment's without), the kernel building or refusing each child; a node with no gaining child stays as a finished leaf, so a locally best move the kernel then refuses to build on is pruned by the branches that kept the doors open, and a beam whose every node is finished revives the best open children it discarded; the answer's `search` carries the depth, dead ends and children explored. Answers the recipe, the IoU curve, the kernel calls spent, the refusals met, the final metrics and residual. A key that is not a policy is 400, one trained on another feature width is 400 STALE_POLICY (retrain), an unknown key or blob 404. The beam keeps one slot per OPENING (the base's kind and axis) before filling the width by score; `search.opening` names the answer's. A state whose solid is a facet soup (over 2000 faces; 8000 with `profiles`) is not expanded; `search.heavy` counts them. With `profiles` (M2C5) every state also draws PROFILE MOVES beside the primitives: the best outlines on the grading grid -- which columns to add or cut over which range of slices along x, y or z, which rings to add or cut about an axis through the target's centroid, its best axis of revolution or a missing blob -- each outline's connected pieces traced into polygon sketches with their holes, simplified, laid off the voxel grid (general position), grown a cell into what the move does not change, scored exactly with no kernel call and the best refined a vertex at a time; the kernel extrudes or revolves them and decides what builds. On four AI concept meshes the play with profiles reads 0.966 / 0.869 / 0.887 / 0.918 on its own 64-cell grid's bits where the primitives alone read 0.946 / 0.671 / 0.747 / 0.807 -- and 0.928 / 0.851 / 0.845 / 0.904 by volume (M2C6.b: one bit a cell flatters the search that steers by it; /v1/ideate.fit `method: profiles` plays on 96 cells, polishes with the snap and reports the coverage IoU: 0.959 / 0.883 / 0.866 / 0.918).



## OpenAPI

````yaml openapi.json POST /v1/mesh2cad.env.play
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/mesh2cad.env.play:
    post:
      tags:
        - req
      summary: >-
        A policy or a beam search played out on a target mesh (M2C3, M2C4a, M2C5
        profile moves)
      description: >-
        With `policy_key` (a `mesh2cad_policy` artifact) the learned scorer
        ranks every candidate move the environment draws from the residual's
        blobs -- boxes over a blob and its core, shrunk and grown, cylinders
        along each axis, cuts exact and grown into free space -- and the kernel
        verifies only the best `verify_top`, taking the best real reward while
        one gains: the model prioritises, the kernel decides. Without a key the
        greedy rule policy plays. With `beam` (M2C4a) a beam search keeps
        `width` partial recipes alive and expands each by its `expand`
        best-ranked candidates a step (0 = every candidate; the policy's order
        with a key, the environment's without), the kernel building or refusing
        each child; a node with no gaining child stays as a finished leaf, so a
        locally best move the kernel then refuses to build on is pruned by the
        branches that kept the doors open, and a beam whose every node is
        finished revives the best open children it discarded; the answer's
        `search` carries the depth, dead ends and children explored. Answers the
        recipe, the IoU curve, the kernel calls spent, the refusals met, the
        final metrics and residual. A key that is not a policy is 400, one
        trained on another feature width is 400 STALE_POLICY (retrain), an
        unknown key or blob 404. The beam keeps one slot per OPENING (the base's
        kind and axis) before filling the width by score; `search.opening` names
        the answer's. A state whose solid is a facet soup (over 2000 faces; 8000
        with `profiles`) is not expanded; `search.heavy` counts them. With
        `profiles` (M2C5) every state also draws PROFILE MOVES beside the
        primitives: the best outlines on the grading grid -- which columns to
        add or cut over which range of slices along x, y or z, which rings to
        add or cut about an axis through the target's centroid, its best axis of
        revolution or a missing blob -- each outline's connected pieces traced
        into polygon sketches with their holes, simplified, laid off the voxel
        grid (general position), grown a cell into what the move does not
        change, scored exactly with no kernel call and the best refined a vertex
        at a time; the kernel extrudes or revolves them and decides what builds.
        On four AI concept meshes the play with profiles reads 0.966 / 0.869 /
        0.887 / 0.918 on its own 64-cell grid's bits where the primitives alone
        read 0.946 / 0.671 / 0.747 / 0.807 -- and 0.928 / 0.851 / 0.845 / 0.904
        by volume (M2C6.b: one bit a cell flatters the search that steers by it;
        /v1/ideate.fit `method: profiles` plays on 96 cells, polishes with the
        snap and reports the coverage IoU: 0.959 / 0.883 / 0.866 / 0.918).
      operationId: mesh2cadEnvPlay
      requestBody:
        content:
          application/json:
            schema:
              properties:
                beam:
                  description: >-
                    M2C4a: a beam search over the environment; absent, one
                    recipe plays.
                  properties:
                    expand:
                      default: 0
                      description: >-
                        Candidates expanded per node a step; 0 expands every
                        candidate.
                      maximum: 64
                      type: integer
                    max_calls:
                      default: 0
                      description: >-
                        A kernel-call budget for the search; 0 = none.
                        `search.budget_hit` in the answer says when it bound
                        (the ring booleans make a wide beam on a large mesh an
                        hour's work).
                      type: integer
                    width:
                      default: 4
                      maximum: 32
                      minimum: 1
                      type: integer
                  type: object
                cost:
                  default: 0.002
                  type: number
                fallback:
                  default: true
                  description: >-
                    When the shortlist gains nothing, verify the remaining
                    candidates in the model's order before stopping (the model's
                    fit); false plays the shortlist alone (the model's calls).
                  type: boolean
                longest:
                  default: 64
                  maximum: 128
                  minimum: 16
                  type: integer
                max_per_blob:
                  default: 12
                  type: integer
                max_steps:
                  default: 24
                  maximum: 200
                  type: integer
                min_p:
                  default: 0
                  description: >-
                    With `rank: gain` and a legality head: a candidate under
                    this chance of building is not tried. 0 keeps every
                    candidate (an exhaustive play's fit).
                  maximum: 1
                  minimum: 0
                  type: number
                policy_key:
                  type: string
                profiles:
                  description: >-
                    M2C5: draw the PROFILE MOVES (traced outlines, extruded and
                    revolved, as unions and as cuts) beside the primitives at
                    every state. `true` for the defaults or an object of
                    options; implies `rank: gain` (`rank: model` with it is
                    400). A profile the kernel refuses is asked once more a
                    little aside, so `kernel_calls` may exceed the candidates
                    verified.
                  oneOf:
                    - type: boolean
                    - properties:
                        band:
                          default: 0.1
                          description: >-
                            M2C6.f: THE SURFACE BAND IN THE REWARD. A step's
                            reward is its change of IoU plus this weight times
                            its change of band -- the share of the mesh's
                            surface within a hundredth of the extent of the
                            recipe's surface and the reverse, the smaller of the
                            two, by exact distances. A thin web across a wheel's
                            openings or a cut that hollows a rim gains the IoU a
                            hundredth and costs the band a half: at 0.1 the band
                            wins. 0: the IoU alone (every play before M2C6.f).
                            Every fit's `surface` carries the band (`within`,
                            `a_within`, `b_within`, `band_rel`) beside its
                            distances.
                          maximum: 1
                          minimum: 0
                          type: number
                        blobs:
                          default: 4
                          description: >-
                            M2C6.h: the residual's largest blobs that draw
                            candidates at a state. Four by default: eight drew
                            the cylinder cap's bolt holes no better (a hole
                            three cells across is worth less than a feature's
                            cost) and cost the pillow block's band. For a part
                            whose residual is many small pieces.
                          maximum: 16
                          minimum: 1
                          type: integer
                        helices:
                          default: true
                          description: >-
                            M2C10.d: THE HELIX (on by default). The swept tube's
                            centreline (`sweeps`) fitted with a helix -- its
                            axis the direction the centreline's tangents vary
                            least along (snapped to a world axis within 3
                            degrees, pointing up it), its radius and place a
                            circle fitted down the axis, its pitch the stations'
                            rise a turn -- and kept when the stations stand
                            within half a cell of it (root mean square), it
                            makes a turn or more and the wire keeps one radius:
                            the piece is then ONE disc swept along the kernel's
                            helix generator (`sweep3d` with `path.helix`:
                            radius, pitch, turns, samples a turn chosen from the
                            wire's radius, the feature placed in the coil's
                            frame) in place of polyline runs -- a spring, a
                            coil, a helical wire. Its gain is computed before
                            the kernel is asked. Without `sweeps` only the helix
                            is drawn.
                          type: boolean
                        intent:
                          default: true
                          description: >-
                            M2C6.d: PATTERNS AS INTENT. After the fit (and its
                            polish), a sketch whose outlines are alike and
                            evenly placed -- a full ring about an axis, a row,
                            or a grid -- is rewritten as ONE outline and a
                            pattern of it (`circular_pattern`, or `pattern` with
                            `count2` / `spacing2` for a grid); the seed and
                            every later feature are polished again with the
                            copies following; the rewrite stands when the kernel
                            builds it and the coverage IoU holds within 0.005.
                            The outlines that are not of the pattern stay as a
                            sketch of their own. On `/v1/ideate.fit` the
                            artifact's `intent` reports every rewrite (kind,
                            count, the IoU before and after, kept or not).
                          type: boolean
                        keep:
                          default: 40
                          description: >-
                            Profile moves kept a state once their exact gain is
                            computed.
                          maximum: 200
                          minimum: 1
                          type: integer
                        mirrors:
                          default: true
                          description: >-
                            M2C10.b: MIRRORS AS INTENT (on by default). After
                            the fit (and the pattern pass), about the planes
                            through the middle of the mesh's box across x and
                            across y: a sketch extruded along z whose outlines
                            pair up as mirror images is rewritten as the
                            outlines on one side (the seed) and a `mirror` of
                            them (the outlines the plane runs through stay in a
                            sketch of their own), and a feature that is the
                            mirror image of an earlier one of the same op (a
                            box, a cylinder along z, a revolve about y across x,
                            a sketch along z) becomes a mirror of it, moved up
                            to stand right after its seed when every feature
                            between is of that op. Each rewrite stands when the
                            kernel builds it and the coverage IoU holds within
                            0.005 (`mirror` in the fit reports every one). The
                            kernel mirrors an unrotated seed only: the
                            converter's extrusions along x and y are not
                            mirrored.
                          type: boolean
                        multi:
                          default: true
                          description: >-
                            M2C6.c: also draw an outline's pieces TOGETHER --
                            every piece in one sketch of several outlines (one
                            feature: the kernel folds an island at a time, all
                            or nothing), and pieces alike and evenly placed
                            about the extrusion's axis or along a line as one
                            piece and a PATTERN of it (a seed and a
                            `circular_pattern` / `pattern` feature: two features
                            appended in one step, each paying the cost).
                            `max_steps` caps the recipe's FEATURES.
                          type: boolean
                        openings:
                          default: 3
                          description: >-
                            M2C6.g: the first moves looked past -- each of the
                            best `openings` openings is followed by its own best
                            second move and the pair that reads highest is taken
                            (1: the greedy opening).
                          maximum: 8
                          minimum: 1
                          type: integer
                        picks:
                          default: 10
                          description: >-
                            Extruded outlines kept a state (shared over the
                            three axes), the best first, ranges that repeat one
                            kept left out.
                          maximum: 30
                          minimum: 1
                          type: integer
                        pieces:
                          default: 3
                          description: >-
                            Connected pieces of an outline tried, the largest
                            first.
                          maximum: 8
                          minimum: 1
                          type: integer
                        point_cost:
                          default: 0.0003
                          description: >-
                            What the search charges a profile per sketch point
                            when it chooses among moves (not in the reward): an
                            outline of eighty points reads a hundredth better
                            than one of twenty, and the kernel then refuses most
                            of what is built on it. A sketch of several outlines
                            is charged its largest outline and two points an
                            outline more; a pattern its seed.
                          maximum: 0.01
                          minimum: 0
                          type: number
                        refine:
                          default: 6
                          description: >-
                            The best moves whose vertices are refined against
                            the grid.
                          maximum: 20
                          minimum: 0
                          type: integer
                        shells:
                          default: true
                          description: >-
                            M2C10.a: THE SHELL (on by default). A thin-walled
                            tray, cup or box open at the top is read as its BASE
                            and a `shell` of one wall thickness: on the empty
                            state the mesh's box (or the cylinder in it, when
                            its footprint is round) and its shell together, two
                            features in one move; on a state whose first feature
                            the kernel shells (an unrotated box, a cylinder
                            along z, or a plain polygon extruded along z) and
                            that holds no shell yet, the shell alone -- where
                            the target holds under a third of the cavity and the
                            state over half of it. The wall is found by a scan
                            and a golden-section search on the computed gain
                            (the cavity is the base shrunk by the wall, its
                            floor raised by it, through the open top, as the
                            kernel cuts it). The kernel opens the top of an
                            unrotated base only: a container open on another
                            face is not drawn.
                          type: boolean
                        sweeps:
                          default: true
                          description: >-
                            M2C9.a: THE SWEPT TUBE. An elongated piece of the
                            residual (its geodesic length eight radii or more)
                            is read as a centreline in three dimensions -- the
                            centroids of its geodesic level sets, each station
                            re-centred on the mesh at the centre of the
                            inscribed circle of its normal plane -- and a radius
                            along it (that circle's), split into one to four
                            runs of one radius; each run is a disc swept along
                            its stretch of the centreline (`sweep3d`), the
                            thinner of two neighbours carried a little into the
                            thicker. One move per split, its gain computed
                            before the kernel is asked: a bent bar, a handlebar,
                            a frame tube or a rail in any direction, where the
                            tube family reads only straight runs along an axis.
                          type: boolean
                        tapers:
                          default: false
                          description: >-
                            M2C10.c: TAPER AND LOFT (opt-in). A piece of the
                            residual read slice by slice along an axis as convex
                            sections (the hull of its cells), when it fills its
                            hulls and they change along the axis (in area, or in
                            place by a cell), is drawn two ways: a DRAFTED
                            extrusion (`draft_deg`: the middle section offset at
                            each end by what the end sections' areas say) and a
                            ruled LOFT (`loft`: the two end sections,
                            corresponded vertex to vertex). Each is settled on
                            the grid (its two end offsets and its two ends, a
                            fraction of a cell at a time) and its gain computed
                            before the kernel is asked; charged its sketch
                            points as a profile is. Added only.
                          type: boolean
                        tubes:
                          default: true
                          description: >-
                            M2C6.e: THE TUBE FAMILY. Slice by slice along each
                            axis, the residual's pieces with one hole whose
                            boundaries are circles about one centre are read as
                            tube sections (exact centre and radii), runs of
                            alike sections as straight TUBE SEGMENTS (an annulus
                            extruded), and two segments along different axes
                            whose centre lines meet at a right angle in one
                            plane as a BEND (a disc swept along the tangent arc
                            and its bore swept and cut: two features in one
                            step). A THIN mesh -- under half its volume in cells
                            it fills by half, a pipe's wall under a cell -- is
                            steered by volume whatever `steer` says, its
                            sections read from the coverage (`play.thin` in the
                            artifact).
                          type: boolean
                        verify:
                          default: 24
                          description: >-
                            M2C6.g: the most candidates the kernel is asked
                            about at one state once a gaining move is in hand
                            (0: every candidate the ranking lets through). The
                            ranking verifies in the order of computed gain; a
                            cap of 24 reads the corpus as the open search did at
                            a third of its calls.
                          maximum: 400
                          minimum: 0
                          type: integer
                      type: object
                rank:
                  description: >-
                    M2C4f: `gain` ranks by the COMPUTED gain -- every
                    candidate's reward is computed on the grading grid with no
                    kernel call (the primitive rasterised: a box, cylinder,
                    sphere, cone or revolved ring under its placement; a union,
                    a cut or an intersection), the kernel verifies in the order
                    of gain x P(built) and is never asked about a candidate that
                    cannot beat the move in hand, even at its margin and the
                    state's bias (how far the kernel has sat above the computed
                    gain on the candidates verified at that state). The fit of
                    an exhaustive play over the same candidates at a fraction of
                    its kernel calls, with no model. With `policy_key` the
                    policy's LEGALITY head supplies P(built). With `beam`, each
                    node's candidates are verified in that order and `expand` is
                    the number of gaining children a node keeps. `model` (the
                    default) ranks as before.
                  enum:
                    - model
                    - gain
                  type: string
                segments:
                  default: 24
                  type: integer
                stl_blob_id:
                  type: string
                top:
                  default: 6
                  type: integer
                verify_top:
                  default: 3
                  type: integer
              required:
                - stl_blob_id
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
          description: >-
            `policy` (learned | greedy | beam | beam+learned | gain |
            gain+legality | beam+gain | beam+gain+legality, each of the gain
            forms with `+profiles` when the profile moves were drawn),
            `profiles` (the options used, or null), `gain` (candidates, skipped,
            min_p; null unless a play ranked by the computed gain), `search`
            (width, expand, max_calls, depth, dead_ends, explored, revived,
            budget_hit, heavy, skipped, opening; null without `beam`), `recipe`,
            `steps`, `curve`, `kernel_calls`, `refusals`, `metrics`,
            `components`, `seconds`, `target`.
      security:
        - apiKey: []
        - {}
components:
  securitySchemes:
    apiKey:
      description: Required when the deployment sets SS_REQUIRE_AUTH=1
      in: header
      name: x-api-key
      type: apiKey

````

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