---
title: "Get Billing Usage Timeseries By Model"
method: GET
path: "/v1/billing/usage/timeseries-by-model"
tags: ["billing"]
---

# Get Billing Usage Timeseries By Model

`GET /v1/billing/usage/timeseries-by-model`

## 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-by-model`
- 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-by-model/get.ts> (a function with typed inputs; its response is checked against the schema)

Per-model request counts for stacked bar charts.

## 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.
- `scope` 'team' | 'personal': ``team`` (default) aggregates the active team's usage; ``personal`` narrows to the requesting user's own usage (home page toggle).
- `workload_type` string, nullable: Filter: exact billable kind, e.g. model_inference. Omit for all kinds

## Response `200`

Successful Response

- ModelUsageTimeseriesResponse: Per-model usage series for stacked bar charts.
  - `points` ModelUsageTimeseriesPoint[], required
    - `bucket_date` string, required: ISO date or datetime string
    - `model` string, 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-by-model/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)
