본문으로 건너뛰기

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#"
}