---
title: "This month's posts, messages and comments"
method: GET
path: "/api/v1/usage"
tags: ["Usage"]
---

# This month's posts, messages and comments

`GET /api/v1/usage`

## Request

- Base URL: `https://app.tryadeli.com`
- URL: `https://app.tryadeli.com/api/v1/usage`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/adeli/apis/adeli-api/docs/api/v1/usage/get.ts> (a function with typed inputs; its response is checked against the schema)

The workspace's sends this UTC month, across all its profiles, against the free tier's allowance: 1,000 posts, 10,000 messages and 10,000 comments per workspace. `limit` is null when the workspace has billing and is never limited. Past the limit, sends answer `402 usage_limit_reached` until `resetsAt` or until a card is added.

## Response `200`

Success

- object
  - `period` string, required
  - `resetsAt` string, date-time, required
  - `enforced` boolean, required
  - `posts` object, required
    - `used` integer, required
    - `limit` integer, nullable, required
  - `messages` object, required
    - `used` integer, required
    - `limit` integer, nullable, required
  - `comments` object, required
    - `used` integer, required
    - `limit` integer, nullable, required

## Other responses

- `400`: Invalid request or provider failure
- `401`: Missing or invalid API key
- `502`: Invalid request or provider failure

---

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