POST /api/generate/footprint proxies to POST /api/v3/components/generate/footprint. The
backend runs the AI agent; the route validates input and maps the response to camelCase.
Requires a bearer token and a plan that includes generation.
Request
Bearer <access_token>5–5000 characters.
Optional package hint (e.g.
QFN, SOIC).Optional datasheet to ground generation.
Response — GenerateFootprintResult
From backend
name.Rendered
.kicad_mod (backend kicad_mod).From
pad_count.Derived from
trace_json.pads.The structured payload (used for save).
Example
Errors
| Status | Meaning |
|---|---|
400 | Description too short/long |
401 | Missing/expired token |
402 / 403 | Plan/quota does not include generation |
502 / 500 | Backend / proxy error |
.kicad_mod, or save it to the user’s account
(pass type: "footprint").
