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

# Get quotas for a customer



## OpenAPI

````yaml /api-reference/admin/admin-openapi.yml get /projects/{projectId}/customers/{customerId}/quotas
openapi: 3.1.0
info:
  title: Admin API
  version: 0.1.0
  description: >
    The Admin API provides programmatic access to Corti's self-service Console
    platform. This API is intended for administrators.
servers:
  - url: https://api.console.corti.app/functions/v1/public
    description: Production Admin API
security: []
tags:
  - name: Auth
    description: Operations related to authentication
  - name: Customers
    description: Operations related to customer management
  - name: Users
    description: Operations related to user management
paths:
  /projects/{projectId}/customers/{customerId}/quotas:
    get:
      tags:
        - Customers
      summary: Get quotas for a customer
      parameters:
        - $ref: '#/components/parameters/ProjectId'
        - $ref: '#/components/parameters/CustomerId'
      responses:
        '200':
          description: >
            Returns quota limits and current usage for the tenant associated
            with the specified customer. Usage reflects the number of enabled
            users. A value of `-1` indicates an unlimited resource.
          content:
            application/json:
              schema:
                type: object
                properties:
                  users:
                    $ref: '#/components/schemas/QuotaUsage'
                required:
                  - users
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
      security:
        - BearerAuth: []
components:
  parameters:
    ProjectId:
      name: projectId
      in: path
      required: true
      schema:
        type: string
        example: consoleproject
      description: >
        Unique identifier of your project in the Corti API Console.


        To find it, open your project at
        [console.corti.app](https://console.corti.app/), go to Settings, and
        copy the value from the Project ID field.
    CustomerId:
      name: customerId
      in: path
      required: true
      schema:
        type: string
        example: contosohospital
      description: The unique identifier for a Customer
  schemas:
    QuotaUsage:
      type: object
      properties:
        quota:
          type: integer
          description: Maximum allowed usage; -1 indicates unlimited
        usage:
          type: integer
          description: Current consumption
        remaining:
          type: integer
          description: Remaining usage; -1 indicates unlimited
      required:
        - quota
        - usage
        - remaining
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message
        code:
          type: string
          description: Machine-readable error code
        details:
          type: object
          additionalProperties: true
          description: Additional error details
      required:
        - error
  responses:
    BadRequest:
      description: Bad request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Authentication failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Forbidden:
      description: Forbidden
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: Entity not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    ServiceUnavailable:
      description: External service unavailable
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >
        JWT access token obtained from the /auth/token endpoint.


        > This `Admin API` is separate from the `Corti API` used for speech
        recognition, text generation, and agentic workflows. Authentication and
        scope for the `Admin API` uses email-and-password to obtain a bearer
        token via
        [/auth/token](/api-reference/admin/auth/authenticate-user-and-get-access-token).
        This token is only used for API administration.

````