コンソールアカウント API
コンソールアカウント管理 API:SIWE ウォレットログイン、ID、API key、プラン、残高、課金・チャージ履歴、利用量、リセット機会。
これらはコンソールのアカウント管理 API です。プロダクト API(JSON-RPC、Data API、WebSocket)はこれらに依存しません。アカウント固有のリクエストは、SIWE ログインで返されるセッショントークンで認証します。
エンドポイント一覧
以下は英語の原仕様です。
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 |
以下は英語の原仕様です。
最終更新: