Skip to main content
POST
The rule policy played out in the environment (M2C2)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
stl_blob_id
string
required

The target mesh: a binary STL blob in world metres.

cost
number
default:0.002

Cost per feature, taken off every step's reward.

longest
integer
default:64

Grid cells along the target's longest side (two cells of padding are added each side).

Required range: 16 <= x <= 128
max_steps
integer
default:24
Required range: x <= 200
segments
integer
default:24
suggest
integer
default:8

Suggested moves returned (0 for none).

top
integer
default:6

Residual components reported each way (missing, excess), largest first.

Response

200 - application/json

recipe, steps, curve, refusals, refusal_reasons, metrics, components, seconds, target.

The response is of type object.