Spec0docsCLI 0.7.0
API Explorer

Org-level resource counts and current plan

Returns counts of APIs, mock servers, and teams in the calling token's org, plus the org's current plan. Useful for CLI status/dashboard views.

GET
/api/v1/public/orgs/summary

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer token. Either a Personal Access Token (pat_...) or a Service Account Token (sat_...). Issued via the Spec0 dashboard or /me/personal-access-tokens.

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://app.spec0.io/api/v1/public/orgs/summary"
{
  "apiCount": 0,
  "mockServerCount": 0,
  "teamCount": 0,
  "plan": "string"
}
{
  "error": "string",
  "message": "string"
}
{
  "status": 0,
  "title": "string",
  "detail": "string",
  "type": "string",
  "instance": "string"
}
Was this helpful?