---
title: "Get Connection Stats"
method: GET
path: "/connections/{connection_id}/stats"
tags: ["connections"]
---

# Get Connection Stats

`GET /connections/{connection_id}/stats`

Lists connection stats: total documents active documents, total active pages.

## Path parameters

- `connection_id` string, uuid, required

## Response `200`

Successful Response

- ConnectionStats
  - `document_count` integer, required
  - `page_count` number, required

## Other responses

- `401` — Unauthorized
- `402` — Payment Required
- `422` — Validation Error
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.dev/ragie/apis/ragie-api.md) · [All operations](https://skmtc.dev/ragie/apis/ragie-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ragie/ragie-api/revisions/ffdf960539ca/schema)
