API ドキュメント
アカウントの利用状況を見る
キーのアカウントがプランに対してどれだけ利用したか、最近の呼び出しとその結果または拒否コード。
REST: GET /v1/usage MCP ツール: usage_list API キーが必要
拒否コード
- input_invalid (400) The request does not match the action’s input schema.
- key_missing (401) This action needs an API key (Authorization: Bearer <key>).
- key_invalid (401) The API key is unknown, revoked or expired.
- rate_limited (429) Too many requests from this client; slow down.
- database_unavailable (503) The ledger database cannot be reached right now.
入力(JSON Schema)
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 20
}
},
"required": [],
"$schema": "http://json-schema.org/draft-07/schema#"
}