Scrub API
POST/v1/tools/plan_statusfree

Plan status

This workspace's plan: Free with its balance, or a paid plan with how much of this month's work is left, when it renews, and whether additional usage is on. With the plans offered. Every price is the same on a plan; a paid plan buys a month of work for less. Free to call.

Fields

No fields: send {}.

Call it

Request

curl -X POST https://app.scrub.app/v1/tools/plan_status \
  -H "Authorization: Bearer $SCRUB_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Answer

{
  "ok": true,
  "result": {
    "…": "…"
  }
}

What result holds is said above.

Every call can also answer an error: what comes back. Try it with your key from Account.