---
title: "Read a saved explanation | Recommendations and visibility analyst | AEO API"
description: "Reopens a saved visibility explanation."
url: "https://aeoapi.dev/docs/features/recommendations-and-visibility-analyst/get-runs-run-id-analyst"
canonical: "https://aeoapi.dev/docs/features/recommendations-and-visibility-analyst/get-runs-run-id-analyst"
last_updated: "2026-11-30"
---

Recommendations and visibility analyst

# Read a saved explanation

Reopens a saved visibility explanation.

[`GET /v2/runs/{run_id}`](https://aeoapi.dev/docs/api-reference#get-v2-runs-run_id)

- Path `run_id` starts with `analyst:`.

## Authentication and access

**Authentication**

Bearer API key

**Scopes**

analytics:read

**Roles**

approver, editor, owner, publisher, service, viewer

**Plans**

Optimizer, Analyzer

**Credits**

No credit charge.

## Parameters

Request parameters

| Name | Where | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `run_id` | path | `string` | Yes |  |
| `brand_id` | query | `string (uuid)` | Yes |  |

## Request body

Send this request without a body.

## Request examples

Set `AEO_API_BASE_URL` to `https://api.aeoapi.dev` and `AEO_API_KEY` to your server-side API key. Set the other environment variables to the values for your request.

```bash
curl --fail-with-body --get "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
  -H "Authorization: Bearer $AEO_API_KEY" \
  --data-urlencode "brand_id=$BRAND_ID"
```

```python
from os import environ
from aeo_sdk import AeoClient

with AeoClient(environ["AEO_API_KEY"], base_url=environ["AEO_API_BASE_URL"]) as client:
    response = client.v2_get_runs_run_id(
        run_id=environ["RUN_ID"],
        brand_id=environ["BRAND_ID"],
    )
    print(response.body)
```

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

const client = new AeoClient(process.env.AEO_API_KEY!, {
  baseUrl: process.env.AEO_API_BASE_URL!,
});
const response = await client.v2GetRunsRunId(
  process.env.RUN_ID!,
  {
    brand_id: process.env.BRAND_ID!,
  },
);
console.log(response.body);
```

## Responses

#### HTTP 200

Successful Response

`application/json`

Response fields are listed below.

HTTP 200 response fields 1

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | `object` | Yes | The requested result. See the fields below for its contents. |
| `data.after` | `object` | Yes |  |
| `data.after.gaps` | `object` | Yes |  |
| `data.after.gaps.[key]` | `integer` | No | Value for each key. |
| `data.after.mentions` | `integer` | Yes |  |
| `data.after.month` | `string` | Yes |  |
| `data.after.scheduled_samples` | `integer` | Yes |  |
| `data.after.valid_answers` | `integer` | Yes |  |
| `data.before` | `object` | Yes |  |
| `data.before.gaps` | `object` | Yes |  |
| `data.before.gaps.[key]` | `integer` | No | Value for each key. |
| `data.before.mentions` | `integer` | Yes |  |
| `data.before.month` | `string` | Yes |  |
| `data.before.scheduled_samples` | `integer` | Yes |  |
| `data.before.valid_answers` | `integer` | Yes |  |
| `data.brand_id` | `string` | Yes | Identifies the brand this result belongs to. |
| `data.changed_groups` | `integer` | Yes |  |
| `data.comparison` | `object` | Yes |  |
| `data.comparison.current_only` | `integer` | Yes |  |
| `data.comparison.matched_cohorts` | `integer` | Yes |  |
| `data.comparison.mention_change_percentage_points` | `number \| null` | Yes |  |
| `data.comparison.previous_only` | `integer` | Yes |  |
| `data.findings` | `array of object` | Yes |  |
| `data.findings[].after` | `object` | Yes |  |
| `data.findings[].after.mentions` | `integer` | Yes |  |
| `data.findings[].after.valid_answers` | `integer` | Yes |  |
| `data.findings[].ai_search` | `string` | Yes | The AI search product the answer came from, such as google_ai_overviews. |
| `data.findings[].before` | `object` | Yes |  |
| `data.findings[].before.mentions` | `integer` | Yes |  |
| `data.findings[].before.valid_answers` | `integer` | Yes |  |
| `data.findings[].change_percentage_points` | `number` | Yes |  |
| `data.findings[].comparison_set_version` | `string` | Yes |  |
| `data.findings[].evidence` | `object` | Yes |  |
| `data.findings[].evidence.after` | `object \| null` | Yes |  |
| `data.findings[].evidence.after.brand_mentioned` | `boolean` | Conditional |  |
| `data.findings[].evidence.after.cited_urls` | `array of string` | Conditional |  |
| `data.findings[].evidence.after.excerpt` | `string` | Conditional |  |
| `data.findings[].evidence.after.excerpt_truncated` | `boolean` | Conditional |  |
| `data.findings[].evidence.after.mention_in_excerpt` | `boolean` | Conditional |  |
| `data.findings[].evidence.after.observation_id` | `string` | Conditional |  |
| `data.findings[].evidence.after.origin` | `string \| null` | Conditional |  |
| `data.findings[].evidence.before` | `object \| null` | Yes |  |
| `data.findings[].evidence.before.brand_mentioned` | `boolean` | Conditional |  |
| `data.findings[].evidence.before.cited_urls` | `array of string` | Conditional |  |
| `data.findings[].evidence.before.excerpt` | `string` | Conditional |  |
| `data.findings[].evidence.before.excerpt_truncated` | `boolean` | Conditional |  |
| `data.findings[].evidence.before.mention_in_excerpt` | `boolean` | Conditional |  |
| `data.findings[].evidence.before.observation_id` | `string` | Conditional |  |
| `data.findings[].evidence.before.origin` | `string \| null` | Conditional |  |
| `data.findings[].finding` | `string` | Yes |  |
| `data.findings[].finding_id` | `string` | Yes |  |
| `data.findings[].prompt_id` | `string` | Yes |  |
| `data.findings[].prompt_text` | `string \| null` | Yes |  |
| `data.findings[].prompt_version` | `integer` | Yes |  |
| `data.findings[].source` | `object` | Yes |  |
| `data.report_id` | `string` | Yes |  |
| `data.result` | `object` | No | Finished output from this run. |
| `data.result.after` | `object` | No |  |
| `data.result.after.gaps` | `object` | Conditional |  |
| `data.result.after.gaps.[key]` | `integer` | No | Value for each key. |
| `data.result.after.mentions` | `integer` | Conditional |  |
| `data.result.after.month` | `string` | Conditional |  |
| `data.result.after.scheduled_samples` | `integer` | Conditional |  |
| `data.result.after.valid_answers` | `integer` | Conditional |  |
| `data.result.before` | `object` | No |  |
| `data.result.before.gaps` | `object` | Conditional |  |
| `data.result.before.gaps.[key]` | `integer` | No | Value for each key. |
| `data.result.before.mentions` | `integer` | Conditional |  |
| `data.result.before.month` | `string` | Conditional |  |
| `data.result.before.scheduled_samples` | `integer` | Conditional |  |
| `data.result.before.valid_answers` | `integer` | Conditional |  |
| `data.result.changed_groups` | `integer` | No |  |
| `data.result.comparison` | `object` | No |  |
| `data.result.comparison.current_only` | `integer` | Conditional |  |
| `data.result.comparison.matched_cohorts` | `integer` | Conditional |  |
| `data.result.comparison.mention_change_percentage_points` | `number \| null` | Conditional |  |
| `data.result.comparison.previous_only` | `integer` | Conditional |  |
| `data.result.findings` | `array of object` | No |  |
| `data.result.findings[].after` | `object` | Conditional |  |
| `data.result.findings[].after.mentions` | `integer` | Conditional |  |
| `data.result.findings[].after.valid_answers` | `integer` | Conditional |  |
| `data.result.findings[].ai_search` | `string` | Conditional | The AI search product the answer came from, such as google_ai_overviews. |
| `data.result.findings[].before` | `object` | Conditional |  |
| `data.result.findings[].before.mentions` | `integer` | Conditional |  |
| `data.result.findings[].before.valid_answers` | `integer` | Conditional |  |
| `data.result.findings[].change_percentage_points` | `number` | Conditional |  |
| `data.result.findings[].comparison_set_version` | `string` | Conditional |  |
| `data.result.findings[].evidence` | `object` | Conditional |  |
| `data.result.findings[].evidence.after` | `object \| null` | Conditional |  |
| `data.result.findings[].evidence.after.brand_mentioned` | `boolean` | Conditional |  |
| `data.result.findings[].evidence.after.cited_urls` | `array of string` | Conditional |  |
| `data.result.findings[].evidence.after.excerpt` | `string` | Conditional |  |
| `data.result.findings[].evidence.after.excerpt_truncated` | `boolean` | Conditional |  |
| `data.result.findings[].evidence.after.mention_in_excerpt` | `boolean` | Conditional |  |
| `data.result.findings[].evidence.after.observation_id` | `string` | Conditional |  |
| `data.result.findings[].evidence.after.origin` | `string \| null` | Conditional |  |
| `data.result.findings[].evidence.before` | `object \| null` | Conditional |  |
| `data.result.findings[].evidence.before.brand_mentioned` | `boolean` | Conditional |  |
| `data.result.findings[].evidence.before.cited_urls` | `array of string` | Conditional |  |
| `data.result.findings[].evidence.before.excerpt` | `string` | Conditional |  |
| `data.result.findings[].evidence.before.excerpt_truncated` | `boolean` | Conditional |  |
| `data.result.findings[].evidence.before.mention_in_excerpt` | `boolean` | Conditional |  |
| `data.result.findings[].evidence.before.observation_id` | `string` | Conditional |  |
| `data.result.findings[].evidence.before.origin` | `string \| null` | Conditional |  |
| `data.result.findings[].finding` | `string` | Conditional |  |
| `data.result.findings[].finding_id` | `string` | Conditional |  |
| `data.result.findings[].prompt_id` | `string` | Conditional |  |
| `data.result.findings[].prompt_text` | `string \| null` | Conditional |  |
| `data.result.findings[].prompt_version` | `integer` | Conditional |  |
| `data.result.findings[].source` | `object` | Conditional |  |
| `data.result.report_id` | `string` | No |  |
| `data.result.summary` | `string` | No |  |
| `data.run_id` | `string` | Yes | Identifies the run. Keep any prefix when using it in a request. |
| `data.summary` | `string` | Yes |  |
| `data.usage_units` | `integer` | Yes |  |
| `data.v2_run_id` | `string` | No | The prefixed run ID accepted by GET /v2/runs/{run_id}. |
| `data.workflow` | `"explain_visibility_change"` | Yes | The workflow selected for this run or estimate. |
| `meta` | `object` | Yes | Information about this response, including any warnings or pagination details. |

## Errors

Read `code` and `message` in the error response. Keep `request_id` when you contact support.

- HTTP 400 [`invalid_request`](https://aeoapi.dev/docs/errors#invalid_request)
- HTTP 401 [`unauthenticated`](https://aeoapi.dev/docs/errors#unauthenticated)
- HTTP 403 [`forbidden`](https://aeoapi.dev/docs/errors#forbidden)
- HTTP 404 [`not_found`](https://aeoapi.dev/docs/errors#not_found)
- HTTP 422 [`validation_error`](https://aeoapi.dev/docs/errors#validation_error)
- HTTP 429 [`rate_limited`](https://aeoapi.dev/docs/errors#rate_limited)

[Recommendations and visibility analyst reference](https://aeoapi.dev/docs/features/recommendations-and-visibility-analyst)
