---
title: "Get paginated usage log entries"
method: GET
path: "/admin/usage/log"
tags: ["admin"]
---

# Get paginated usage log entries

`GET /admin/usage/log`

## Query parameters

- `days` integer
- `start_date` string
- `end_date` string
- `model` string
- `provider` string
- `label` string
- `user_path` string
- `cache_mode` string
- `search` string
- `limit` integer
- `offset` integer

## Response `200`

OK

- UsageUsageLogResult
  - `entries` UsageUsageLogEntry[]
    - `cache_type` string
    - `cache_write_input_tokens` integer
    - `cached_input_ratio` number
    - `cached_input_tokens` integer
    - `cost_source` string
    - `costs_calculation_caveat` string
    - `endpoint` string
    - `id` string
    - `input_cost` number
    - `input_tokens` integer
    - `labels` string[]
    - `model` string
    - `output_cost` number
    - `output_tokens` integer
    - `provider` string
    - `provider_id` string
    - `provider_name` string
    - `raw_data` object
    - `request_id` string
    - `rewrite_cost_saved` number
    - `rewrite_tokens_saved` integer
    - `timestamp` string
    - `total_cost` number
    - `total_tokens` integer
    - `uncached_input_tokens` integer
    - `user_path` string
  - `limit` integer
  - `offset` integer
  - `total` integer

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/enterpilot/apis/gomodel-api.md) · [All operations](https://skmtc.net/enterpilot/apis/gomodel-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/enterpilot/gomodel-api/revisions/4c27ea61fcfe/schema)
