---
title: "Get Rag Mapping Route"
method: GET
path: "/api/rag/rag-mapping"
tags: ["RAG"]
---

# Get Rag Mapping Route

`GET /api/rag/rag-mapping`

## Request

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

Get RAG mapping list for a company from the AI dev server.
Fetches site IDs from https://devai.avete.ai/rag-mapping/{company_id}
and returns them with their corresponding site names from the database.

## Query parameters

- `company_id` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/avete/apis/fastcognito.md) - [All operations](https://skmtc.dev/avete/apis/fastcognito/llms.txt) - [OpenAPI document](https://skmtc.dev/avete/apis/fastcognito/revisions/2c3bbf575ddb?raw)
