> ## Documentation Index
> Fetch the complete documentation index at: https://docs.member.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Team Capabilities

> What the caller can see and do in this team.

`is_owner` and `role` describe the caller. `features` lists the gated
features switched on for the team. `permissions` lists the permission keys
the caller holds in the team. The response is `no-store`: fetch it again
after a role or gate change. It is for display; the server still decides
each request.



## OpenAPI

````yaml /openapi/mio-openapi.json get /api/v1/teams/{team_id}/capabilities
openapi: 3.1.0
info:
  description: >-
    Production API reference for Membership.io. Use the authored guides for
    workflows and the generated endpoint pages for exact parameters and schemas.
  title: Membership.io API
  version: 0.1.0
servers:
  - description: Production
    url: https://api.member.dev
security:
  - bearerAuth: []
paths:
  /api/v1/teams/{team_id}/capabilities:
    get:
      tags:
        - capabilities
      summary: Get Team Capabilities
      description: >-
        What the caller can see and do in this team.


        `is_owner` and `role` describe the caller. `features` lists the gated

        features switched on for the team. `permissions` lists the permission
        keys

        the caller holds in the team. The response is `no-store`: fetch it again

        after a role or gate change. It is for display; the server still decides

        each request.
      operationId: capabilities.get_capabilities_get_teams_by_team_id_capabilities
      parameters:
        - in: path
          name: team_id
          required: true
          schema:
            title: Team Id
            type: string
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/JsonApiResponse_CapabilitiesAttributes_'
          description: Successful Response
        '422':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    JsonApiResponse_CapabilitiesAttributes_:
      properties:
        data:
          $ref: '#/components/schemas/JsonApiResource_CapabilitiesAttributes_'
        included:
          anyOf:
            - items: {}
              type: array
            - type: 'null'
          title: Included
        links:
          anyOf:
            - $ref: '#/components/schemas/JsonApiLinks'
            - type: 'null'
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
      required:
        - data
      title: JsonApiResponse[CapabilitiesAttributes]
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    JsonApiResource_CapabilitiesAttributes_:
      properties:
        attributes:
          $ref: '#/components/schemas/CapabilitiesAttributes'
        id:
          title: Id
          type: string
        links:
          anyOf:
            - $ref: '#/components/schemas/JsonApiLinks'
            - type: 'null'
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
        relationships:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Relationships
        type:
          title: Type
          type: string
      required:
        - id
        - type
        - attributes
      title: JsonApiResource[CapabilitiesAttributes]
      type: object
    JsonApiLinks:
      properties:
        self:
          anyOf:
            - type: string
            - type: 'null'
          title: Self
      title: JsonApiLinks
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
    CapabilitiesAttributes:
      additionalProperties: false
      properties:
        features:
          description: >-
            Names of the gated features that are switched on for this team,
            sorted. A feature that is not listed is off and its routes answer
            404.
          items:
            type: string
          title: Features
          type: array
        is_owner:
          description: >-
            True when the caller is the team's owner. Always false for an API
            key.
          title: Is Owner
          type: boolean
        permissions:
          description: >-
            The permission keys the caller holds in this team, sorted: what the
            server will let the caller do today. A live member session only;
            empty for an inactive or deleted user, a token that is no longer
            current, or a caller with no team membership. Owners hold every key.
            An API key holds the keys its operations admit an API key for. For
            display: the server still decides every request.
          items:
            type: string
          title: Permissions
          type: array
        role:
          anyOf:
            - $ref: '#/components/schemas/CapabilitiesRole'
            - type: 'null'
          description: >-
            The caller's role in the team, or null when the member has none or
            the caller is an API key.
      required:
        - is_owner
        - role
        - features
        - permissions
      title: CapabilitiesAttributes
      type: object
    CapabilitiesRole:
      additionalProperties: false
      properties:
        builtin:
          description: >-
            True for a role the platform provides, false for a role the team
            created.
          title: Builtin
          type: boolean
        slug:
          description: The role's slug within the team.
          title: Slug
          type: string
      required:
        - slug
        - builtin
      title: CapabilitiesRole
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT or mio_sk API key
      description: >-
        Send platform JWTs, contact JWTs, or team API keys as `Authorization:
        Bearer <token>`.
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.