---
title: "Provider Latency History"
method: GET
path: "/api/v1/metrics/provider-latency/history"
---

# Provider Latency History

`GET /api/v1/metrics/provider-latency/history`

Return raw latency samples for time-series charting.

Each sample has: ``timestamp``, ``provider``, ``model``, ``latency_ms``.
Samples are ordered chronologically. Use ``hours`` to control the lookback
window (default 24h, max 7 days).

## Query parameters

- `provider` string, nullable — Filter by provider name
- `model` string, nullable — Filter by model identifier
- `hours` integer — Hours of history to return (1-168)

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/sipyourdrink-ltd/apis/bernstein-task-server.md) · [All operations](https://skmtc.net/sipyourdrink-ltd/apis/bernstein-task-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sipyourdrink-ltd/bernstein-task-server/revisions/86f514b4e920/schema)
