---
title: "GET /api/billing/ai/usage"
method: GET
path: "/api/billing/ai/usage"
tags: ["AISubscription"]
---

# GET /api/billing/ai/usage

`GET /api/billing/ai/usage`

## Request

- Base URL: `https://api.wearelearning.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wearelearning.io/api/billing/ai/usage`
- Auth: OAuth 2
  - Implicit: `https://login.wearelearning.io/authorize?audience=https://api.wearelearning.io`

## Response `200`

OK

- AICreditsUsageByUserDto[]
  - `userId` string, required
  - `name` string, required
  - `email` string, required
  - `profilePicture` string, nullable
  - `creditsConsumed` integer, required

---

[API](https://skmtc.dev/wearelearning/apis/we-are-learning-api.md) - [All operations](https://skmtc.dev/wearelearning/apis/we-are-learning-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wearelearning/apis/we-are-learning-api/revisions/e2ca5265db77?raw)
