---
title: "Usage counts"
method: GET
path: "/v1/usage"
tags: ["Workspace"]
---

# Usage counts

`GET /v1/usage`

## Request

- Base URL: `https://www.chatrail.dev`
- URL: `https://www.chatrail.dev/v1/usage`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `chatrail_session`

Counts only. A count of messages is not a message; no content is reachable here.

## Query parameters

- `days` integer

## Response `200`

Aggregated counts for the workspace.

---

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