Skip to main content
GET
/
usage
Get usage
curl --request GET \
  --url https://api.varg.ai/v1/usage \
  --header 'Authorization: Bearer <token>'
{
  "usage": [
    {
      "job_id": "job_a1b2c3d4",
      "model": "fal:kling-v2.5",
      "capability": "video",
      "cost_cents": 25,
      "cache_hit": false,
      "created_at": "2026-02-13T10:00:00Z"
    }
  ],
  "total_cents": 1250
}

Authorizations

Authorization
string
header
required

API key from varg.ai/dashboard.

Pass as Authorization: Bearer varg_xxx.

Query Parameters

from
string<date>

Start date (inclusive), e.g. 2026-01-01

to
string<date>

End date (inclusive), e.g. 2026-01-31

Response

Usage records

usage
object[]
total_cents
number

Total cost in cents for the period

Example:

1250