---
title: "Ingest Bulk Blocks"
method: POST
path: "/api/blocks/ingest/bulk"
---

# Ingest Bulk Blocks

`POST /api/blocks/ingest/bulk`

## Request

- Base URL: `https://backend.snapmagic.com` (the document declares no server; this is the origin it was published from)
- URL: `https://backend.snapmagic.com/api/blocks/ingest/bulk`
- Auth: none declared

Upload multiple .sch files at once. Returns SSE stream with progress.
Accepts either individual .sch files OR a single .zip containing .sch files.
Optional: matching BOM files (matched by filename stem).

## Request body `multipart/form-data`

- BodyIngestBulkBlocksApiBlocksIngestBulkPost
  - `sch_files` string[], nullable
  - `zip_file` string, binary, nullable
  - `bom_files` string[], nullable
  - `overwrite` string
  - `use_cases` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/snapmagic/apis/snapmagic-api.md) - [All operations](https://skmtc.dev/snapmagic/apis/snapmagic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/snapmagic/apis/snapmagic-api/revisions/db14522771a6?raw)
