---
title: "Get step stats"
method: GET
path: "/v0/admin/stats/steps"
tags: ["Admin"]
---

# Get step stats

`GET /v0/admin/stats/steps`

## Request

- Base URL: `https://docs.quivr.thevibecompany.co` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.quivr.thevibecompany.co/v0/admin/stats/steps`
- Auth: HTTP bearer

Processing steps of the key's Organization over the window, in the buckets of getPluginCallStats: baseline (cut into segments and made searchable by keyword), enrichment (vectors added) and accepted_to_searchable (from acceptance to searchable by keyword) time the worker's runs. materialized, segmented, retrieval_ready and enriched are the document timeline's steps, each timed from the step that causes it, so they include the time a Record Version waited for the step. An error is a step that is retried or blocked, with its code. Requires observability:read on a key that grants every Corpus.

## Query parameters

- `window` '1h' | '24h' | '7d'

## Response `200`

Successful response

- StepStatsList
  - `window` '1h' | '24h' | '7d', required
  - `resolution_seconds` integer, required
  - `from` string, date-time, required
  - `to` string, date-time, required
  - `items` StepStats[], required
    - `step` string, required
    - `summary` StatsSummary, required: A series over the whole window. Latencies are in milliseconds and present only when count is positive.
      - `count` integer, required
      - `errors` integer, required
      - `p50_ms` number
      - `p95_ms` number
      - `mean_ms` number
      - `last_error_code` string
      - `last_error_at` string, date-time
    - `points` StatsPoint[], required: Non-empty buckets, oldest first.
      - `start` string, date-time, required
      - `count` integer, required
      - `errors` integer, required
      - `p50_ms` number, required
      - `p95_ms` number, required

## Other responses

- `default`: Structured error; 401 unauthenticated, 403 without observability:read on every Corpus, 422 invalid_window, 503 storage unavailable.

---

[API](https://skmtc.dev/thevibecompany/apis/quivr-http-api.md) - [All operations](https://skmtc.dev/thevibecompany/apis/quivr-http-api/llms.txt) - [OpenAPI document](https://skmtc.dev/thevibecompany/apis/quivr-http-api/revisions/4f4e30ba8f4e?raw)
