Get team usage
Returns the team’s current usage counters: spaces, domains, members, storage, and monthly publishes.
/v1/teams/{teamId}/usageAuthorizationBearer token · headerrequiredBetter Auth session, OAuth access token, OAuth client-credentials token, or sfm_ Space machine credential.
teamIdstringrequiredResponse for status 200
$schemastring<uri>Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.
dataobjectrequiredShow propertiesHide properties
teamIdstringrequiredThe team id the usage was metered for.
usageobjectrequiredUsage counters against the named plan limits.
Show propertiesHide properties
spacesintegerrequiredLive spaces readable by the caller.
liveSpacesintegerrequiredTeam-wide live Space count used for the plan quota.
domainsintegerrequiredCustom domains the team has in inventory.
membersintegerrequiredTeam members.
storageBytesnumberrequiredDisk occupied across the team's spaces, as measured by the serving infrastructure. Nothing is deduplicated: a file present in two spaces sits on two disks and counts twice.
storageQuotaBytesnumber | stringrequiredPlan storage quota; "unlimited" when unbounded.
Show propertiesHide properties
numberstringstorageOverageBytesnumberrequiredBytes over the plan storage quota.
storageCalculatedAtstring | nullrequiredHow far back the weakest measurement behind this total reaches. Null when the team's storage has not been measured yet. The meter lags the present by about an hour.
buildsDeploysTodayintegerrequiredPublishes (user pushes and CI builds pooled) in the current UTC day.
buildsDeploysDailyinteger | stringrequiredDaily publish allowance for the plan. Passing it warns; it never blocks.
Show propertiesHide properties
integerstringbuildsDeploysThisMonthintegerbuildsDeploysMonthlyinteger | stringPlan limit value; "unlimited" when the plan does not limit this axis.
Show propertiesHide properties
integerstringmeterStartedAtstring | nullrequiredInstant when the current metering day started.
spaceStorageobject[]requiredPer-space storage breakdown for spaces the caller can read.
Show propertiesHide properties
objectspaceIdstringrequiredSpace id.
slugstringrequiredSpace slug.
titlestringrequiredSpace display title.
storageBytesnumberrequiredDisk this space occupies, as measured by the infrastructure serving it. Zero until the space has been measured.
Problem details (RFC 9457). Any 4xx/5xx response is one application/problem+json document.
$schemastring<uri>Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.
typestringrequiredProblem type URI resolving to the error docs page. The server derives it mechanically from code against the docs origin.
titlestringrequiredShort human-readable summary of the problem type. The server derives it mechanically from code.
statusintegerrequiredHTTP status code of this response, repeated in the body.
detailstringrequiredHuman-readable failure explanation for this occurrence.
codestringrequiredStable snake_case error code naming the failed public contract.
pointerstringRFC 6901 JSON Pointer into the failing request field, for example "/files/37/path", on validation failures.
detailsobjectMachine-readable context for the error code.
fixstringOne sentence on what to do about this error code, the same text as the type page. Read it before retrying.
suggestionsstring[]Actionable recovery steps safe to show in dashboards, SDKs, and CLI output.
nextstring[]Copy-pasteable commands or API requests an agent can run next.
requestIdstringrequiredThe request id to quote when contacting support.