---
title: "Usage, message quota and credit balance of the account"
method: GET
path: "/api/v1/billing"
---

# Usage, message quota and credit balance of the account

`GET /api/v1/billing`

## Request

- Base URL: `https://smartwebchat.eu`
- URL: `https://smartwebchat.eu/api/v1/billing`
- Auth: HTTP bearer

## Response `200`

OK

- object
  - `data` Usage
    - `messages` object, nullable: Message counter of the current billing period; null if it cannot be read
      - `used` integer
      - `limit` integer
    - `credits` object
      - `balanceMicros` integer: Purchased credit in micro-euros
      - `includedMicros` integer: Included monthly budget in micro-euros
      - `lowBalanceThresholdMicros` integer, nullable
  - `error` unknown

## Other responses

- `401`: Missing or invalid API key
- `403`: Delegated access token without billing:read
- `429`: Rate limit exceeded: 600 requests per minute per account across all /api/v1/ routes. Wait for the seconds given in Retry-After (60) and retry.

---

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