Routescope APIRoutescope API

查询我的余额订阅

🔑 需要令牌认证(TokenAuth)

以 OpenAI 风格返回当前令牌的额度上限信息(软限制 / 硬限制 / 系统硬限制)以及账户访问截止时间,便于客户端做用量预警。

GET
/api/token/self/subscription
curl -X GET "https://webapi.routescope.ai/api/token/self/subscription"
{
  "object": "billing_subscription",
  "has_payment_method": true,
  "soft_limit_usd": 1.2,
  "hard_limit_usd": 1.2,
  "system_hard_limit_usd": 1.2,
  "access_until": 0
}

Authorization

BearerAuth

AuthorizationBearer <token>

使用 Bearer Token 认证。 格式: Authorization: Bearer sk-xxxxxx

In: header

Response Body

application/json

最后更新于