---
title: "Plan, limits and credits (uses no credits)"
method: GET
path: "/v1/usage"
---

# Plan, limits and credits (uses no credits)

`GET /v1/usage`

## Request

- Base URL: `https://api.aistrail.com`
- URL: `https://api.aistrail.com/v1/usage`
- Auth: HTTP bearer

label is the plan's name (for example Pro), limits the plan's limits (credits: monthly credits; live and ws: live data and WebSocket connections). credits: remaining (usable now), plan (monthly, used, remaining, period_start, resets_at), packs (credits, remaining, purchased_at, expires_at; valid packs, the one used next first), packs_remaining and used_this_period (all credits used this period, packs included). period_resets_at is credits.plan.resets_at. live: included, sources (the live endpoints' sources), ws_limit and ws_open (concurrent WebSocket connections of the account).

## Response `200`

ok

## Other responses

- `401`: RFC 9457 problem details
- `429`: RFC 9457 problem details

---

[API](https://skmtc.dev/aistrail/apis/ais-trail-api.md) · [All operations](https://skmtc.dev/aistrail/apis/ais-trail-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aistrail/apis/ais-trail-api/revisions/e829e4345208?raw)
