---
title: "Bom Export"
method: POST
path: "/api/export/bom"
tags: ["exports"]
---

# Bom Export

`POST /api/export/bom`

## Request

- Base URL: `https://api.pcbgenerator.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pcbgenerator.com/api/export/bom`
- Auth: none declared

Serialize a caller-provided canonical BOM to a file (csv | excel | json).

Backs the agent ``BomPreviewCard`` "Download BOM" affordance. Serializes the BOM in
the request body via the single-source ``bom_export_service`` — no re-assembly, and
(like the sibling export routes) no per-user ownership check, since it only formats
data the caller already holds.

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api.md) · [All operations](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api/revisions/b6084b3ace32?raw)
