Get the team's plan policy
Returns the team’s plan limits, current usage, and disabled behaviors as enforced at publish and serving time.
/v1/teams/{teamId}/plan-policyAuthorizationBearer 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
principalobjectrequiredPrincipal the policy was resolved for.
Show propertiesHide properties
typestringrequiredteamspaceexternal_principalidstringrequiredspaceIdstringSpace the policy was resolved against, when space-scoped.
planstringrequiredPlan code.
freegoplusgoldenterpriseinternallimitsobjectrequiredNamed plan limits.
Show propertiesHide properties
storageBytesinteger | stringrequiredPlan limit value; "unlimited" when the plan does not limit this axis.
Show propertiesHide properties
integerstringteamMembersinteger | stringrequiredPlan limit value; "unlimited" when the plan does not limit this axis.
Show propertiesHide properties
integerstringliveSpacesinteger | stringrequiredPlan limit value; "unlimited" when the plan does not limit this axis.
Show propertiesHide properties
integerstringcustomDomainsinteger | stringrequiredPlan limit value; "unlimited" when the plan does not limit this axis.
Show propertiesHide properties
integerstringboughtDomainsstringrequiredDomains bought through Spacefast never count against custom domain limits.
auditLogRetentionHoursinteger | stringrequiredPlan limit value; "unlimited" when the plan does not limit this axis.
Show propertiesHide properties
integerstringbuildAccessLogRetentionHoursinteger | stringrequiredPlan limit value; "unlimited" when the plan does not limit this axis.
Show propertiesHide properties
integerstringbuildsDeploysDailyinteger | stringrequiredPooled daily allowance: pricing never separates user pushes from CI builds, and passing it warns rather than blocks.
Show propertiesHide properties
integerstringsubTeamsinteger | stringPlan limit value; "unlimited" when the plan does not limit this axis.
Show propertiesHide properties
integerstringexternalDomainGroupsinteger | stringPlan limit value; "unlimited" when the plan does not limit this axis.
Show propertiesHide properties
integerstringmaxFileBytesinteger | stringPlan limit value; "unlimited" when the plan does not limit this axis.
Show propertiesHide properties
integerstringmaxVersionFilesinteger | stringPlan limit value; "unlimited" when the plan does not limit this axis.
Show propertiesHide properties
integerstringroutingRulesinteger | stringPlan limit value; "unlimited" when the plan does not limit this axis.
Show propertiesHide properties
integerstringbuildsDeploysMonthlyinteger | stringPlan limit value; "unlimited" when the plan does not limit this axis.
Show propertiesHide properties
integerstringusageobjectCurrent usage against the named limits, where the platform meters it.
Show propertiesHide properties
storageBytesintegerteamMembersintegerliveSpacesintegercustomDomainsintegerExternally connected custom domains across the whole team.
buildsDeploysTodayintegerwarningsobject[]Plan-level warnings (for example storage over quota).
Show propertiesHide properties
objectseveritystringrequiredinfowarningerrorcodestringrequiredmessagestringrequireddisabledBehaviorsobject[]Behaviors the plan disables instead of failing publishes.
Show propertiesHide properties
objectcodestringrequiredStable code identifying the disabled behavior.
free_external_proxy_disabledbehaviorstringrequiredWhat the platform does instead of honoring the behavior.
renderedAsstringrequiredHow the disablement surfaces to users.
warningplatform_pageignoredProblem 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.