---
title: "Rate-limit & quota self-check"
method: GET
path: "/api/v1/usage"
tags: ["account"]
---

# Rate-limit & quota self-check

`GET /api/v1/usage`

## Request

- Base URL: `https://horizon.alchemylab.sh`
- URL: `https://horizon.alchemylab.sh/api/v1/usage`
- Auth: HTTP bearer

Your key's current rate-limit and monthly-quota state, so you can pace yourself.

## Response `200`

Current usage.

- object
  - `rateLimit` object
    - `limit` integer
    - `remaining` integer
    - `resetSeconds` integer
    - `window` string
  - `quota` object: { unmetered: true } on unmetered keys, otherwise limit/used/remaining/resetsAt.
  - `usageThisMonth` object: Per-endpoint request counts for the current calendar month.
    - `month` string: YYYY-MM
    - `byEndpoint` object: endpoint → request count, e.g. { search: 120, ask: 30 }
  - `attribution` string

## Other responses

- `401`: Error

---

[API](https://skmtc.dev/alchemylab/apis/horizon-api.md) · [All operations](https://skmtc.dev/alchemylab/apis/horizon-api/llms.txt) · [OpenAPI document](https://skmtc.dev/alchemylab/apis/horizon-api/revisions/936cb3804026?raw)
