# Get account

> Read the account credit balance.

See [pricing and account credit](https://revise.io/developer/docs/revise-api/pricing) for integration guidance.

## TypeScript

```ts
import { ReviseClient } from "@reviseio/api";

const revise = new ReviseClient({ apiKey: process.env.REVISE_API_KEY! });
const result = await revise.account.get();
```

`GET https://revise.io/api/v1/account`

## Authorization

`Authorization: Bearer <key>` with an API key from https://revise.io/console/api-keys.

## Responses

### 200 `Account`

The signed credit balance and funding capabilities.

- `id` (string, required)
- `currency` (string, required): always "usd"
- `available_usd` (string, required): Signed fixed-decimal USD credit balance. Requests are admitted only while the balance is positive; the final settled charge of an in-flight request may take it below zero until the next top-up. Spending thresholds stop new calls; the last response and its tools can take the final charge beyond them.. example "0.050000000"
- `pricing_version` (string, required)
- `funding_enabled` (boolean, required)
- `stripe_test_mode` (boolean, required)
- `api_key_id` (string, required): Non-secret ID of the currently authenticated key.

### default `Error`

Error

- `error` (object, required)
  - `code` (string, required)
  - `message` (string, required)
  - `details` (object)
