---
title: "Get Tenant Usage"
method: GET
path: "/admin/tenants/{tenant_id}/usage"
tags: ["Subscriptions"]
---

# Get Tenant Usage

`GET /admin/tenants/{tenant_id}/usage`

## Request

- Base URL: `https://developer.claimmind.life` (the document declares no server; this is the origin it was published from)
- URL: `https://developer.claimmind.life/admin/tenants/{tenant_id}/usage`
- Auth: OAuth 2
  - Password
  - Token URL: `token`

Get usage data for a tenant's subscription.

Returns detailed usage including breakdown by claim type:
- rawat_jalan_count: Rawat Jalan claims processed
- rawat_inap_count: Rawat Inap claims processed
- free_count: Free tier usage
- charges_usage: Full breakdown from Lago

**Access:**
- mtk_admin: can view any tenant
- super_admin: can view tenants in their hospital group
- org_admin: can view only their own tenant

## Path parameters

- `tenant_id` string, required

## Response `200`

Successful Response

- RichTenantUsageResponse: Enhanced response with usage breakdown.
  - `usage` RichUsageData, required: Rich usage data with breakdown by metric type.
    - `tenant_id` string, required
    - `plan_code` string, required
    - `subscription_external_id` string, required
    - `period_start` string, date-time, required
    - `period_end` string, date-time, required
    - `currency` string, required
    - `total_usage` integer, required
    - `rawat_jalan_count` integer, required
    - `rawat_inap_count` integer, required
    - `free_count` integer, required
    - `amount_cents` integer, required
    - `charges_usage` ChargeUsageItem[], required
      - `units` string, required
      - `events_count` integer, required
      - `amount_cents` integer, required
      - `amount_currency` string, required
      - `charge` object, nullable
      - `billable_metric` object, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/claimmind/apis/claimmind-open-api-service.md) - [All operations](https://skmtc.dev/claimmind/apis/claimmind-open-api-service/llms.txt) - [OpenAPI document](https://skmtc.dev/claimmind/apis/claimmind-open-api-service/revisions/ee8bfbeadb8a?raw)
