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

# Get Team Limits

> Retrieves plan limits and configuration for the team including row limits, rate limiting status, and subscription details.



## OpenAPI

````yaml openapi-v0.1.json get /v0.1/team/limits
openapi: 3.0.0
info:
  title: API Documentation
  description: API description
  version: '0.1'
  contact: {}
servers:
  - url: https://api.promptloop.com/
    description: Production API v0.1
security: []
tags: []
paths:
  /v0.1/team/limits:
    get:
      tags:
        - Team
      summary: Get Team Limits
      description: >-
        Retrieves plan limits and configuration for the team including row
        limits, rate limiting status, and subscription details.
      operationId: TeamController_getLimits
      parameters: []
      responses:
        '200':
          description: Successfully retrieved limits data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitsResponseDto'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDto'
      security:
        - x-api-key: []
components:
  schemas:
    LimitsResponseDto:
      type: object
      properties:
        status:
          type: string
          enum:
            - success
            - error
          example: success
        data:
          $ref: '#/components/schemas/LimitsDataDto'
        message:
          type: string
        error:
          $ref: '#/components/schemas/ErrorDetailsDto'
      required:
        - status
        - data
        - message
    ErrorResponseDto:
      type: object
      properties:
        status:
          type: string
          enum:
            - success
            - error
          example: error
        data:
          type: object
        message:
          type: string
        error:
          $ref: '#/components/schemas/ErrorDetailsDto'
      required:
        - status
        - data
        - message
    LimitsDataDto:
      type: object
      properties:
        plan:
          type: string
          description: Plan name based on subscription status
          example: Pro
        row_limit:
          type: number
          description: Monthly row limit for the plan
          example: 250
        rate_limited:
          type: boolean
          description: Whether API rate limiting is enabled
          example: true
        subscribed:
          type: boolean
          description: Whether the team has an active subscription
          example: true
        enterprise:
          type: boolean
          description: Whether the team is on an enterprise plan
          example: false
      required:
        - plan
        - row_limit
        - rate_limited
        - subscribed
        - enterprise
    ErrorDetailsDto:
      type: object
      properties:
        code:
          type: number
        details:
          type: string
      required:
        - code
        - details
  securitySchemes:
    x-api-key:
      type: apiKey
      in: header
      name: x-api-key

````