360 Secure SkillHub
360 安全技能中心

omni-budget

该 Skill 通过调用 OmniRoute 的 rate-limit 接口,按 API key 或全局配置消费上限、token 配额与限流策略,并查询当前配置;请求需携带 Bearer 令牌,具体请求体与响应格式需参照未随包提供的 OpenAPI 规范。

分类:自动化
cheaper-inference
热度 0.00
最近更新 2026-11-06 05:37:22

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add cheaper-inference/omniroute/omni-budget
兼容性
通用兼容
联网要求
需要联网
数据出网
可选出网
Metadata
name
omni-budget
description
Configure spending limits, token quotas, and rate-limit policies per API key or globally. Inspect current consumption and enforce cost controls across providers.

Overview

Configure spending limits, token quotas, and rate-limit policies per API key or globally. Inspect current consumption and enforce cost controls across providers.

Authentication

All requests require a valid Bearer token or session cookie. Obtain a token via POST /api/auth/login or configure REQUIRE_API_KEY=false for local development.

Endpoints

GET /api/rate-limit

Get rate limit configuration

curl http://localhost:20128/api/rate-limit \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

POST /api/rate-limit

Update rate limit configuration

curl -X POST http://localhost:20128/api/rate-limit \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'

Payloads

See the full OpenAPI specification at GET /api/openapi/spec or docs/openapi.yaml for detailed request/response schemas.