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

# Get team subscription

> Curated subscription and plan fields for the team. No billing gateway or price internals.



## OpenAPI

````yaml /openapi.json get /api/v1/teams/{team_id}/subscription
openapi: 3.1.0
info:
  title: AnyIP.io API documentation
  description: API documentation
  version: 1.0.0
servers:
  - url: /
    description: ''
security:
  - apiHeader: []
tags:
  - name: V1.IpWhitelist
    description: Public API v1 — IP whitelist management
  - name: V1.ProxyAccount
    description: Public API v1 — proxy account provisioning and lifecycle
  - name: V1.ProxyProfile
    description: Public API v1 — proxy profile management
  - name: V1.Subscription
    description: Public API v1 — team subscription (read-only)
  - name: V1.Tag
    description: Public API v1 — tag management
  - name: V1.Traffic
    description: Public API v1 — traffic time series (read-only)
  - name: V1.Usage
    description: Public API v1 — quota usage (read-only)
paths:
  /api/v1/teams/{team_id}/subscription:
    get:
      tags:
        - V1.Subscription
      summary: Get team subscription
      description: >-
        Curated subscription and plan fields for the team. No billing gateway or
        price internals.
      operationId: public_v1_team_get_subscription
      parameters:
        - name: team_id
          in: path
          description: Team identifier
          required: true
          deprecated: false
          schema:
            type: string
          style: simple
          explode: false
      responses:
        '200':
          description: V1.Subscription resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1.Subscription'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          links: {}
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          links: {}
components:
  schemas:
    V1.Subscription:
      type: object
      description: Public API v1 — team subscription (read-only)
      properties:
        plan:
          anyOf:
            - $ref: '#/components/schemas/SubscriptionPlanResource'
            - type: 'null'
        status:
          type:
            - string
            - 'null'
        billing_cycle:
          type:
            - string
            - 'null'
        valid_from:
          type:
            - string
            - 'null'
          format: date-time
        valid_until:
          type:
            - string
            - 'null'
          format: date-time
        next_payment_at:
          type:
            - string
            - 'null'
          format: date-time
    Error:
      type: object
      description: A representation of common errors.
      properties:
        title:
          readOnly: true
          description: A short, human-readable summary of the problem.
          type:
            - string
            - 'null'
        detail:
          readOnly: true
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem.
          type:
            - string
            - 'null'
        status:
          type:
            - integer
            - 'null'
          examples:
            - 404
          default: 400
        instance:
          readOnly: true
          description: >-
            A URI reference that identifies the specific occurrence of the
            problem. It may or may not yield further information if
            dereferenced.
          type:
            - string
            - 'null'
        type:
          readOnly: true
          description: A URI reference that identifies the problem type
          type: string
    SubscriptionPlanResource:
      type: object
      properties:
        name:
          type:
            - string
            - 'null'
        quota_bytes:
          type:
            - integer
            - 'null'
        proxy_account_quota:
          type:
            - integer
            - 'null'
  securitySchemes:
    apiHeader:
      type: apiKey
      description: Value for the Api-Key header parameter.
      name: Api-Key
      in: header

````