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

# Batch create ingestion jobs

`POST /api/agent/ingest/batch`

Returns 202 if at least one URL succeeded, 400 if all failed.

## Request body

- IngestBatchRequest
  - `urls` string[], required
  - `callback_url` string, uri

## Response `202`

Batch accepted (partial or full success)

- IngestBatchResponse
  - `total` integer, required
  - `accepted` integer, required
  - `failed` integer, required
  - `results` IngestBatchResultItem[], required
    - `url` string, uri, required
    - `status` 'accepted' | 'cached' | 'error', required
    - `job_id` string, uuid
    - `error` string
    - `credits_charged` integer, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `429` — Rate limit exceeded
- `500` — Internal server error

## Changes

- **2026-03-01** `2df2182b5901` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/citedy/apis/citedy-agent-api/changes/api/agent/ingest/batch/post.md)

---

[API](https://skmtc.dev/citedy/apis/citedy-agent-api.md) · [All operations](https://skmtc.dev/citedy/apis/citedy-agent-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/citedy/citedy-agent-api/revisions/b5785d3fe446/schema)
