---
title: "Ingest Batch"
method: POST
path: "/api/v1/ingest/batch"
tags: ["ingestion"]
---

# Ingest Batch

`POST /api/v1/ingest/batch`

## Request

- Base URL: `https://www.gateco.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://www.gateco.ai/api/v1/ingest/batch`
- Auth: OAuth 2 (password, token URL `/api/auth/login`)

Ingest a batch of documents. Returns partial success semantics.

## Request body

- BatchIngestRequest: Request to ingest a batch of documents.
  - `connector_id` string, required
  - `records` BatchIngestRecord[], required
    - `external_resource_id` string, required
    - `text` string, required
    - `classification` string, nullable
    - `sensitivity` string, nullable
    - `domain` string, nullable
    - `labels` string[], nullable
    - `metadata` object, nullable
    - `owner_principal_id` string, nullable
  - `idempotency_key` string, nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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