---
title: "List RAG collections"
method: GET
path: "/v1/rag/collections"
tags: ["RAG"]
---

# List RAG collections

`GET /v1/rag/collections`

## Request

- Base URL: `http://localhost:9998`
- URL: `http://localhost:9998/v1/rag/collections`
- Auth: HTTP bearer

## Response `200`

Array of collections

- RagCollection[]
  - `id` string, required
  - `name` string, required
  - `folderPath` string, required
  - `embeddingModelStem` string, required
  - `chunkSize` integer, required
  - `chunkOverlap` integer, required
  - `status` 'empty' | 'indexed' | 'stale' | 'error', required
  - `lastIndexedAt` string, date-time, nullable
  - `documentCount` integer, required
  - `chunkCount` integer, required
  - `dimensions` integer, required
  - `errorMessage` string, nullable
  - `projectId` string: The project whose knowledge this collection is; it indexes that project's materials and is changed through the project. Absent for a collection a person made.

---

[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)
