---
title: "Start document ingestion"
method: POST
path: "/v1/rag/collections/{collectionId}/ingest"
tags: ["RAG"]
---

# Start document ingestion

`POST /v1/rag/collections/{collectionId}/ingest`

## Request

- Base URL: `http://localhost:9998`
- URL: `http://localhost:9998/v1/rag/collections/{collectionId}/ingest`
- Auth: HTTP bearer

Begins indexing documents in the collection's folder. Returns immediately.

## Response `202`

Ingestion started

- object
  - `status` 'indexing'

## Other responses

- `404`: Resource not found

---

[API](https://skmtc.dev/modelpiper/apis/toolpiper-api.md) · [All operations](https://skmtc.dev/modelpiper/apis/toolpiper-api/llms.txt) · [OpenAPI document](https://skmtc.dev/modelpiper/apis/toolpiper-api/revisions/6722bf56385c?raw)
