---
title: "Read an action outcome | Reports and sharing | AEO API"
description: "Compare the baseline finding for an approved action with its measured follow-up."
url: "https://aeoapi.dev/docs/features/reports-and-sharing/get-reports-action-outcome"
canonical: "https://aeoapi.dev/docs/features/reports-and-sharing/get-reports-action-outcome"
last_updated: "2026-11-30"
---

Reports and sharing

# Read an action outcome

Compare the baseline finding for an approved action with its measured follow-up.

[`GET /v2/reports`](https://aeoapi.dev/docs/api-reference#get-v2-reports)

- Query `view` is `action_outcome`. Default is `report`.

## Authentication and access

**Authentication**

Bearer API key

**Scopes**

analytics:read

**Roles**

approver, editor, owner, publisher, service, viewer

**Plans**

Optimizer, Analyzer

**Credits**

No credit charge.

- **Action kind content_draft.** Scopes analytics:read, optimizations:read. Plans Optimizer.
- **To include question text in a draft outcome.** Scope `prompts:read`.
- **Action kind fresh_check.** Scopes analytics:read, collections:read. Plans Optimizer, Analyzer.
- **To include a linked check.** Scope `collections:read`.

## Parameters

Request parameters

| Name | Where | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `action_id` | query | `string` | Yes |  |
| `brand_id` | query | `string (uuid)` | Yes |  |
| `follow_up_action_id` | query | `string` | No |  |
| `view` | query | `"action_outcome"` | 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/reports" \
  -H "Authorization: Bearer $AEO_API_KEY" \
  --data-urlencode "action_id=$ACTION_ID" \
  --data-urlencode "brand_id=$BRAND_ID" \
  --data-urlencode 'view=action_outcome'
```

```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_reports(
        action_id=environ["ACTION_ID"],
        brand_id=environ["BRAND_ID"],
        view="action_outcome",
    )
    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.v2GetReports(
  {
    action_id: process.env.ACTION_ID!,
    brand_id: process.env.BRAND_ID!,
    view: "action_outcome",
  },
);
console.log(response.body);
```

## Responses

#### HTTP 200

Successful Response

`application/json`

Example generated from the response schema.

```
{
  "data": {
    "brand_id": "example",
    "action": {
      "action_id": "example",
      "kind": "fresh_check",
      "status": "proposed",
      "proposed_at": "example",
      "approved_at": null,
      "draft_format": null,
      "approved_max_credits": null,
      "quoted_maximum_credits": 0
    },
    "baseline": {
      "analyst_run_id": "example",
      "analyst_run_url": "example",
      "finding_id": "example",
      "report_id": "example",
      "report_url": "example",
      "report_generated_at": "example",
      "previous_month": "example",
      "baseline_month": "example",
      "finding": "example",
      "previous_period": {
        "valid_answers": 0,
        "mentions": 0,
        "mention_rate": null
      },
      "baseline_period": {
        "valid_answers": 0,
        "mentions": 0,
        "mention_rate": null
      },
      "question": {
        "prompt_id": "example",
        "prompt_version": 0,
        "text": null,
        "brand_scope": "branded",
        "classification_basis": "brand_term_match_r1"
      },
      "cohort": {
        "engine": "example",
        "ai_search": "example",
        "provider": null,
        "mode": "example",
        "country": "example",
        "region": null,
        "city": null,
        "language": "example",
        "device": null,
        "comparison_set_version": "example",
        "analysis_version": "example"
      }
    },
    "follow_up": null,
    "measurement": {
      "status": "not_measured",
      "reason": "action_not_approved",
      "before": {
        "valid_answers": 0,
        "mentions": 0,
        "mention_rate": null
      },
      "after": null,
      "mention_change_percentage_points": null,
      "unmatched_valid_answers": null,
      "invalid_or_missing_samples": null,
      "warnings": []
    },
    "publication_status": "unpublished",
    "interpretation": "example",
    "usage_units": 0
  },
  "meta": {}
}
```

HTTP 200 response fields 1

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | `object` | Yes | The requested result. See the fields below for its contents. |
| `data.action` | `object` | Yes |  |
| `data.action.action_id` | `string` | Yes |  |
| `data.action.approved_at` | `string \| null` | Yes |  |
| `data.action.approved_max_credits` | `integer \| null` | Yes |  |
| `data.action.draft_format` | `"faq" \| "organization_jsonld" \| null` | Yes |  |
| `data.action.kind` | `"fresh_check" \| "content_draft"` | Yes |  |
| `data.action.proposed_at` | `string` | Yes |  |
| `data.action.quoted_maximum_credits` | `integer` | Yes |  |
| `data.action.status` | `"proposed" \| "approved"` | Yes |  |
| `data.baseline` | `object` | Yes |  |
| `data.baseline.analyst_run_id` | `string` | Yes |  |
| `data.baseline.analyst_run_url` | `string` | Yes |  |
| `data.baseline.baseline_month` | `string` | Yes |  |
| `data.baseline.baseline_period` | `object` | Yes |  |
| `data.baseline.baseline_period.mention_rate` | `number \| null` | Yes |  |
| `data.baseline.baseline_period.mentions` | `integer` | Yes |  |
| `data.baseline.baseline_period.valid_answers` | `integer` | Yes |  |
| `data.baseline.cohort` | `object` | Yes |  |
| `data.baseline.cohort.ai_search` | `string` | Yes | The AI search product the answer came from, such as google_ai_overviews. |
| `data.baseline.cohort.analysis_version` | `string` | Yes |  |
| `data.baseline.cohort.city` | `string \| null` | Yes |  |
| `data.baseline.cohort.comparison_set_version` | `string` | Yes |  |
| `data.baseline.cohort.country` | `string` | Yes |  |
| `data.baseline.cohort.device` | `string \| null` | Yes |  |
| `data.baseline.cohort.engine` | `string` | Yes |  |
| `data.baseline.cohort.language` | `string` | Yes |  |
| `data.baseline.cohort.mode` | `string` | Yes |  |
| `data.baseline.cohort.provider` | `string \| null` | Yes |  |
| `data.baseline.cohort.region` | `string \| null` | Yes |  |
| `data.baseline.finding` | `string` | Yes |  |
| `data.baseline.finding_id` | `string` | Yes |  |
| `data.baseline.previous_month` | `string` | Yes |  |
| `data.baseline.previous_period` | `object` | Yes |  |
| `data.baseline.previous_period.mention_rate` | `number \| null` | Yes |  |
| `data.baseline.previous_period.mentions` | `integer` | Yes |  |
| `data.baseline.previous_period.valid_answers` | `integer` | Yes |  |
| `data.baseline.question` | `object` | Yes |  |
| `data.baseline.question.brand_scope` | `"branded" \| "unbranded" \| "unknown"` | Yes |  |
| `data.baseline.question.classification_basis` | `"brand_term_match_r1" \| "no_brand_term_match_r1" \| "not_classified"` | Yes |  |
| `data.baseline.question.prompt_id` | `string` | Yes |  |
| `data.baseline.question.prompt_version` | `integer` | Yes |  |
| `data.baseline.question.text` | `string \| null` | Yes |  |
| `data.baseline.report_generated_at` | `string` | Yes |  |
| `data.baseline.report_id` | `string` | Yes |  |
| `data.baseline.report_url` | `string` | Yes |  |
| `data.brand_id` | `string` | Yes | Identifies the brand this result belongs to. |
| `data.follow_up` | `object \| null` | Yes |  |
| `data.follow_up.action_id` | `string` | Conditional |  |
| `data.follow_up.approved_at` | `string` | Conditional |  |
| `data.follow_up.approved_max_credits` | `integer` | Conditional |  |
| `data.follow_up.charged_credits` | `integer` | Conditional |  |
| `data.follow_up.check_url` | `string \| null` | Conditional |  |
| `data.follow_up.observation` | `object \| null` | Conditional |  |
| `data.follow_up.observation.after` | `object \| null` | Conditional |  |
| `data.follow_up.observation.after.mention_rate` | `number \| null` | Conditional |  |
| `data.follow_up.observation.after.mentions` | `integer` | Conditional |  |
| `data.follow_up.observation.after.valid_answers` | `integer` | Conditional |  |
| `data.follow_up.observation.before` | `object` | Conditional |  |
| `data.follow_up.observation.before.mention_rate` | `number \| null` | Conditional |  |
| `data.follow_up.observation.before.mentions` | `integer` | Conditional |  |
| `data.follow_up.observation.before.valid_answers` | `integer` | Conditional |  |
| `data.follow_up.observation.invalid_or_missing_samples` | `integer \| null` | Conditional |  |
| `data.follow_up.observation.mention_change_percentage_points` | `number \| null` | Conditional |  |
| `data.follow_up.observation.reason` | `"action_not_approved" \| "draft_unpublished" \| "report_pending" \| "report_not_ready" \| "analysis_version_changed" \| "no_matched_valid_answers" \| "matched_valid_answers"` | Conditional |  |
| `data.follow_up.observation.status` | `"not_measured" \| "inconclusive" \| "unchanged" \| "measured"` | Conditional |  |
| `data.follow_up.observation.unmatched_valid_answers` | `integer \| null` | Conditional |  |
| `data.follow_up.observation.warnings` | `array of string` | Conditional |  |
| `data.follow_up.prompt_segments` | `array of object` | Conditional |  |
| `data.follow_up.prompt_segments[].brand_scope` | `"branded" \| "unbranded" \| "unknown"` | Conditional |  |
| `data.follow_up.prompt_segments[].checked_prompt_versions` | `integer` | Conditional |  |
| `data.follow_up.prompt_segments[].invalid_or_missing_follow_up_samples` | `integer` | Conditional |  |
| `data.follow_up.prompt_segments[].matched_after` | `object` | Conditional |  |
| `data.follow_up.prompt_segments[].matched_after.mentions` | `integer` | Conditional |  |
| `data.follow_up.prompt_segments[].matched_after.valid_answers` | `integer` | Conditional |  |
| `data.follow_up.prompt_segments[].matched_before` | `object` | Conditional |  |
| `data.follow_up.prompt_segments[].matched_before.mentions` | `integer` | Conditional |  |
| `data.follow_up.prompt_segments[].matched_before.valid_answers` | `integer` | Conditional |  |
| `data.follow_up.prompt_segments[].matched_cohorts` | `integer` | Conditional |  |
| `data.follow_up.prompt_segments[].mean_cohort_change_percentage_points` | `number \| null` | Conditional |  |
| `data.follow_up.prompt_segments[].unmatched_baseline_valid_answers` | `integer` | Conditional |  |
| `data.follow_up.prompt_segments[].unmatched_follow_up_valid_answers` | `integer` | Conditional |  |
| `data.follow_up.quoted_maximum_credits` | `integer` | Conditional |  |
| `data.follow_up.released_credits` | `integer` | Conditional |  |
| `data.follow_up.report_generated_at` | `string \| null` | Conditional |  |
| `data.follow_up.report_id` | `string \| null` | Conditional |  |
| `data.follow_up.report_status` | `"pending" \| "ready" \| "not_available"` | Conditional |  |
| `data.follow_up.report_url` | `string \| null` | Conditional |  |
| `data.follow_up.reserved_credits` | `integer` | Conditional |  |
| `data.follow_up.run_id` | `string` | Conditional |  |
| `data.follow_up.run_status` | `string` | Conditional |  |
| `data.interpretation` | `string` | Yes |  |
| `data.measurement` | `object` | Yes |  |
| `data.measurement.after` | `object \| null` | Yes |  |
| `data.measurement.after.mention_rate` | `number \| null` | Conditional |  |
| `data.measurement.after.mentions` | `integer` | Conditional |  |
| `data.measurement.after.valid_answers` | `integer` | Conditional |  |
| `data.measurement.before` | `object` | Yes |  |
| `data.measurement.before.mention_rate` | `number \| null` | Yes |  |
| `data.measurement.before.mentions` | `integer` | Yes |  |
| `data.measurement.before.valid_answers` | `integer` | Yes |  |
| `data.measurement.invalid_or_missing_samples` | `integer \| null` | Yes |  |
| `data.measurement.mention_change_percentage_points` | `number \| null` | Yes |  |
| `data.measurement.reason` | `"action_not_approved" \| "draft_unpublished" \| "report_pending" \| "report_not_ready" \| "analysis_version_changed" \| "no_matched_valid_answers" \| "matched_valid_answers"` | Yes |  |
| `data.measurement.status` | `"not_measured" \| "inconclusive" \| "unchanged" \| "measured"` | Yes |  |
| `data.measurement.unmatched_valid_answers` | `integer \| null` | Yes |  |
| `data.measurement.warnings` | `array of string` | Yes |  |
| `data.publication_status` | `"unpublished" \| "not_applicable"` | Yes |  |
| `data.usage_units` | `0` | Yes |  |
| `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)

[Reports and sharing reference](https://aeoapi.dev/docs/features/reports-and-sharing)
