---
title: "Annotation Stats"
method: GET
path: "/v1/annotations/stats"
tags: ["Annotations"]
---

# Annotation Stats

`GET /v1/annotations/stats`

Aggregate annotation counts grouped by label.

## Query parameters

- `document_id` string
- `collection_id` string

## Response `200`

Successful Response

- AnnotationStatsResponse — Aggregate stats for annotations.
  - `total` integer
  - `by_label` object

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

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