360 Secure SkillHub
360 安全技能中心

omni-budget

该 Skill 以 API 方式管理 OmniRoute 的支出限额、Token 配额和速率限制策略,支持按 API 密钥或全局范围读取与更新配置;文档给出基于 Bearer Token 的 curl 调用示例,并指向 OpenAPI 规范以获取详细请求与响应结构。

diegosouzapw
热度 0.00
最近更新 2026-10-19 02:16:39
分类:安全依赖:代码执行 / 第三方 API应用场景:API 集成 / 财务

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add diegosouzapw/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.