API Reference

# Get a Discovery scan

Read saved Discovery searches, observed result positions and resulting opportunities. Historical scans may contain only partial evidence.

Server URL`https://api.rankhog.com/`

POST

``/`agent`/`v1`/`growth`/`get-discovery-scan`

Send

Authorization

Body

Read saved Discovery searches, observed result positions and resulting opportunities. Historical scans may contain only partial evidence. Positions are provider placement, not independently verified Google rankings. Cache policy: live. Idempotency: none. Auth modes: api\_key, mcp\_oauth, session\_bearer.

## [Authorization](/content/docs/api/reference/get_discovery_scan/index.html#authorization)

`apiKeyAuth`

AuthorizationBearer <token>

Rankhog organization API key sent as `Authorization: Bearer rhog_...`.

In: `header`

## [Request Body](/content/docs/api/reference/get_discovery_scan/index.html#request-body)

`application/json`

TypeScript Definitions

Use the request body type in TypeScript.

Copy

organizationId\*string

Length`1 <= length <= 160`

websiteId\*string

Length`1 <= length <= 160`

scanId\*string

Length`1 <= length <= 100`

## [Response Body](/content/docs/api/reference/get_discovery_scan/index.html#response-body)

### 200  `application/json`

### 400  `application/json`

### 401  `application/json`

### 403  `application/json`

### 404  `application/json`

cURL

JavaScript

Go

Python

Java

C#

```
curl -X POST "https://api.rankhog.com/agent/v1/growth/get-discovery-scan" \
  -H "Authorization: Bearer " \
  -H "Content-Type: application/json" \
  -d '{
    "organizationId": "org_demo",
    "websiteId": "site_demo",
    "scanId": "scan_demo"
  }'
```

200400401403404

```
{
  "scan": {
    "id": "scan_demo",
    "outcome": "empty",
    "trigger": "scheduled",
    "scheduledFor": "2026-09-16T13:00:00Z",
    "startedAt": null,
    "finishedAt": null
  },
  "searches": [],
  "candidates": [],
  "opportunities": []
}
```

```
{
  "error": {
    "code": "agentic_invalid_input",
    "message": "Invalid capability input."
  }
}
```

```
{
  "error": {
    "code": "agentic_unauthorized",
    "message": "Authentication is required."
  }
}
```

```
{
  "error": {
    "code": "agentic_missing_scope",
    "message": "The required permission has not been granted."
  }
}
```

### agentic\_website\_not\_found

```
{
  "error": {
    "code": "agentic_website_not_found",
    "message": "Product not found."
  }
}
```

### agentic\_discovery\_scan\_not\_found

[Steer DiscoveryPOST\\
\\
Update Discovery direction without restarting the session. Cache policy: live.](/content/docs/api/reference/update_discovery_direction/index.html) [List Discovery scansPOST\\
\\
Inspect recent Discovery scan outcomes, including when product billing is inactive.](/content/docs/api/reference/list_discovery_scans/index.html)
