---
title: "Get AI Usage"
method: GET
path: "/reports/ai-usage"
tags: ["ai-usage"]
---

# Get AI Usage

`GET /reports/ai-usage`

This endpoint returns a list of AI usage for the account.

## Query parameters

- `page[number]` string
- `page[size]` string
- `query` string
- `sort` string[]
- `fields` object
  - `ai-usages` string — The comma-separated list of fields to return in response for AiUsage resource.
  - `runs` string — The comma-separated list of fields to return in response for Run resource.
- `include` string[]

## Response `200`

Success.

## Other responses

- `403` — User unauthorized to perform this action.
- `404` — AI usage not found or user unauthorized to perform action.
- `4XX` — Client error.
- `5XX` — Server error.

---

[API](https://skmtc.net/scalr/apis/scalr-iacp-api.md) · [All operations](https://skmtc.net/scalr/apis/scalr-iacp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scalr/scalr-iacp-api/revisions/fc927526ad12/schema)
