---
title: "Get usage records"
method: GET
path: "/billing/usage"
tags: ["Billing"]
---

# Get usage records

`GET /billing/usage`

## Request

- Base URL: `https://api.varg.ai/v2`
- URL: `https://api.varg.ai/v2/billing/usage`
- Auth: HTTP bearer

## Query parameters

- `from` string, date-time
- `to` string, date-time
- `limit` integer

## Response `200`

Usage records

- object
  - `usage` object[]
    - `job_id` string, nullable
    - `provider` string
    - `cost_cents` integer
    - `billing_type` string
    - `billed_units` object, nullable
    - `created_at` string, date-time
  - `total_cents` integer: Sum of `cost_cents` over the returned rows (limited by `limit`), not the lifetime total

## Other responses

- `401`: Missing or invalid API key / JWT

## Changes

- **2026-10-20** `43bcf5ea398d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/varg/apis/varg-api/changes/billing/usage/get.md)

---

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