---
title: "Get processing runtime stats"
method: GET
path: "/stats/{inbox_id}/processing"
tags: ["stats"]
---

# Get processing runtime stats

`GET /stats/{inbox_id}/processing`

**This endpoint is in _preview_ and its interface may change.**

Compute statistics over the documents in the inbox. These stats include:
- mean
- min
- max
- standard deviation
- 50th percentile
- 95th percentile
- 99th percentile

Documents are grouped by their page count: this is currently the *only* supported group by attribute.

Documents can be further filter by any given start or end date: the filter will apply to the start
processing date, and *not* to the done date.

**Permission required:** view_statistics

## Query parameters

- `start_date` string, date-time
- `end_date` string, date-time
- `group_by` string

## Other responses

- `400` — Not Supported
- `403` — Permission insufficient

---

[API](https://skmtc.net/contractp/apis/contract-p.md) · [All operations](https://skmtc.net/contractp/apis/contract-p/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/contractp/contract-p/revisions/8ce53ebd6bd3/schema)
