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

# Plan how an assembly goes together: the build order with each step's motion, tool and checks, or a refusal naming the part in the way

> The typical chain: `sequence.plan` on the assembly, then its `sequence` into `sequence.render` (a clip) or `sequence.sheets` (the booklet) with the same `assembly`; `sequence.check` verifies an edited order without planning again. A product of twenty parts can take minutes: set `plan.time_budget_ms` to get the steps found so far as a typed partial plan (`complete: false`, a refusal of kind `budget`) instead of waiting. Assembly by disassembly: from the assembled state the planner removes a movable set at a time along a collision-free direction until only the base remains; the build order is the reverse. With `oracles` on (the default) the three seams are the real engines: the engine's paths for sets with no straight direction (a slide-and-lift tier of exact sweeps, then the straight lattice and RRT-Connect on SE(3) with a kernel-verified release) and declared screw paths for fasteners detected from their recipes (turns = engagement / pitch from the partner's tapped hole, re-checked on the refined clearance tier); the engine's stability of every partial assembly (per contact cluster, the base as the fixture, fastened groups as welds; held parts are a cost, more than `max_hands` a typed refusal) and its six-axis base orientation for flips; the engine's tool access for every fastener (the drive's tool library over the remaining parts within reach; `no_tool_access` names the blocking parts). Answers the plan (`ss.sequence.plan/1`: build order, steps with direction / path / tool / held parts / cost terms, typed refusals with witnesses when incomplete, its own content key `plan_key`), the oracles' `notes` (stored paths by content key, held parts per partial assembly, the tool that passed per fastener, the detected fastener specs with cited torques, the oracles' own refusals) and the `ss.assembly.sequence/1` document built from the plan (explode steps = the build steps reversed: translate steps clear of the assembly, path steps with the engine's waypoints, sub-assemblies as declared groups moved then expanded, `checks` {clear, stable, access} per step), compiled and stored like `sequence.compile`. Deterministic: the same assembly and request give the same keys.



## OpenAPI

````yaml openapi.json POST /v1/sequence.plan
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/sequence.plan:
    post:
      tags:
        - sequence
      summary: >-
        Plan how an assembly goes together: the build order with each step's
        motion, tool and checks, or a refusal naming the part in the way
      description: >-
        The typical chain: `sequence.plan` on the assembly, then its `sequence`
        into `sequence.render` (a clip) or `sequence.sheets` (the booklet) with
        the same `assembly`; `sequence.check` verifies an edited order without
        planning again. A product of twenty parts can take minutes: set
        `plan.time_budget_ms` to get the steps found so far as a typed partial
        plan (`complete: false`, a refusal of kind `budget`) instead of waiting.
        Assembly by disassembly: from the assembled state the planner removes a
        movable set at a time along a collision-free direction until only the
        base remains; the build order is the reverse. With `oracles` on (the
        default) the three seams are the real engines: the engine's paths for
        sets with no straight direction (a slide-and-lift tier of exact sweeps,
        then the straight lattice and RRT-Connect on SE(3) with a
        kernel-verified release) and declared screw paths for fasteners detected
        from their recipes (turns = engagement / pitch from the partner's tapped
        hole, re-checked on the refined clearance tier); the engine's stability
        of every partial assembly (per contact cluster, the base as the fixture,
        fastened groups as welds; held parts are a cost, more than `max_hands` a
        typed refusal) and its six-axis base orientation for flips; the engine's
        tool access for every fastener (the drive's tool library over the
        remaining parts within reach; `no_tool_access` names the blocking
        parts). Answers the plan (`ss.sequence.plan/1`: build order, steps with
        direction / path / tool / held parts / cost terms, typed refusals with
        witnesses when incomplete, its own content key `plan_key`), the oracles'
        `notes` (stored paths by content key, held parts per partial assembly,
        the tool that passed per fastener, the detected fastener specs with
        cited torques, the oracles' own refusals) and the
        `ss.assembly.sequence/1` document built from the plan (explode steps =
        the build steps reversed: translate steps clear of the assembly, path
        steps with the engine's waypoints, sub-assemblies as declared groups
        moved then expanded, `checks` {clear, stable, access} per step),
        compiled and stored like `sequence.compile`. Deterministic: the same
        assembly and request give the same keys.
      operationId: sequencePlan
      requestBody:
        content:
          application/json:
            schema:
              properties:
                assembly:
                  description: >-
                    The assembly (components with recipes and poses, mates).
                    Fixed components are the base unless `plan.base` names it.
                  type: object
                async:
                  description: >-
                    AQ13.c: run the plan as a job (202 with job_id / poll /
                    events); the finished job carries this route's body under
                    `sequence_plan` on /v1/jobs/{job_id} (the time budget then
                    bounds the job, not the request).
                  type: boolean
                compute:
                  description: >-
                    AQ13.c: the fleet placement of an async job when the gateway
                    has a queue (default the gateway's pool); the runner's
                    sequence arms run the job.
                  properties:
                    machine:
                      type: string
                    provider:
                      type: string
                    region:
                      type: string
                  type: object
                mode:
                  description: >-
                    As `solve.structural`'s `mode`: `async` runs the plan as a
                    job on a worker, never on the gateway — 202 with `job_id`,
                    `phase: queued`, `poll` (/v1/jobs/{job_id}), `events` and,
                    on a fleet, `pool`; poll until `phase` is `done` (or `error`
                    with a typed `error`), and the finished job carries this
                    route's whole 200 body under `sequence_plan` (`plan`,
                    `plan_key`, `complete`, `order`, `notes`, `sequence`, `key`,
                    `placements`, …). `sync` (the default) answers in the
                    request, unchanged; a product of several parts can take
                    minutes there, and a client that gives the request up
                    cancels the plan on the gateway.
                  enum:
                    - sync
                    - async
                  type: string
                name:
                  description: The job's label.
                  type: string
                options:
                  description: >-
                    The oracles' options: `paths` / `stability` / `access` /
                    `detect_fasteners` (booleans), `path_difficulty` (0–100, the
                    RRT budget), `path_tolerance_rel` and `release_rel` (of the
                    scene diagonal), `slide_samples`, `seed`, `friction`
                    ({default, pairs[]}), `max_hands`, `tools[]` (allowed tool
                    id prefixes), `min_gap_mm`, `property_class` ("8.8" | "10.9"
                    | "12.9" | "A2-70" | null).
                  type: object
                oracles:
                  description: >-
                    The real AQ4 / AQ5 / AQ6 oracles (default true); false plans
                    by geometry alone.
                  type: boolean
                plan:
                  description: >-
                    AQ3's request: `base[]` (component ids; empty = the fixed
                    ones, else the largest part), `constraints[]` ({kind:
                    before, a, b} | {kind: group, parts[]} | {kind:
                    keep_together, parts[]} | {kind: serviceable, part,
                    within?}), `fasteners[]` ({component, drive} — detected
                    fasteners are added), `search` ({kind: beam, width} | {kind:
                    astar, max_nodes, heuristic (true: the admissible travel
                    bound, AQ3.c)}), `weights` (direction_change, reorientation,
                    tool_change, held_part, travel, fastener_deferral,
                    service_delay), `up` (the base's up, default +z),
                    `max_subassembly_depth`, `prefer_subassemblies` (AQ3.c:
                    touching parts each removable on their own are also offered
                    as one sub-assembly step, planned below; off by default),
                    `time_budget_ms` (a wall-clock budget: when it runs out the
                    plan comes back as found so far — `complete: false`, one
                    refusal of kind `budget`, `stats.budget_expired` — and every
                    path search gets the remaining time as its cap; 100 ..=
                    3600000; none by default).
                  type: object
                segments:
                  description: >-
                    Tessellation segments for the placements (8 ..= 128, default
                    16).
                  type: integer
                units:
                  description: 'The assembly''s length unit: `m` (default) or `mm`.'
                  type: string
              required:
                - assembly
              type: object
        required: true
      responses:
        '200':
          description: >-
            plan {schema, components, base, order, steps[], cost, complete,
            refusals[], stats, key}, plan_key, complete, order[], notes {paths,
            hands, tools, fasteners, refusals, oracles, units, poses, stats},
            key, blob_uri, kind, steps, flat[], movers[], base[], sequence,
            placements[]
        '202':
          description: 'AQ13.c: the job reference (job_id, poll, events) when `async` is set'
        '400':
          $ref: '#/components/responses/TypedError'
        '422':
          $ref: '#/components/responses/TypedError'
      security:
        - apiKey: []
        - {}
components:
  responses:
    TypedError:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
      description: Typed error — never a bare 500
  schemas:
    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
  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.