---
title: "v2GetAccount | TypeScript SDK | AEO API"
description: "Check the plan and limits for the account that owns your API key. Set view to usage to read consumption for a billing period."
url: "https://aeoapi.dev/docs/sdks/typescript/v2GetAccount"
canonical: "https://aeoapi.dev/docs/sdks/typescript/v2GetAccount"
last_updated: "2026-11-30"
---

# v2GetAccount

Check the plan and limits for the account that owns your API key. Set view to usage to read consumption for a billing period.

See the REST reference for [`GET /v2/account`](https://aeoapi.dev/docs/api-reference#get-v2-account).

## Signature

```
v2GetAccount(
  options?: {
    signal?: AbortSignal;
    brand_id?: string;
    cursor?: string;
    include?: "overview" | "schedules" | "webhooks";
    limit?: number;
    period_end?: string | Date;
    period_start?: string | Date;
    resource_kind?: "citation" | "prompt" | "topic";
    view?: "overview" | "limits" | "sources" | "usage" | "fields";
  },
): Promise<ApiResponse<unknown>>
```

## Parameters

**`options`**

Pass the named options in the signature. The selected action or view determines which fields are required.

**`options.signal`**

Optional AbortSignal to cancel the HTTP request.

## Return value

Promise\<ApiResponse\<unknown\>\>. The overview includes data.plan, data.status, data.limits and the billing period dates.

## Errors

- The SDK throws AeoApiError if the API returns an error. Inspect status, code, fieldErrors and requestId.
- AeoTransportError means the request failed to connect or the client could not finish reading a successful response. Invalid JSON in a successful response throws SyntaxError. If you abort the request, the SDK throws the reason from the AbortSignal.
- For HTTP 422, check fieldErrors for the input field and validation message.

## TypeScript example

```
import { AeoClient } from "@aeoapi/aeo-sdk";

const apiKey = process.env.AEO_API_KEY;
if (!apiKey) throw new Error("Set AEO_API_KEY on your server.");
const client = new AeoClient(apiKey, { baseUrl: "https://api.aeoapi.dev" });

const response = await client.v2GetAccount();
console.log(response.status, response.body);
```

## Requests by feature

### Account and usage

- [Account overview](https://aeoapi.dev/docs/features/account-and-usage/get-account-overview)
- [Plan limits](https://aeoapi.dev/docs/features/account-and-usage/get-account-limits)
- [Available answer sources](https://aeoapi.dev/docs/features/account-and-usage/get-account-sources)
- [Credit usage](https://aeoapi.dev/docs/features/account-and-usage/get-account-usage)
- [Read prompt columns](https://aeoapi.dev/docs/features/account-and-usage/get-account-fields-prompt)
- [Read topic columns](https://aeoapi.dev/docs/features/account-and-usage/get-account-fields-topic)
- [Read citation columns](https://aeoapi.dev/docs/features/account-and-usage/get-account-fields-citation)

See [TypeScript client setup](https://aeoapi.dev/docs/sdks/typescript) for authentication, timeouts and retry settings.
