---
title: "Ingest documents into RAG"
method: POST
path: "/rag/ingest"
tags: ["RAG"]
---

# Ingest documents into RAG

`POST /rag/ingest`

## Request

- Base URL: `https://api.llm-broker.net`
- URL: `https://api.llm-broker.net/rag/ingest`
- Auth: HTTP bearer

Ingest a list of documents for later retrieval-augmented generation.

## Request body

- RagIngestRequest
  - `items` object[], required: Documents to ingest

## Response `200`

Ingested

---

[API](https://skmtc.dev/llm-broker/apis/astrioncore-core-api.md) · [All operations](https://skmtc.dev/llm-broker/apis/astrioncore-core-api/llms.txt) · [OpenAPI document](https://skmtc.dev/llm-broker/apis/astrioncore-core-api/revisions/f85835487bf5?raw)
