Skip to main content
POST
Turn a manufacturability ask in words into the engine's plan: target process, verified fixes composed and re-checked (MF19)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
include_replies
boolean

Carry each attempt's raw reply in attempts (the eval's scorer reads them).

intent
object

A typed intent instead of words: {process?, family? (machining | moulding | casting | sheet | additive), quantity?, material?, goal? (manufacturable | cheaper | clean), rules?}. No model is asked.

material
string

The part's material (a priced name or alias).

max_steps
integer

The most edits kept (default 12, at most 64); tries are twice that.

model
string

The model id, from the account's allowlist (GET /v1/llm.models); default the deployment's.

part
string

The part's name (no ., |, :, braces, * or spaces). Default part.

pmi
object

An ss.pmi/1 set read with the part (the tolerance rules).

process
string

The current process id (milling_3ax | ... | mjf).

profile

The current profile: a seeded shop id, an inline shop, or an ss.dfm.profile/1.

quantity
integer

Parts in the lot.

repair
boolean

One repair round when the validator refuses the first reply (default true).

request
object

A prebuilt ss.mf19.intent.request/1 (the eval's cases).

store
boolean

false skips storing the plan, the report and an edited B-rep as blobs. Default true.

subject
object

As dfm.check's (a part). Absent: only the intent is answered (no plan).

text
string

The person's words (≤ 2000 characters): "make this mouldable", "make it cheaper to machine at 500 off", "make it printable on SLS".

Response

intent (the accepted ss.mf19.intent/1, or the typed one), typed {process?, family?, quantity?, material?, goal, rules?}, provider (gateway | engine | given), model, live, prompt_version, usage, attempts[], request_key, cached; with a subject: plan_key, plan (ss.mf19.plan/1: kind, intent, target {process, shop, material, quantity, profile, chosen_by (intent | current | select), select?, ranked[]}, report_before, report_after, before, after {findings, errors, warnings, advice}, steps[] {n, finding, rule, severity, status (kept | refused | not_offered | none | skipped), fix?, what?, reason?, cost_delta?, report_before, report_after?, before, after?, recheck?}, stop (target_clear | no_verified_fix | step_limit), kept, remaining[] {finding, rule, severity, reason}, notes[]), report_key, report (ss.dfm.report/1 of the edited part), select_key?, subject ({recipe, units} | {brep_blob}), stored