---
title: "Get Tenant Usage"
method: GET
path: "/api/v1/admin/tenants/{slug}/usage"
tags: ["admin"]
---

# Get Tenant Usage

`GET /api/v1/admin/tenants/{slug}/usage`

## Request

- Base URL: `https://yondry.app` (the document declares no server; this is the origin it was published from)
- URL: `https://yondry.app/api/v1/admin/tenants/{slug}/usage`
- Auth: none declared

Return usage stats for a tenant: plans this month and all time.

## Path parameters

- `slug` string, required

## Headers

- `X-Admin-Key` string, nullable

## Response `200`

Successful Response

- TenantUsageResponse
  - `tenant_id` string, required
  - `slug` string, required
  - `plan_limit_per_month` integer, nullable, required
  - `plans_this_month` integer, required
  - `all_time_plans` integer, required

## Other responses

- `422`: Validation Error

---

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