---
title: "Read a managed run | AI answer collection and runs | AEO API"
description: "Check progress by source and credits used. When the report is ready, the result includes its link."
url: "https://aeoapi.dev/docs/features/ai-answer-collection-and-runs/get-runs-run-id-managed"
canonical: "https://aeoapi.dev/docs/features/ai-answer-collection-and-runs/get-runs-run-id-managed"
last_updated: "2026-11-30"
---

AI answer collection and runs

# Read a managed run

Check progress by source and credits used. When the report is ready, the result includes its link.

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

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

## Authentication and access

**Authentication**

Bearer API key

**Scopes**

collections: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 \| 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 -X GET "$AEO_API_BASE_URL/v2/runs/$RUN_ID" \
  -H "Authorization: Bearer $AEO_API_KEY"
```

```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"],
    )
    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!,
);
console.log(response.body);
```

## Responses

Read data.status. Stop polling at completed, partial, failed or cancelled. A completed or partial run can have results. If the run failed, check the reported reason.

#### 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.brand_id` | `string` | Yes | Identifies the brand this result belongs to. |
| `data.charged_credits` | `integer` | Yes |  |
| `data.check_id` | `string \| null` | Yes |  |
| `data.check_url` | `string \| null` | Yes |  |
| `data.citation_status` | `"in_progress" \| "completed"` | No | Citation preparation status for this run, when applicable. |
| `data.created_at` | `string` | Yes |  |
| `data.estimated_credits` | `integer` | Yes | The expected credit cost for this selection. |
| `data.failure_reasons` | `array of "access_restricted" \| "limit_reached" \| "input_missing" \| "approval_expired" \| "cancelled" \| "check_failed" \| "check_incomplete"` | Yes |  |
| `data.hold_reasons` | `array of "retry_pending" \| "under_review"` | Yes |  |
| `data.id` | `string` | No |  |
| `data.phase` | `string \| null` | Yes |  |
| `data.progress` | `object` | Yes |  |
| `data.progress.by_location` | `array of object` | No |  |
| `data.progress.by_location[].by_source` | `array of object` | Conditional |  |
| `data.progress.by_location[].completed_steps` | `integer` | Conditional |  |
| `data.progress.by_location[].expected_steps` | `integer` | Conditional |  |
| `data.progress.by_location[].location_id` | `string (uuid)` | Conditional |  |
| `data.progress.by_source` | `array of object` | Yes |  |
| `data.progress.completed_steps` | `integer` | Yes |  |
| `data.progress.expected_steps` | `integer` | Yes |  |
| `data.prompt_set_revision` | `string` | Yes |  |
| `data.released_credits` | `integer` | Yes |  |
| `data.report` | `object` | No |  |
| `data.report.report_id` | `string` | Conditional |  |
| `data.report.report_url` | `string` | Conditional |  |
| `data.report_id` | `string \| null` | Yes |  |
| `data.report_status` | `"pending" \| "ready" \| "not_available"` | Yes |  |
| `data.report_url` | `string \| null` | Yes |  |
| `data.reserved_credits` | `integer` | Yes |  |
| `data.result` | `object` | No |  |
| `data.result.by_location` | `array of object` | No |  |
| `data.result.by_location[].by_source` | `array of object` | Conditional |  |
| `data.result.by_location[].completed_steps` | `integer` | Conditional |  |
| `data.result.by_location[].expected_steps` | `integer` | Conditional |  |
| `data.result.by_location[].location_id` | `string (uuid)` | Conditional |  |
| `data.result.by_source` | `array of object` | Conditional |  |
| `data.result.completed_steps` | `integer` | Conditional |  |
| `data.result.expected_steps` | `integer` | Conditional |  |
| `data.run_id` | `string` | Yes | Identifies the run. Keep any prefix when using it in a request. |
| `data.status` | `string` | Yes |  |
| `data.updated_at` | `string` | Yes |  |
| `data.v2_run_id` | `string` | No | The prefixed run ID accepted by GET /v2/runs/{run_id}. |
| `data.website` | `string \| null` | 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)

[AI answer collection and runs reference](https://aeoapi.dev/docs/features/ai-answer-collection-and-runs)
