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

# Get Account Quota

> Retrieves the account quota details for a company associated with a given API key



## OpenAPI

````yaml GET /api/account/quota
openapi: 3.0.1
info:
  title: OpenAPI Quota API
  description: A sample API that demonstrates how to retrieve account quota details
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://staging.screenshotbee.com/
security: []
paths:
  /api/account/quota:
    get:
      summary: Get Account Quota
      description: >-
        Retrieves the account quota details for a company associated with a
        given API key
      parameters:
        - name: x-api-key
          in: header
          required: true
          schema:
            type: string
          description: The API key associated with the company
      responses:
        '200':
          description: Account quota details retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    description: >-
                      Indicates whether the call was successful. True if
                      successful, false if not.
                  result:
                    type: object
                    properties:
                      total_quota:
                        type: number
                        description: The total quota limit for API requests.
                      quota_used:
                        type: number
                        description: The number of API requests used.
                      quota_remaining:
                        type: number
                        description: The remaining quota available for API requests.
                      plan_name:
                        type: string
                        description: The name of the plan associated with the company.
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Invalid api key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      required:
        - success
        - message
      type: object
      properties:
        success:
          type: boolean
          description: Indicates request success status
        message:
          type: string
          description: A short description of the error

````