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

# List quota usage for the authenticated user

> Returns current usage and limits for all quota metrics. Allocation and rate quotas are per-user across all workspaces. Concurrency quotas are per-cluster — pass cluster_id to include them.



## OpenAPI

````yaml /openapi.json get /v1/quotas
openapi: 3.1.0
info:
  title: CNAP API
  version: 1.0.0
  description: >-
    Public API for managing CNAP workspaces, clusters, templates, products, and
    deployments.


    Authenticate with a Personal Access Token via the `Authorization: Bearer
    cnap_pat_...` header.


    Workspace-scoped endpoints require the `X-Workspace-Id` header.
servers:
  - url: https://api.cnap.tech
    description: Production
security: []
paths:
  /v1/quotas:
    get:
      tags:
        - Quotas
      summary: List quota usage for the authenticated user
      description: >-
        Returns current usage and limits for all quota metrics. Allocation and
        rate quotas are per-user across all workspaces. Concurrency quotas are
        per-cluster — pass cluster_id to include them.
      parameters:
        - schema:
            type: string
            description: Cluster ID to include concurrency quotas
          required: false
          description: Cluster ID to include concurrency quotas
          name: cluster_id
          in: query
      responses:
        '200':
          description: Quota info for all metrics
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/QuotaInfo'
        '401':
          description: Unauthorized
      security:
        - BearerAuth: []
components:
  schemas:
    QuotaInfo:
      type: object
      properties:
        metric:
          type: string
          example: compute/machines
          description: 'Metric: service/resource'
        type:
          type: string
          enum:
            - allocation
            - rate
            - concurrency
          example: allocation
        display_name:
          type: string
          example: Compute machines
        unit:
          type: string
          example: count
          description: count, cores, bytes, count/day
        limit:
          type: number
          example: 1
        usage:
          type: number
          example: 0
        remaining:
          type: number
          example: 1
        resets_at:
          type: string
          description: 'For rate quotas: ISO 8601 reset time'
      required:
        - metric
        - type
        - display_name
        - unit
        - limit
        - usage
        - remaining
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Personal Access Token (cnap_pat_...) or OAuth2 JWT. Create tokens at
        https://cnap.tech/account/tokens

````