> ## 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.

# Celtic Cross tarot spread



## OpenAPI

````yaml /openapi.public.json post /api/v3/tarot/reports/celtic-cross
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:
  /api/v3/tarot/reports/celtic-cross:
    post:
      tags:
        - Tarot & Numerology
      summary: Celtic Cross tarot spread
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TarotSpreadRequest'
      responses:
        '200':
          description: Cards + reading_summary
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TarotSpreadResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '500':
          $ref: '#/components/responses/InternalError'
        '502':
          $ref: '#/components/responses/BadGatewayInterpretation'
        '503':
          $ref: '#/components/responses/ServiceUnavailableInterpretation'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    TarotSpreadRequest:
      type: object
      required:
        - question
      properties:
        question:
          type: string
          minLength: 1
          maxLength: 4096
        locale:
          type: string
          minLength: 2
          maxLength: 24
          examples:
            - th
        brand_name:
          type: string
          minLength: 1
          maxLength: 60
          examples:
            - Moon & Co
        tone:
          type: string
          enum:
            - professional
            - casual
            - mystical
            - playful
            - formal
        audience:
          type: string
          enum:
            - consumer
            - employee
            - manager
            - customer
            - community
        safety_mode:
          type: string
          enum:
            - default
            - workplace
            - financial_wellness
            - entertainment
    TarotSpreadResponse:
      type: object
      required:
        - cards
        - reading_summary
      properties:
        cards:
          type: array
          items:
            $ref: '#/components/schemas/TarotSpreadCard'
          minItems: 3
        reading_summary:
          type: string
          minLength: 1
    TarotSpreadCard:
      type: object
      required:
        - position
        - card_id
        - card_name
        - card_name_th
        - upright
        - keywords
        - keywords_th
        - meaning
      properties:
        position:
          type: string
        card_id:
          type: integer
          minimum: 0
          maximum: 77
        card_name:
          type: string
        card_name_th:
          type: string
        upright:
          type: boolean
        keywords:
          type: array
          items:
            type: string
        keywords_th:
          type: array
          items:
            type: string
        meaning:
          type: string
          minLength: 1
    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...
    PaymentRequired:
      description: >-
        Insufficient credits (checked before work where applicable; deduction is
        atomic)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/JsonError'
          example:
            error: payment_required
            message: Insufficient credits for this request
            code: '402'
            request_id: 01HQXYZ...
    InternalError:
      description: Unexpected failure — body omits stack traces; check logs with request_id
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/JsonError'
          example:
            error: internal_server_error
            message: Could not compute Panchang.
            code: internal
            request_id: 01HQXYZ...
    BadGatewayInterpretation:
      description: LLM returned unusable structured output (no billing)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/JsonError'
          example:
            error: bad_gateway
            message: Tarot interpretation could not be parsed; please retry.
            code: interpretation_malformed
            request_id: 01HQXYZ...
    ServiceUnavailableInterpretation:
      description: Interpretation provider not configured
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/JsonError'
          example:
            error: service_unavailable
            message: Tarot interpretation is not configured (missing COMETAPI_KEY).
            code: interpretation_unavailable
            request_id: 01HQXYZ...
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: Use the raw API key as the Bearer token, or send X-API-Key instead.

````