---
title: "Spend summary for the last 30 days"
method: GET
path: "/api/stats/summary"
tags: ["verification"]
---

# Spend summary for the last 30 days

`GET /api/stats/summary`

## Request

- Base URL: `https://www.spendline.ai`
- URL: `https://www.spendline.ai/api/stats/summary`
- Auth: API key in header `x-spendline-key`

## Response `200`

Total spend, call count, average cost, cost over time, by model, by customer/agent.

## Other responses

- `401`: Unauthorized.

---

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