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

# Get Bible Metadata

> Return the canonical book list, chapter counts per book, and verse counts per chapter. Use to populate book/chapter/verse pickers.



## OpenAPI

````yaml GET /scriptures/bibleMetadata
openapi: 3.1.0
info:
  title: Haystack API
  description: Content management and semantic search API for Haystack
  version: 2.0.0
  contact:
    name: Haystack Support
    email: support@thehaystack.ai
    url: https://thehaystack.ai
servers:
  - url: https://api.thehaystack.ai/v2/haystack
    description: Production server
security:
  - bearerAuth: []
tags:
  - name: Items
    description: Content item management
  - name: Collections
    description: Top-level content organization
  - name: Series
    description: Multi-part content grouping
  - name: Speakers
    description: Content presenter management
  - name: Media
    description: Video and audio asset management
  - name: Search
    description: Semantic content search
  - name: Analytics
    description: Usage statistics and metrics
  - name: Resources
    description: Attach supplementary files, links, and videos to items
  - name: Scriptures
    description: Attach Bible references to items
  - name: Chapters
    description: Time-based chapter markers on media assets
  - name: Stats
    description: Analytics and reporting
  - name: Frontend
    description: Public frontend configuration
paths:
  /scriptures/bibleMetadata:
    get:
      tags:
        - Scriptures
      summary: Get Bible metadata
      description: >-
        Return the canonical book list, chapter counts per book, and verse
        counts per chapter. Use to populate book/chapter/verse pickers.
      responses:
        '200':
          description: Bible metadata
          content:
            application/json:
              schema:
                type: object
                properties:
                  books:
                    type: object
                    additionalProperties:
                      type: string
                    description: Map of book key → display name
                  chaptersPerBook:
                    type: object
                    additionalProperties:
                      type: integer
                  versesPerChapter:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: integer
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Enter your API token from the Haystack dashboard

````