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

# Check Account Quota

> Returns the remaining API call quota for your account.
Use this endpoint to monitor your usage and plan accordingly.


<Note>
  Returns the remaining quota units allotted to your account. Poll this endpoint
  before launching long-running modelling jobs to make sure you stay within
  limits.
</Note>


## OpenAPI

````yaml GET /account/quota
openapi: 3.0.3
info:
  title: Luna Modelling API
  description: >
    API for advanced data modeling and filtering services.


    ## Getting Started


    To use this API, you need:

    1. **API Key**: Contact us to obtain your unique API key and quota
    allocation

    2. **Account ID**: Provided along with your API key


    ### Contact Us

    - Email: support@luna-modelling.com

    - Website: https://luna-modelling.com/contact


    Once you have your API key, include it in the `X-API-Key` header with every
    request.
  version: 1.0.0
servers:
  - url: https://api.luna-modelling.com/v1
    description: Production server
  - url: http://localhost:8000/v1
    description: Development server
security:
  - ApiKeyAuth: []
paths:
  /account/quota:
    get:
      tags:
        - Account
      summary: Get remaining quota
      description: |
        Returns the remaining API call quota for your account.
        Use this endpoint to monitor your usage and plan accordingly.
      operationId: getQuota
      responses:
        '200':
          description: Successfully retrieved quota information
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuotaResponse'
              example:
                account_id: 123
                account_name: acme-corp
                quota_remaining: 9850
        '403':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                detail: Invalid API key
components:
  schemas:
    QuotaResponse:
      type: object
      properties:
        account_id:
          type: integer
          description: The account ID
        account_name:
          type: string
          description: The account name
        quota_remaining:
          type: integer
          description: Number of API calls remaining in your quota
    Error:
      type: object
      properties:
        detail:
          type: string
          description: Error message
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key for authentication

````