---
title: "Ingest Single Block"
method: POST
path: "/api/blocks/ingest"
---

# Ingest Single Block

`POST /api/blocks/ingest`

## 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`
- Auth: none declared

Upload a single .sch file to create/update a block.
Optional: BOM CSV, netlist file, description, use cases.

## Request body `multipart/form-data`

- BodyIngestSingleBlockApiBlocksIngestPost
  - `sch_file` string, binary, required
  - `name` string
  - `description` string
  - `bom_file` string, binary
  - `netlist_file` string, binary
  - `use_cases` string
  - `overwrite` boolean

## 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)
