Stop Discovery | Rankhog Docs
API Reference
Stop Discovery
Stop Discovery without changing Radar. Cache policy: live. Idempotency: required.
Server URLhttps://api.rankhog.com/
POST
``/agent/v1/strategy/discovery/stop
Send
Authorization
Body
Stop Discovery without changing Radar. Cache policy: live. Idempotency: required. Auth modes: api_key, mcp_oauth, session_bearer.
Authorization
apiKeyAuth
AuthorizationBearer
Rankhog organization API key sent as Authorization: Bearer rhog_....
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Copy
organizationId*string
Length1 <= length <= 160
websiteId*string
Length1 <= length <= 160
idempotencyKey*string
Length1 <= length <= 160
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/discovery/stop" \
-H "Authorization: Bearer " \
-H "Content-Type: application/json" \
-d '{
"organizationId": "org_2x9rnkhdemo",
"websiteId": "site_2x9rnkhdemo",
"idempotencyKey": "stop-discovery-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."
}
}
Start DiscoveryPOST\ \ Start Discovery with an optional product direction. Cache policy: live. Run Discovery NowPOST\ \ Run the active Discovery session now, subject to its hourly limit. Cache policy: live.