API Reference

# Get Workspace Strategy

Return the current product-owned Discovery and Radar strategy. Cache policy: live.

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

POST

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

Send

Authorization

Body

Return the current product-owned Discovery and Radar strategy. Cache policy: live. Idempotency: none. Auth modes: api\_key, mcp\_oauth, session\_bearer.

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

`apiKeyAuth`

AuthorizationBearer <token>

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

In: `header`

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

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

### 200  `application/json`

### 400  `application/json`

### 401  `application/json`

### 403  `application/json`

### 500  `application/json`

cURL

JavaScript

Go

Python

Java

C#

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

200400401403500

```
{
  "discoveryHealth": {
    "fingerprint": "example-input-fingerprint",
    "coverage": {
      "Intercom alternative": "2026-06-17T12:00:00.000Z"
    },
    "completedCoverage": {},
    "emptyDays": [],
    "review": null
  },
  "discoverySearchEvidence": [\
    {\
      "provider": "firecrawl",\
      "mode": "reddit_restricted",\
      "query": "site:reddit.com Intercom alternative",\
      "countryCode": "US",\
      "languageCode": "en",\
      "capturedAt": "2026-06-17T12:00:00.000Z",\
      "position": 2\
    }\
  ],
  "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"\
      ]
    },
    "message": "Missing required scope: rankhog:read."
  }
}
```

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

[Open Reddit URLPOST\\
\\
Open an allowed Reddit URL in the paired Rankhog Desktop browser. This never exposes raw browser control.](/content/docs/api/reference/open_reddit_url/index.html) [Get Radar CoveragePOST\\
\\
Return which subreddits Rankhog reads for this product, how fresh each one is, and whether reading is healthy.](/content/docs/api/reference/get_radar_coverage/index.html)
