# 콘솔 계정 API

> Source: https://docs.blockvectra.com/ko/api/console/

콘솔 계정 관리 API입니다. 제품 API(JSON-RPC, Data API 및 WebSocket)는 이에 의존하지 않습니다. SIWE 로그인으로 반환된 세션 토큰으로 계정별 요청을 인증하세요.

[OpenAPI 명세 다운로드](https://docs.blockvectra.com/openapi/console.yaml)

## 엔드포인트 목록

다음은 영어 원본 사양입니다.

<div lang="en">

### Auth

- POST /auth/siwe/challenge — Get SIWE message
- POST /auth/siwe/login — SIWE login (first login creates account)
- POST /auth/logout — Log out current session

### Me

- GET /me — Current username, identity list, and current session
- PATCH /me — Update username
- POST /me/identities/siwe — Link wallet
- POST /me/identities/oauth — Link GitHub or Google identity using login code
- DELETE /me/identities/{identity_id} — Unlink identity

### Keys

- GET /keys — List API keys
- POST /keys — Create key (secret displayed only once)
- GET /keys/{key_id} — Single key
- PATCH /keys/{key_id} — Rename key
- POST /keys/{key_id}/rotate — Rotate key (new secret displayed only once)
- POST /keys/{key_id}/revoke — Revoke key (idempotent)

### Billing

- GET /plans — Plan policies and pricing parameters
- GET /balance — Balance and settlement cutoff timestamp
- GET /charges — Charge records (paginated)
- GET /topups — Top-up records (paginated)
- GET /usage — Calls and CU usage grouped by UTC date, API key, chain, and method
- GET /resets — Reset chances
- POST /resets/use — Use one reset chance

</div>
