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

# Cultural Intelligence usage summary



## OpenAPI

````yaml /openapi.public.json get /v1/cultural-intelligence/orgs/{org_id}/usage
openapi: 3.1.0
info:
  title: AstroM8 Public API
  version: 1.1.0
  description: >-
    Astrology calculations, reports, customer delivery, and enterprise
    workflows. Each operation declares whether it uses an API key or a customer
    session bearer token.
servers:
  - url: https://api.astrom8.com
    description: Production
security: []
tags:
  - name: Western
    description: Natal, relationship, return, progression, and transit calculations.
  - name: Vedic
    description: Lahiri sidereal Vedic calculations, matching, timing, and remedies.
  - name: Thai Astrology
    description: Thai calendar, auspicious timing, lunar, festival, and wheel tools.
  - name: Chinese & Korean
    description: BaZi, Qi Men Dun Jia, and Saju calculations.
  - name: Horoscopes
    description: Published daily and range horoscope content.
  - name: Reports
    description: Branded report generation and asynchronous job polling.
  - name: Tarot & Numerology
    description: Tarot spreads and Pythagorean numerology.
  - name: Uranian
    description: Uranian charts, midpoints, and planetary pictures.
  - name: Developer workflow
    description: Preflight capability eligibility and credit estimates.
  - name: Customer reports
    description: Session-authenticated report jobs and reusable brand profiles.
  - name: Customer delivery
    description: Session-authenticated webhooks and scheduled horoscope delivery.
  - name: Cultural Intelligence
    description: >-
      Enterprise API-key workflows for encrypted profiles, teams, and campaign
      content.
paths:
  /v1/cultural-intelligence/orgs/{org_id}/usage:
    get:
      tags:
        - Cultural Intelligence
      summary: Cultural Intelligence usage summary
      parameters:
        - $ref: '#/components/parameters/CulturalOrgId'
      responses:
        '200':
          description: Metadata-only usage summary.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CulturalUsageSummary'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
      security:
        - ApiKeyAuth: []
components:
  parameters:
    CulturalOrgId:
      name: org_id
      in: path
      required: true
      schema:
        type: string
  schemas:
    CulturalUsageSummary:
      type: object
      required:
        - org_id
        - period
        - quota_mode
        - monthly_unit_quota
        - units_used_current_period
        - by_endpoint
        - by_family
      properties:
        org_id:
          type: string
        period:
          type: string
        quota_mode:
          type: string
        monthly_unit_quota:
          type: integer
        units_used_current_period:
          type: integer
        by_endpoint:
          type: object
          additionalProperties:
            type: integer
        by_family:
          type: object
          additionalProperties:
            type: integer
    JsonError:
      type: object
      required:
        - error
        - message
      properties:
        error:
          type: string
          description: >-
            Stable slug (e.g. unauthorized, payment_required,
            internal_server_error).
        message:
          type: string
          description: Human-readable message safe for clients.
        code:
          type: string
          description: Optional provider-specific code.
        request_id:
          type: string
          description: Correlation id when middleware sets it.
  responses:
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/JsonError'
          example:
            error: unauthorized
            message: Invalid API key
            code: '401'
            request_id: 01HQXYZ...
    NotFound:
      description: Resource not available
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/JsonError'
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: Use the raw API key as the Bearer token, or send X-API-Key instead.

````