Scrub API
POST/v1/tools/team_usagefree

Usage by person

This month so far, by person, free: each one’s jobs and what their work was charged, from the ledger, adding up to the workspace’s total. The owner’s alone.

Fields

No fields: send {}.

Call it

Request

curl -X POST https://app.scrub.app/v1/tools/team_usage \
  -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.