---
title: "Create Global Token Limit Settings"
method: POST
path: "/admin/token-rate-limits/global"
tags: ["public"]
---

# Create Global Token Limit Settings

`POST /admin/token-rate-limits/global`

## Request body

- TokenRateLimitArgs
  - `enabled` boolean, required
  - `token_budget` integer, required
  - `period_hours` integer, required

## Response `200`

Successful Response

- TokenRateLimitDisplay
  - `token_id` integer, required
  - `enabled` boolean, required
  - `token_budget` integer, required
  - `period_hours` integer, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-01-06** `2d941ea53eb3` — 5 info
  - api tag `public` added
  - the response property `enabled` became required for the status `200`
  - the response property `period_hours` became required for the status `200`
  - the response property `token_budget` became required for the status `200`
  - …1 more
- **2025-08-21** `9321c45d93b5` — 4 breaking, 1 info
  - the response property `enabled` became optional for the status `200`
  - the response property `period_hours` became optional for the status `200`
  - the response property `token_budget` became optional for the status `200`
  - the response property `token_id` became optional for the status `200`
  - …1 more

[Change history](https://skmtc.dev/onyx-dot-app/apis/onyx-api/changes/admin/token-rate-limits/global/post.md)

---

[API](https://skmtc.dev/onyx-dot-app/apis/onyx-api.md) · [All operations](https://skmtc.dev/onyx-dot-app/apis/onyx-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/onyx-dot-app/onyx-api/revisions/2980a9073ffe/schema)
