AGTCloud API Docs
文件指南API Reference整合與資源更新與幫助
帳戶與用量

查詢 API Key 額度

查詢目前 API Key 的已授予、已使用及剩餘額度、模型限制與到期時間。

GET/api/usage/token

使用目前 API Key 查詢自身額度。額度不同於單次模型回應的輸入、輸出 Token 數。缺少或無效的 Authorization Header 回傳 401。

授權

bearerAuth
授權Bearer <token>

Authorization: Bearer your-api-key。可攜帶或省略 sk- 前綴。

傳遞位置: header

回應主體

application/json

application/json