---
title: "Get recent usage records for a tenant"
method: GET
path: "/api/admin/usage/{tenantId}/records"
tags: ["Admin"]
---

# Get recent usage records for a tenant

`GET /api/admin/usage/{tenantId}/records`

## Request

- Base URL: `https://api.dokmatiq.com`
- URL: `https://api.dokmatiq.com/api/admin/usage/{tenantId}/records`
- Auth: API key in header `X-API-Key`

Returns the most recent usage records for a tenant (default: last 100).

## Path parameters

- `tenantId` string, required

## Query parameters

- `limit` integer

## Response `200`

OK

---

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