---
title: "Get rag details"
method: GET
path: "/rags/{id}"
tags: ["RAG"]
---

# Get rag details

`GET /rags/{id}`

Retrieves detailed information about a specific RAG knowledge base.

## Path parameters

- `id` string, uuid, required

## Response `200`

Rag details.

- RagManagerRag
  - `id` string, uuid — The unique identifier of the rag. Returned from the `POST /rags` response.
  - `customer_id` string, uuid — The customer ID that owns this rag.
  - `name` string — Human-readable name for the rag.
  - `description` string — Description of what this rag contains.
  - `tm_create` string, date-time — Timestamp when the rag was created.
  - `tm_update` string, date-time — Timestamp when the rag was last updated.
  - `status` 'pending' | 'processing' | 'ready' | 'error' — The document processing status. Indicates the current stage of document ingestion.
  - `sources` RagManagerRagSource[] — List of document sources in this rag with their ingestion status.
    - `id` string, uuid — The unique identifier of the source (document). Use this ID with `DELETE /rags/{rag-id}/sources/{source-id}` to remove the source.
    - `customer_id` string, uuid — The customer ID that owns this source. Returned from the `GET /customer` response.
    - `storage_file_id` string, uuid — The storage file ID if the source is an uploaded file. Returned from the `POST /storage_files` response.
    - `source_url` string, uri — The URL if the source is a web document.
    - `status` 'pending' | 'processing' | 'ready' | 'error' — The document processing status. Indicates the current stage of document ingestion.
    - `status_message` string — Additional details about the current ingestion status.

## Other responses

- `400` — Invalid request (INVALID_ARGUMENT).
- `401` — Authentication required (UNAUTHENTICATED).
- `403` — Insufficient permission (PERMISSION_DENIED).
- `404` — Resource not found (NOT_FOUND).
- `500` — Internal error (INTERNAL).

---

[API](https://skmtc.net/voipbin/apis/voipbin-api.md) · [All operations](https://skmtc.net/voipbin/apis/voipbin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/voipbin/voipbin-api/versions/79e779080bcc/schema)
