API Reference

# Get Warm-up State

Return the workspace warm-up snapshot: active plan progress, the reading days before its first comment (an account writes nothing until it has read for...

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

POST

``/`agent`/`v1`/`warmup`/`state`

Send

Authorization

Body

Return the workspace warm-up snapshot: active plan progress, the reading days before its first comment (an account writes nothing until it has read for readingDaysBeforeWriting full days: 3, or 14 for an account Rankhog bought), connection-pause reasons, remaining warming time, today's work, per-account warming state, credit requirement, and account health. Connection pauses resume automatically after repair; the credit's 90-day expiry remains unchanged. Cache policy: live. Idempotency: none. Auth modes: api\_key, mcp\_oauth, session\_bearer.

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

`apiKeyAuth`

AuthorizationBearer <token>

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

In: `header`

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

`application/json`

TypeScript Definitions

Use the request body type in TypeScript.

Copy

managedRedditAccountId\*string

Length`1 <= length <= 160`

organizationId\*string

Length`1 <= length <= 160`

websiteId\*string

Length`1 <= length <= 160`

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

### 200  `application/json`

### 400  `application/json`

### 401  `application/json`

### 402  `application/json`

### 403  `application/json`

### 404  `application/json`

### 500  `application/json`

cURL

JavaScript

Go

Python

Java

C#

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

200400401402403404500

```
{
  "activePlan": {
    "activeSafetyIncident": null,
    "effectiveStatus": "active",
    "connectionPause": null,
    "remainingTimeMs": 950400000,
    "dayIndex": 3,
    "durationDays": 14,
    "endsAt": "2026-06-30T09:00:00.000Z",
    "readingDays": 5,
    "readingDaysBeforeWriting": 3,
    "id": "warmup_plan_2x9rnkhdemo",
    "redditAccountId": "reddit_2x9rnkhdemo",
    "startedAt": "2026-06-17T12:00:00.000Z",
    "subreddits": [\
      {\
        "eligibilityStatus": "allowed",\
        "subreddit": "askreddit"\
      },\
      {\
        "eligibilityStatus": "allowed",\
        "subreddit": "todayilearned"\
      },\
      {\
        "eligibilityStatus": "allowed",\
        "subreddit": "nostupidquestions"\
      }\
    ],
    "day": {
      "comingUp": [\
        {\
          "kind": "comment",\
          "notBefore": "2026-06-17T12:00:00.000Z",\
          "state": "drafted",\
          "subreddit": "todayilearned"\
        },\
        {\
          "kind": "visit",\
          "notBefore": "2026-06-17T12:00:00.000Z",\
          "state": "planned",\
          "subreddit": "technology"\
        }\
      ],
      "comments": {
        "planned": 3,
        "sent": 1
      },
      "done": [\
        {\
          "at": "2026-06-17T12:00:00.000Z",\
          "count": 2,\
          "kind": "votes",\
          "subreddit": "askreddit",\
          "url": null\
        },\
        {\
          "at": "2026-06-17T12:00:00.000Z",\
          "count": 1,\
          "kind": "comment",\
          "subreddit": "askreddit",\
          "url": "https://www.reddit.com/r/AskReddit/comments/1abcde/comment/k1abcde/"\
        }\
      ],
      "skipped": [\
        {\
          "kind": "comment",\
          "reason": "no_thread",\
          "subreddit": "nostupidquestions"\
        }\
      ]
    },
    "todayWork": {
      "comments": 3,
      "commentsReady": 2,
      "commentsWaitingForSources": 1,
      "findingAskReddit": false
    },
    "windowElapsed": false
  },
  "accounts": [\
    {\
      "effectiveStatus": "active",\
      "connectionPause": null,\
      "remainingTimeMs": 950400000,\
      "accountAgeDays": 245,\
      "commentKarma": 412,\
      "creditConsumed": true,\
      "isPrimary": true,\
      "metricsFresh": true,\
      "recommendedDurationDays": 14,\
      "redditAccountId": "reddit_2x9rnkhdemo",\
      "redditUsername": "rankhog_demo",\
      "resumableDays": 0,\
      "startCost": 25,\
      "totalKarma": 1830,\
      "warming": true\
    }\
  ],
  "credits": {
    "available": 212,
    "cost": 25,
    "spendable": 208
  },
  "health": {
    "accountAgeDays": 245,
    "capturedAt": "2026-06-17T12:00:00.000Z",
    "commentKarma": 412,
    "healthStatus": "healthy",
    "karmaDelta7d": 36,
    "posture": "standard",
    "reasons": [],
    "score": 82,
    "totalKarma": 1830
  }
}
```

```
{
  "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_paid_plan_required",
    "details": {
      "managedAccountBillingStatus": "active",
      "productId": "site_demo",
      "subscriptionStatus": "past_due"
    },
    "message": "This product has no active plan or trial yet. Call get_product_setup with productId site_demo: it gives the link where the person starts the 7-day trial. Never pay for them."
  }
}
```

### Missing OAuth scope

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

### API key organization mismatch

### Organization access denied

### Website access denied

```
{
  "error": {
    "code": "agentic_managed_account_not_found",
    "message": "Managed Reddit account not found."
  }
}
```

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

[Audit Opportunity DraftPOST\\
\\
Audit a saved draft revision. Returns advisory findings without editing, approving, scheduling, or executing it.](/content/docs/api/reference/audit_opportunity_draft/index.html) [Get Reddit Account ProtectionPOST\\
\\
Return the protection policy and pacing risk that gate Reddit writes for one workspace account, so a blocked execution can be predicted instead of...](/content/docs/api/reference/get_reddit_account_protection/index.html)
