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

# Queue a palm reading



## OpenAPI

````yaml /openapi.public.json post /api/v3/visual-readings/palm/jobs
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: Visual readings
    description: >-
      Private Palm and Face Reading upload, preflight, and asynchronous job
      workflows.
  - name: Customer reports
    description: Session-authenticated report jobs and reusable brand profiles.
  - name: Customer delivery
    description: Session-authenticated webhooks and scheduled horoscope delivery.
  - name: Customer visual readings
    description: >-
      Session-authenticated visual reading jobs, economics, and delivery
      subscriptions.
  - name: Cultural Intelligence
    description: >-
      Enterprise API-key workflows for encrypted profiles, teams, and campaign
      content.
paths:
  /api/v3/visual-readings/palm/jobs:
    post:
      tags:
        - Visual readings
      summary: Queue a palm reading
      operationId: createPalmReadingJob
      parameters:
        - name: Idempotency-Key
          in: header
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 128
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sku:
                  type: string
                  enum:
                    - json
                    - branded
                    - premium
                  default: json
                locale:
                  type: string
                  enum:
                    - th
                    - en
                  default: en
                subject_label:
                  type: string
                  maxLength: 120
                brand_profile_id:
                  type: string
                  pattern: ^brand_[a-f0-9]{24}$
                  description: Optional reusable brand profile.
                left_upload_id:
                  type: string
                  pattern: ^vup_[a-f0-9]{24}$
                  description: Completed left-palm upload id.
                right_upload_id:
                  type: string
                  pattern: ^vup_[a-f0-9]{24}$
                  description: Completed right-palm upload id.
                dominant_hand:
                  type: string
                  enum:
                    - left
                    - right
                capture_handedness:
                  type: object
                  properties:
                    left_upload:
                      const: left
                    right_upload:
                      const: right
                    mirrored_preview:
                      type: boolean
                  required:
                    - left_upload
                    - right_upload
                    - mirrored_preview
              required:
                - left_upload_id
                - right_upload_id
                - dominant_hand
                - capture_handedness
      responses:
        '202':
          description: Queued or idempotently replayed job.
          content:
            application/json:
              schema:
                type: object
                properties:
                  job_id:
                    type: string
                    pattern: ^vrj_[a-f0-9]{24}$
                    description: Visual-reading job id.
                  status:
                    const: queued
                  credits_charged:
                    type: integer
                  credits_remaining:
                    type: integer
                  unlimited_credits:
                    type: boolean
                  replayed:
                    type: boolean
                  poll:
                    type: string
                required:
                  - job_id
                  - status
                  - credits_charged
                  - credits_remaining
                  - unlimited_credits
                  - replayed
                  - poll
        '400':
          description: Invalid upload set or idempotency key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonError'
        '402':
          description: Insufficient credits.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonError'
        '503':
          description: Feature has not been enabled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    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.
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: Use the raw API key as the Bearer token, or send X-API-Key instead.

````