Supercheck LogoSupercheck
Organizations API

Get organization usage stats

Counts of projects, jobs, tests, monitors, runs, and members for the active organization. Requires org_admin or org_owner.

GET
/api/organizations/stats

Authorization

bearerAuth
AuthorizationBearer <token>

Project-scoped CLI token (sck_live_* or sck_test_*) for documented API operations that accept bearer authentication. Interactive browser operations may require a session cookie. Trigger keys (sck_trigger_* / legacy job_*) are accepted only by job trigger endpoints.

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://demo.supercheck.dev/api/organizations/stats"
{
  "success": true,
  "data": {
    "projects": 0,
    "jobs": 0,
    "tests": 0,
    "monitors": 0,
    "runs": 0,
    "members": 0
  }
}
Empty
{
  "error": "Unauthorized"
}
{
  "error": "string"
}
Empty