> ## Documentation Index
> Fetch the complete documentation index at: https://doc.octopusx.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Account Management Overview

> Summary of authentication headers, OAuth state flow, token usage, and OpenAI-compatible balance query interfaces.

# Account Management

Account management here mainly covers three categories: authentication methods, OAuth browser flow, and balance and usage queries at the API Key level or account level.

<CardGroup cols={2}>
  <Card title="Authentication Methods" icon="key-round" href="/en/account/authentication">
    Bearer Token, Claude-compatible headers, Gemini-compatible headers, login state, and OAuth routes.
  </Card>

  <Card title="Balance and Usage" icon="wallet" href="/en/account/billing">
    `/api/usage/token`, `/dashboard/billing/subscription`, `/dashboard/billing/usage`.
  </Card>
</CardGroup>

## Route List

| Method | Path                                 | Description                                         |
| ------ | ------------------------------------ | --------------------------------------------------- |
| `GET`  | `/api/oauth/state`                   | Generate OAuth `state` value                        |
| `GET`  | `/api/oauth/{provider}`              | Standard OAuth callback route                       |
| `GET`  | `/api/usage/token/`                  | API Key usage and balance                           |
| `GET`  | `/dashboard/billing/subscription`    | OpenAI-compatible subscription/balance              |
| `GET`  | `/v1/dashboard/billing/subscription` | Same as above, compatibility path with `/v1` prefix |
| `GET`  | `/dashboard/billing/usage`           | OpenAI-compatible usage                             |
| `GET`  | `/v1/dashboard/billing/usage`        | Same as above, compatibility path with `/v1` prefix |

## Recommended Reading Order

1. [Authentication Methods](./authentication)
2. [Account Balance and Usage](./billing)
