---
title: "Get current AI usage statistics"
method: GET
path: "/ai_assistant/usage"
tags: ["AI Assistant"]
---

# Get current AI usage statistics

`GET /ai_assistant/usage`

## Request

- Base URL: `https://api.foudroyer.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.foudroyer.com/ai_assistant/usage`
- Auth: HTTP bearer

Returns the number of AI requests used in the current billing period and the limit for the user.

## Response `200`

Current AI usage statistics.

- AiUsageResponseDto
  - `used` number, required: Number of AI requests used in the current billing period
  - `limit` number, required: Maximum number of AI requests allowed per billing period
  - `billing_period_start` string, date-time, required: Start date of the current billing period

---

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