---
title: "Get total cost for a given period"
method: GET
path: "/v1/usage/total-cost"
tags: ["Usage"]
---

# Get total cost for a given period

`GET /v1/usage/total-cost`

## Query parameters

- `start_date` string, date, required
- `end_date` string, date, required

## Response `200`

Total cost retrieved successfully

- TotalCostResponse
  - `start_date` string, date
  - `end_date` string, date
  - `total_cost` number, float

## Other responses

- `400` — Bad request
- `401` — Unauthorized

---

[API](https://skmtc.net/luminolabs/apis/usage-api.md) · [All operations](https://skmtc.net/luminolabs/apis/usage-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/luminolabs/usage-api/versions/9129e0f56c77/schema)
