POST /api/generate proxies to POST /api/v3/components/generate/symbol. 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 datasheet to ground generation.
Optional layout/pin hints.
Response — GenerateSymbolResult
From backend
name.Rendered
.kicad_sym (backend kicad_sym).From
pin_count.Reference prefix, e.g.
U (from reference_prefix).The structured TraceSymbolV1 payload (used for clipboard/save).
Example
Errors
| Status | Meaning |
|---|---|
400 | Description too short/long |
401 | Missing/expired token |
402 / 403 | Plan/quota does not include generation |
504 | Generation timed out |
502 | Backend error |
.kicad_sym, or save it to the user’s account.
