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

# Get Quota Usage

> Get resource quota usage (current counts vs tier limits).

**Required Role:** VIEWER or higher

Returns current usage counts and tier limits for each quota-limited resource
(tasks, secrets, locations, alerts, vault connections, API keys, team members).



## OpenAPI

````yaml GET /v1/teams/{team_id}/usage/quotas
openapi: 3.1.0
info:
  title: Data Raven API
  description: Cloud-to-cloud data transfer platform powered by RClone
  version: 0.5.0
servers: []
security: []
paths:
  /v1/teams/{team_id}/usage/quotas:
    get:
      tags:
        - Usage
      summary: Get Team Quota Usage
      description: >-
        Get resource quota usage (current counts vs tier limits).


        **Required Role:** VIEWER or higher


        Returns current usage counts and tier limits for each quota-limited
        resource

        (tasks, secrets, locations, alerts, vault connections, API keys, team
        members).
      operationId: get_team_quota_usage_v1_teams__team_id__usage_quotas_get
      parameters:
        - name: team_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Team Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuotaUsageResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    QuotaUsageResponse:
      properties:
        team_id:
          type: string
          title: Team Id
          description: Team UUID
        subscription_tier:
          type: string
          title: Subscription Tier
          description: Subscription tier (free/pro)
        quotas:
          items:
            $ref: '#/components/schemas/QuotaItem'
          type: array
          title: Quotas
          description: Per-resource quota items
      type: object
      required:
        - team_id
        - subscription_tier
        - quotas
      title: QuotaUsageResponse
      description: Quota usage for all team resources.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    QuotaItem:
      properties:
        resource:
          type: string
          title: Resource
          description: Resource identifier (e.g., 'tasks', 'secrets')
        label:
          type: string
          title: Label
          description: Human-readable label
        current:
          type: integer
          title: Current
          description: Current count of this resource
        limit:
          anyOf:
            - type: integer
            - type: 'null'
          title: Limit
          description: Maximum allowed (null if unlimited)
      type: object
      required:
        - resource
        - label
        - current
        - limit
      title: QuotaItem
      description: Single resource quota with current usage and limit.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````