---
title: "List ingest batches"
method: GET
path: "/automations/ingest-batches"
tags: ["Automations"]
---

# List ingest batches

`GET /automations/ingest-batches`

## Request

- Base URL: `https://api.mosaic.so`
- URL: `https://api.mosaic.so/automations/ingest-batches`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

List storage-trigger ingest batches for a workspace, including uploads still waiting to process and batches that failed before a run was created.

## Query parameters

- `since` string, date-time
- `status` string
- `agent_id` string, uuid
- `production_id` string
- `batch_key` string
- `limit` integer
- `offset` integer

## Headers

- `x-workspace-id` string, uuid, required

## Response `200`

Ingest batches retrieved successfully

- object
  - `ingest_batches` object[]
  - `next_offset` integer, nullable

## Other responses

- `401`: Authentication failed

---

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