Skip to main content
POST
Run a steady-state harmonic response sweep (synchronous)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
constraints
object[]
required
Minimum array length: 1
f_end
number
required

Last grid frequency [Hz], >= f_start.

f_start
number
required

First grid frequency [Hz].

Required range: x >= 0
geometry
object
required

Exactly one of primitive | csg | mesh_blob | brep_blob | assembly

loads
object[]
required

Harmonic load amplitude (in-phase).

Minimum array length: 1
material
object
required
compute
object

Per-solve compute placement: a region and a machine class. Unset fields inherit the gateway default (/admin/environment). Requires a distributed deployment and forces async execution; placement never changes result bytes. A placement the deployment runs no pool for is refused (NO_POOL).

mesh_opts
object
mode
enum<string>
Available options:
auto,
sync,
async
n_freqs
integer
default:1

Equally spaced grid points; the grid is hashed into the model.

Required range: 1 <= x <= 1000
quality
enum<string>

Mesh-density preset along the longest edge (draft L/5, standard L/8 = default, fine L/16). An explicit mesh_opts.element_size wins. Primitive/csg geometry only.

Available options:
draft,
standard,
fine
rayleigh_alpha
number
default:0

Rayleigh mass-proportional damping [1/s]; C = alphaM + betaK.

Required range: x >= 0
rayleigh_beta
number
default:0

Rayleigh stiffness-proportional damping [s].

Required range: x >= 0
solver
object

SC1: the solver block — HOW the equations are solved, never what the problem is. Absent, preset: reference, or a block equal to the domain's reference hashes as ABSENT (every pre-existing result key untouched); any keyed field forks the result key and the response names the reference_key the same body produces under preset: reference. A preset expands at request time to concrete fields (versioned: balanced@1, fast@1 …); explicit fields override the expansion field by field; two bodies that expand to the same block share a key (the preset NAME never enters the bytes). device and reference never enter the bytes. An arm this build or domain cannot serve is a typed 400 SOLVER_REFUSED naming its unit — never a silent fallback. preview is a setting, not a result: the same body routes to the V tier and answers kind: preview with result_id: null.

solver_version
string

Pin a solver id (e.g. native-harmonic); empty = current default for the domain.

storage
object

Per-solve storage placement, beside compute: where this solve's blobs (the model document, the mesh, the fields, the log, the trace) are written. Placement never changes result bytes or the result_key; the run record and the provenance carry the instance id, and a verify re-solve writes to the same place. A read by key (GET /v1/blobs/{id}) finds the bytes in whichever instance holds them.

webhook
object

SD5: a signed webhook on an async job's completion — one POST of the finished job record to url with x-eddy-signature: blake3=<hex> (a keyed BLAKE3 MAC over the body, the key derived from secret), x-eddy-job and x-eddy-event (done | error); three attempts with backoff, logged on the job record under webhook. A sync solve answers inline and carries no webhook.

Response

Harmonic sweep result with provenance (disp_amplitude, frf_max_amplitude, peak/* fields). With solver.preset = preview the body is the PreviewKindResponse (kind: preview, result_id: null).

cached
boolean

True when served from the result_key cache

fields
object

Field name -> blob id. displacement: 3 components/node; von_mises: 1/node. Fetch via /v1/blobs/{id}

kind
enum<string>

SC1: result on every preset but preview; a preview answers the PreviewKindResponse shape (result_id null)

Available options:
result,
preview
metrics
object

max_von_mises [Pa], max_displacement [m], min_fos [-]

provenance
object
result_id
string

= result_key (b3:<64-hex>); null (a present null) when kind = preview

warnings
object[]

RC1.F1: typed warnings about the solve's inputs that did not stop it, e.g. MESH_QUALITY (degenerate or inverted elements in a snapped mesh; see mesh_opts.mesh_pillow). Absent when empty.