---
title: "Get Analytics Cost Trends"
method: GET
path: "/v1/admin/analytics/cost-trends"
tags: ["Admin Management"]
---

# Get Analytics Cost Trends

`GET /v1/admin/analytics/cost-trends`

## Request

- Base URL: `https://api.oneinfer.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.oneinfer.ai/v1/admin/analytics/cost-trends`
- Auth: HTTP bearer

Return multidimensional cost and margin time-series trends.

## Query parameters

- `group_by` 'provider' | 'modality' | 'model' | 'account_type'
- `granularity` 'daily' | 'hourly' | 'monthly'
- `start_date` string, date, nullable
- `end_date` string, date, nullable
- `account_type` 'all' | 'customer' | 'design_partner' | 'internal' | 'external'

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/oneinfer/apis/oneinfer-apis.md) · [All operations](https://skmtc.dev/oneinfer/apis/oneinfer-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/oneinfer/apis/oneinfer-apis/revisions/a49f22311a8f?raw)
