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
string
required
Bearer <access_token>string
required
5–5000 characters.
string
Optional datasheet to ground generation.
string
Optional layout/pin hints.
Response — GenerateSymbolResult
boolean
string
From backend
name.string | null
Rendered
.kicad_sym (backend kicad_sym).number
From
pin_count.string
Reference prefix, e.g.
U (from reference_prefix).Array<{ number, name, type }>
string[]
object
The structured TraceSymbolV1 payload (used for clipboard/save).
Array<{ step, status, duration_ms, warnings }>
…
Example
Errors
After a successful generation you can copy or download
the
.kicad_sym, or save it to the user’s account.
