Skip to main content
POST
The design packet: everything an agent needs to SEE a recipe or assembly, content-addressed (J12.c)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
assembly
object

Assembly document: components (each a part recipe + pose) and mates -- the same shape the /assembly app saves.

before
object

The recipe before the last edit; faces the current state adds or moves are painted as the change highlight.

contact_tile
integer

J12.f: the contact sheet's tile size, an integer divisor of tile (the per-view images stay at tile, the sheet is box-filtered down) -- the overview stays cheap while a full-size view is available on demand.

cutaways
boolean
default:false

J12.g: cutaway sections -- the solid cut at its bounding-box centre on each axis (the +axis half removed), the exposed faces painted red, rendered from the iso as section-x/y/z plus a three-tile sections strip; depth made visible rather than inferred.

density
number

kg/m3 for the mass line (else the goal's density, else no mass).

explode
number
default:1.6

Exploded-view factor for assemblies; 1 = none.

goal
object

The G4 goal (the brief's goal): box keep-in / keep-out regions become wire boxes, datums become markers; recipe-shaped regions are named in overlays.skipped.

inline
boolean
default:false

Also return each image as a data:image/png;base64 URL.

name
string
overlays
object[]

World-space overlays drawn over the shaded solid (C22.9.b).

px_per_mm
number
default:3

Drawing raster density, 0.5..=8.

recipe
object

CAD recipe document -- the same {features: [...]} shape POST /v1/cad.rebuild takes. Exactly one of recipe / assembly.

sections
object[]

Section views on the drawing (part packets).

segments
integer
default:32
sheet
boolean
default:true

Compose and rasterize the dimensioned drawing sheet.

sheet_engine
enum<string>

DR.b9: the drawing's engine -- drawing (ss-drawing, the default) or legacy (the C9 / C19 sheet path; sections imply it). The manifest's drawing.engine names the one that drew.

Available options:
drawing,
legacy
sheet_size
string

Standard sheet name (A4-A0, ANSI A-E); default A3.

tile
integer
default:512

Tile size in px, 64..=1024.

views
string[]

Views to render (default the eight canonical: front, top, right, iso, back, bottom, left, iso_rear); at most twelve.

Response

The packet manifest

blob_uri
string
bom
object[]
changed_faces
integer[]
drawing
object
images
object[]
mass_properties
object
overlays
object
packet_key
string
recipe_hash
string
views
string[]