---
title: "Set Intelligence Key Limit"
method: POST
path: "/api/admin/intelligence/key-limit"
tags: ["Admin"]
---

# Set Intelligence Key Limit

`POST /api/admin/intelligence/key-limit`

## Request

- Base URL: `https://api.xfinlab.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xfinlab.com/api/admin/intelligence/key-limit`
- Auth: none declared

Set a lower daily cap for one key, matched by its key_preview
(e.g. 'xfl_AbCd...wxyz'). daily_limit=-2 (default) -> 50; 0 removes
the override.

## Query parameters

- `token` string, required
- `key_preview` string, required
- `daily_limit` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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