Autoroute
POST /pcb/autoroute
Send a DSN file to the cloud autorouter and receive a routed SES file via SSE stream.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
dsn_content | string | Yes | DSN file content from PCB export |
max_passes | integer | No | Maximum routing passes (default: 50) |
thread_count | integer | No | Parallel routing threads (default: 4) |
via_costs | integer | No | Via cost penalty (higher = fewer vias) |
optimization | string | No | Optimization strategy |
Example
SSE Stream Events
| Event | Description |
|---|---|
progress | Routing progress update with pass number |
result | Completed SES file content |
error | Routing error |
done | Stream complete |

