---
title: "Upload Batch"
method: POST
path: "/api/batch/upload"
tags: ["Batch Processing"]
---

# Upload Batch

`POST /api/batch/upload`

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/batch/upload`
- Auth: HTTP bearer

Public/legacy upload entrypoint; clients cannot select broker ownership.

## Request body `multipart/form-data`

- BodyUploadBatchApiBatchUploadPost
  - `files` string[], required
  - `batch_name` string, nullable
  - `use_parallel` string, nullable
  - `guest_session_id` string, nullable
  - `schema_fields` string, nullable
  - `skip_processing` string, nullable
  - `processing_mode` string, nullable
  - `amet_session_id` string, nullable

## Response `200`

Successful Response

- BatchUploadResponse: Response model for batch upload
  - `batch_id` string, required
  - `document_count` integer, required
  - `documents` object[], required
  - `message` string, required

## Other responses

- `422`: Validation Error

---

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