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

## Changes

> 28 revisions in range; 11 could not be searched.

- **2026-08-09** `5d4c905106b4` — 1 info
  - the endpoint scheme security `BearerAuth AND NamespaceHeader` was added to the API

[Change history](https://skmtc.dev/mixpeek/apis/mixpeek-api/changes/v1/annotations/stats/get.md)

---

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