---
title: "Get Billing Usage Timeseries Latency"
method: GET
path: "/v1/billing/usage/timeseries-latency"
tags: ["billing"]
---

# Get Billing Usage Timeseries Latency

`GET /v1/billing/usage/timeseries-latency`

## Request

- Base URL: `https://api.pioneer.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pioneer.ai/v1/billing/usage/timeseries-latency`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/pioneer/apis/brain-api/docs/v1/billing/usage/timeseries-latency/get.ts> (a function with typed inputs; its response is checked against the schema)

Average response latency bucketed by time interval.

## Query parameters

- `start_date` string, nullable: Range start (ISO date or datetime, UTC); ignored when full_history=true
- `end_date` string, nullable: Range end (ISO date or datetime, UTC); with full_history, caps the window
- `full_history` boolean: If true, span from the team's first request through end (or now); ignores start_date
- `interval_minutes` integer: Bucket width in minutes (default 1440 = daily). Values >= 10080 bucket by week and >= 43200 by month so long ranges stay bounded in point count.

## Response `200`

Successful Response

- LatencyTimeseriesResponse: Latency timeseries for charts.
  - `points` LatencyTimeseriesPoint[], required
    - `bucket_date` string, required: ISO date or datetime string
    - `avg_latency_ms` number, required
    - `p50_latency_ms` number, required
    - `p95_latency_ms` number, required
    - `request_count` integer, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-24** `0e5e86e2bae5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pioneer/apis/brain-api/changes/v1/billing/usage/timeseries-latency/get.md)

---

[API](https://skmtc.dev/pioneer/apis/brain-api.md) - [All operations](https://skmtc.dev/pioneer/apis/brain-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pioneer/apis/brain-api/revisions/0e5e86e2bae5?raw)
