---
title: "v2GetRuns | TypeScript SDK | AEO API"
description: "List managed runs or saved checks for a brand. Use the managed view to find recent runs and review their charges."
url: "https://aeoapi.dev/docs/sdks/typescript/v2GetRuns"
canonical: "https://aeoapi.dev/docs/sdks/typescript/v2GetRuns"
last_updated: "2026-11-30"
---

# v2GetRuns

List managed runs or saved checks for a brand. Use the managed view to find recent runs and review their charges.

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

## Signature

```
v2GetRuns(
  options: {
    signal?: AbortSignal;
    brand_id: string;
    cursor?: string | null;
    limit?: number;
    offset?: number;
    view?: "managed" | "saved_checks";
  },
): 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.

**`options.brand_id`**

string (uuid), required for this request.

**`options.limit`**

integer.

**`options.view`**

"managed".

## Return value

Promise\<ApiResponse\<unknown\>\>. The managed view returns run records under data, including the brand ID and charged_credits.

## 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" });

// Substitute your own record IDs and values.
const response = await client.v2GetRuns({
  "brand_id": "00000000-0000-4000-8000-000000000001",
  "view": "managed",
  "limit": 10
});
console.log(response.status, response.body);
```

## Requests by feature

### AI answer collection and runs

- [List managed runs](https://aeoapi.dev/docs/features/ai-answer-collection-and-runs/get-runs-managed)
- [List saved checks](https://aeoapi.dev/docs/features/ai-answer-collection-and-runs/get-runs-saved-checks)

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