---
title: "Get Document Growth"
method: GET
path: "/v1/analytics/collections/{collection_id}/growth"
tags: ["Analytics", "Analytics - Collections"]
---

# Get Document Growth

`GET /v1/analytics/collections/{collection_id}/growth`

Get document growth trends over time.

Tracks document additions over time, useful for understanding
batch processing patterns and indexing velocity.

## Path parameters

- `collection_id` string, required

## Query parameters

- `start_date` string, date-time, nullable
- `end_date` string, date-time, nullable
- `group_by` string — hour, day, week, month

## Response `200`

Successful Response

- GrowthMetricsResponse — Document growth trends.
  - `collection_id` string, required
  - `time_range` ApiAnalyticsCollectionsModelsTimeRange, required — Time range for analytics queries.
    - `start` string, date-time, required
    - `end` string, date-time, required
  - `metrics` GrowthMetric[], required
    - `time_bucket` string, date-time, required
    - `documents_added` integer, required
    - `success_rate` number, required
    - `avg_latency_ms` number, required
  - `summary` 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/revisions/40af5e67ba94/schema)
