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

# Get Org Quota Status

> Returns the organization's query group quota, how many are currently in use, and a per-customer breakdown of active query groups.



## OpenAPI

````yaml POST /get-organization-quota-status
openapi: 3.1.0
info:
  title: Mindshare API
  description: >-
    The Mindshare API provides comprehensive access to brand visibility
    analytics, customer intelligence, and growth tracking. Use this API to
    retrieve customer data, query groups, execution results, domain insights,
    and actionable recommendations for improving your brand's AI visibility.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.mindshare.so/customer/v1
security:
  - apiKeyHeader: []
paths:
  /get-organization-quota-status:
    post:
      description: >-
        Returns the organization's query group quota, how many are currently in
        use, and a per-customer breakdown of active query groups.
      requestBody:
        description: Organization ID
        content:
          application/json:
            schema:
              type: object
              properties:
                organizationID:
                  type: number
                  description: >-
                    The ID of the organization to check quota for. Must match
                    the organization associated with the API key.
              required:
                - organizationID
        required: true
      responses:
        '200':
          description: Organization quota status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationQuotaStatusResponse'
components:
  schemas:
    OrganizationQuotaStatusResponse:
      type: object
      properties:
        status:
          type: number
          description: HTTP status code
        data:
          type: object
          properties:
            quota:
              type: number
              description: >-
                Maximum number of active query groups allowed for the
                organization
            used:
              type: number
              description: >-
                Total number of currently active query groups across all
                customers
            customers:
              type: array
              items:
                $ref: '#/components/schemas/QuotaCustomer'
              description: >-
                Per-customer breakdown of active query groups. Empty array if no
                customers exist.
          required:
            - quota
            - used
            - customers
        version:
          type: string
          description: API version
        env:
          type: string
          description: Environment name
      required:
        - status
        - data
        - version
        - env
    QuotaCustomer:
      type: object
      properties:
        customer_id:
          type: number
          description: Customer ID
        customer_name:
          type: string
          description: Customer name
        active_query_groups:
          type: number
          description: Number of query groups with status "Active" for this customer
      required:
        - customer_id
        - customer_name
        - active_query_groups
  securitySchemes:
    apiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key

````