---
raw: true
search:
  tags:
    - Teams
    - GET
seo:
  description: >-
    Returns the team's plan limits, current usage, and disabled… Reference for
    the GET /v1/teams/{teamId}/plan-policy endpoint in the Spacefast Partner
    API.
sidebar:
  label: Get the team's plan policy
  badge: GET
title: Get the team's plan policy
type: openapi-operation
---
Returns the team's plan limits, current usage, and disabled behaviors as enforced at publish and serving time.

`GET /v1/teams/{teamId}/plan-policy`

**Responses**

- `200` — Response for status 200
- `default` — Problem details (RFC 9457). Any 4xx/5xx response is one \`application/problem+json\` document.

Response example, 200:

```json
{
  "$schema": "http://example.com",
  "data": {
    "principal": {
      "type": "team",
      "id": "string"
    },
    "spaceId": "string",
    "plan": "free",
    "limits": {
      "storageBytes": 0,
      "teamMembers": 0,
      "liveSpaces": 0,
      "customDomains": 0,
      "boughtDomains": "unlimited",
      "auditLogRetentionHours": 0,
      "buildAccessLogRetentionHours": 0,
      "buildsDeploysDaily": 0,
      "subTeams": 0,
      "externalDomainGroups": 0,
      "maxFileBytes": 0,
      "maxVersionFiles": 0,
      "routingRules": 0,
      "buildsDeploysMonthly": 0
    },
    "usage": {
      "storageBytes": 0,
      "teamMembers": 0,
      "liveSpaces": 0,
      "customDomains": 0,
      "buildsDeploysToday": 0
    },
    "warnings": [
      {
        "severity": "info",
        "code": "string",
        "message": "string"
      }
    ],
    "disabledBehaviors": [
      {
        "code": "free_external_proxy_disabled",
        "behavior": "string",
        "renderedAs": "warning"
      }
    ]
  }
}
```
