API Reference

# Set Radar Enabled

Enable or disable Radar without changing Discovery. Cache policy: live.

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

POST

``/`agent`/`v1`/`strategy`/`radar`

Send

Authorization

Body

Enable or disable Radar without changing Discovery. Cache policy: live. Idempotency: required. Auth modes: api\_key, mcp\_oauth, session\_bearer.

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

`apiKeyAuth`

AuthorizationBearer <token>

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

In: `header`

## [Request Body](/content/docs/api/reference/set_radar_enabled/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`

idempotencyKey\*string

Length`1 <= length <= 160`

enabled\*boolean

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

### 200  `application/json`

### 400  `application/json`

### 401  `application/json`

### 403  `application/json`

### 429  `application/json`

### 500  `application/json`

cURL

JavaScript

Go

Python

Java

C#

```
curl -X POST "https://api.rankhog.com/agent/v1/strategy/radar" \
  -H "Authorization: Bearer " \
  -H "Content-Type: application/json" \
  -d '{
    "organizationId": "org_2x9rnkhdemo",
    "websiteId": "site_2x9rnkhdemo",
    "enabled": false,
    "idempotencyKey": "radar-off-001"
  }'
```

200400401403429500

```
{
  "jobId": null,
  "strategy": {
    "keywords": [\
      {\
        "enabled": true,\
        "id": "kw_1",\
        "intent": "Compare tools",\
        "keyword": "Intercom alternative",\
        "priority": 1\
      }\
    ],
    "strategy": {
      "bootstrap": {
        "error": null,
        "lastAttemptAt": "2026-06-17T12:00:00.000Z",
        "needsCommunities": false,
        "readyAt": "2026-06-17T12:00:00.000Z",
        "status": "ready"
      },
      "discovery": {
        "consecutiveEmptyScans": 0,
        "direction": "Find support-tool comparison demand",
        "lastScanAt": "2026-06-17T12:00:00.000Z",
        "lastSuccessAt": "2026-06-17T12:00:00.000Z",
        "lastTechnicalError": null,
        "nextScanAt": "2026-06-18T07:00:00.000Z",
        "status": "running"
      },
      "id": "strategy_1",
      "market": {
        "countryCode": "US",
        "determined": false,
        "languageCode": "en"
      },
      "radarEnabled": true,
      "radarSystemDisabledReason": null
    },
    "subreddits": [\
      {\
        "enabled": true,\
        "fitReason": "SaaS operators",\
        "id": "sub_1",\
        "priority": 1,\
        "subreddit": "SaaS",\
        "verificationStatus": "verified",\
        "verifiedAt": "2026-06-17T12:00:00.000Z"\
      }\
    ],
    "timeZone": "Europe/Paris"
  }
}
```

```
{
  "error": {
    "code": "agentic_invalid_input",
    "details": {
      "issues": [\
        {\
          "code": "invalid_type",\
          "message": "Expected string, received undefined.",\
          "path": [\
            "organizationId"\
          ]\
        }\
      ]
    },
    "message": "Request body did not match the agentic capability schema."
  }
}
```

### Missing authentication

```
{
  "error": {
    "code": "agentic_unauthorized",
    "message": "Authenticate before using Rankhog agentic capabilities."
  }
}
```

### Invalid API key

```
{
  "error": {
    "code": "agentic_missing_scope",
    "details": {
      "missingScopes": [\
        "rankhog:read",\
        "strategy:write"\
      ]
    },
    "message": "Missing required scope: rankhog:read, strategy:write."
  }
}
```

```
{
  "error": {
    "code": "agentic_write_rate_limited",
    "details": {
      "limit": 10,
      "windowSeconds": 3600
    },
    "message": "Agentic Reddit writes are rate-limited for this workspace."
  }
}
```

```
{
  "error": {
    "code": "agentic_internal_error",
    "message": "Rankhog could not complete this agentic request."
  }
}
```

[Run Discovery NowPOST\\
\\
Run the active Discovery session now, subject to its hourly limit. Cache policy: live.](/content/docs/api/reference/run_discovery_now/index.html) [Update Strategy InputsPOST\\
\\
Replace shared strategy keywords and watched Radar communities. A community Rankhog has a guide for starts watching immediately; any other is saved but...](/content/docs/api/reference/update_strategy_inputs/index.html)
