---
title: "Get Retriever Performance"
method: GET
path: "/v1/analytics/retrievers/{retriever_id}/performance"
tags: ["Analytics", "Analytics - Retrievers"]
---

# Get Retriever Performance

`GET /v1/analytics/retrievers/{retriever_id}/performance`

## Request

- Base URL: `https://api.mixpeek.com`
- URL: `https://api.mixpeek.com/v1/analytics/retrievers/{retriever_id}/performance`
- Auth: HTTP bearer and API key in header `X-Namespace`

Get retriever performance metrics for tuning.

Retrieves time-series performance data including:
- Query latency (P50, P95, P99)
- Query counts
- Result counts
- Latency trends

**Use Cases:**
- Monitor retriever performance over time
- Identify performance degradations
- Compare performance across time periods
- Establish performance baselines

**Example:**
```bash
curl -X GET "https://api.mixpeek.com/v1/analytics/retrievers/ret_abc123/performance?hours=24&group_by=hour" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "X-Namespace: your-namespace"
```

## Path parameters

- `retriever_id` string, required

## Query parameters

- `start_date` string, date-time, nullable: Start date (UTC)
- `end_date` string, date-time, nullable: End date (UTC)
- `group_by` string: Time grouping: hour, day, week

## Response `200`

Successful Response

- RetrieverPerformanceResponse: Retriever performance metrics response.
  - `retriever_id` string, required: Retriever identifier
  - `time_range` ApiAnalyticsModelsTimeRange, required: Time range for analytics queries.
    - `start` string, date-time, required: Start time (UTC)
    - `end` string, date-time, required: End time (UTC)
  - `metrics` object[], required: Time-series performance metrics
  - `summary` object, nullable: Aggregated summary statistics

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Entity
- `429`: Too Many Requests
- `500`: Internal Server Error
- `503`: Service Unavailable

## Changes

- **2026-10-09** `61a175e8eb9a`: 1 warning, 5 info
  - removed the optional property `detail` from the response with the `422` status
  - added the non-success response with the status `429`
  - added the non-success response with the status `503`
  - added the optional property `success` to the response with the `422` status
  - …2 more
- **2026-08-09** `5d4c905106b4`: 1 info
  - the endpoint scheme security `BearerAuth AND NamespaceHeader` was added to the API

[Operation history](https://skmtc.dev/mixpeek/apis/mixpeek-api/changes/v1/analytics/retrievers/:retriever_id/performance/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.dev/mixpeek/apis/mixpeek-api/revisions/790bc16455f6?raw)
