---
title: "Ingest Data"
method: POST
path: "/agent/rag-ingest"
tags: ["agent"]
---

# Ingest Data

`POST /agent/rag-ingest`

## Request

- Base URL: `https://api.alpha-grid.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.alpha-grid.ai/agent/rag-ingest`
- Auth: HTTP bearer

Ingest patient data or clinical content into RAG knowledge base

## Request body

- AgentsetIngestionRequest
  - `name` string, required
  - `text` string, required
  - `metadata` object, nullable

## Response `200`

Successful Response

- AgentsetIngestionResponse
  - `job_id` string, required
  - `status` string

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/alpha-grid/apis/alphagrid-backend-dev.md) - [All operations](https://skmtc.dev/alpha-grid/apis/alphagrid-backend-dev/llms.txt) - [OpenAPI document](https://skmtc.dev/alpha-grid/apis/alphagrid-backend-dev/revisions/13bab0bdd466?raw)
