---
title: "Put Llm Limits"
method: PUT
path: "/tenants/{tenant_id}/llm/limits"
tags: ["tenant-llm"]
---

# Put Llm Limits

`PUT /tenants/{tenant_id}/llm/limits`

## Request

- Base URL: `https://api.b2metric.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.b2metric.com/tenants/{tenant_id}/llm/limits`
- Auth: none declared

Operator only. Changes the overrides and writes the key metadata; never mints a key (plan L2).

## Path parameters

- `tenant_id` string, uuid, required

## Headers

- `authorization` string, nullable

## Request body

- LlmLimitsIn: Operator override of the token limits. A field left out is unchanged, null clears the override, -1 is unlimited (quota spec section 2).
  - `daily_token_limit` integer, nullable
  - `monthly_token_limit` integer, nullable
  - `user_daily_token_limit` integer, nullable
  - `app_daily_token_limit` integer, nullable

## Response `200`

Successful Response

- LlmLimitsOut
  - `tenant_id` string, uuid, required
  - `edition` string, nullable, required
  - `overrides` object, required
  - `effective` object, required
  - `synced` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/b2metric/apis/b2metric-license-api.md) - [All operations](https://skmtc.dev/b2metric/apis/b2metric-license-api/llms.txt) - [OpenAPI document](https://skmtc.dev/b2metric/apis/b2metric-license-api/revisions/5c26e11e8b53?raw)
