---
title: "GET /api/user/usage-history"
method: GET
path: "/api/user/usage-history"
tags: ["secure-user-controller"]
---

# GET /api/user/usage-history

`GET /api/user/usage-history`

## Request

- Base URL: `http://api.lotas.ai`
- URL: `http://api.lotas.ai/api/user/usage-history`
- Auth: none declared

## Query parameters

- `page` integer
- `size` integer

## Response `200`

OK

- UsageHistoryResponse
  - `usage` UsageHistoryItem[]
    - `timestamp` string, date-time
    - `model` string
    - `cost_type` string
    - `actual_cost_cents` number
    - `cost_display` string
    - `endpoint` string
  - `total_pages` integer
  - `total_elements` integer
  - `current_page` integer
  - `page_size` integer
  - `current_subscription_status` string
  - `trial_queries_remaining` integer
  - `monthly_queries_remaining` integer
  - `queries_used` integer

---

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