Prepare or revise a KiCad/dimension enclosure draft

Uses a guest or integration token without consuming a quote allowance. Maximum REST JSON body 12 MB; KiCad text 10 MB. MCP has an 8 MB JSON body limit including text escaping. Raw PCB text is processed on the server and is not persisted. Returns exact parameters, adjustments, warnings, revision and editable review URL. Review the complete configuration before quoting.

post/workbenches/enclosure/prepare

Request

  • Base URL: https://aiurion.com/api/agent/v1
  • URL: https://aiurion.com/api/agent/v1/workbenches/enclosure/prepare
  • Auth: HTTP bearer

Request body

kicadPcbstring

KiCad 6–9 .kicad_pcb UTF-8 text. Sent to AIURION for parsing; raw PCB text is not stored in the draft or review link. Use parameters instead for dimensions.

quantityinteger

Response

Reviewable enclosure draft

successtrue required
workbench'enclosure'
quantityinteger required
revisionstring required

SHA-256 revision of exact normalized parameters and set quantity.

reviewUrlstring uri required

Editable browser review link. Contains enclosure dimensions in its fragment; treat it as private design information.

reviewRequiredboolean
warningsstring[]
buildobject

Authoritative complete base and lid build, total and quote items. Present after quoting.

quotesobject[]
idempotentReplayboolean

Changes

No recorded changes to this operation across all 1 revision of this API.