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

# Paragraphs That Lean Toward One Text

> Urantia paragraphs whose closest text stands out above their mean across texts, ranked by that gap. A lean counts only when the text has the paragraph in its top 10% and both embedding models pick the same text. Filter with `corpus` (a corpus name or `bible`).

Scores come from the nine world religions texts and the World English Bible. For each text, a paragraph's best match becomes a percentile within that text, after an adjustment for paragraph length. The texts are not independent votes: a paragraph that sounds devotional tends to score well in all of them. These are measures of closeness in meaning by an embedding model, not claims about the teachings.



## OpenAPI

````yaml GET /scriptures/insights/leans
openapi: 3.1.0
info:
  title: Urantia Papers API
  version: 1.0.0
  description: >-
    A developer and AI-agent friendly API for the Urantia Papers. Provides
    full-text search, structured content access, and audio URLs for all 17,000+
    paragraphs across 197 papers.
servers:
  - url: https://api.urantia.dev
    description: Production
  - url: http://localhost:3000
    description: Local development
security: []
paths:
  /scriptures/insights/leans:
    get:
      tags:
        - Scriptures
      summary: Paragraphs that lean toward one text
      description: >-
        Urantia paragraphs whose closest text stands out above their mean across
        texts, ranked by that gap. A lean counts only when the text has the
        paragraph in its top 10% and both embedding models pick the same text.
        Filter with `corpus` (a corpus name or `bible`).


        Scores come from the nine world religions texts and the World English
        Bible. For each text, a paragraph's best match becomes a percentile
        within that text, after an adjustment for paragraph length. The texts
        are not independent votes: a paragraph that sounds devotional tends to
        score well in all of them. These are measures of closeness in meaning by
        an embedding model, not claims about the teachings.
      operationId: listLeans
      parameters:
        - schema:
            type: string
            minLength: 1
            maxLength: 64
            description: A corpus id, slug, or ref prefix, or `bible`
          required: false
          description: A corpus id, slug, or ref prefix, or `bible`
          name: corpus
          in: query
        - schema:
            type: string
            enum:
              - 'true'
              - 'false'
            description: '`true` leaves out the Bible, which has most of the mutual pairs'
          required: false
          description: '`true` leaves out the Bible, which has most of the mutual pairs'
          name: excludeBible
          in: query
        - schema:
            type:
              - integer
              - 'null'
            minimum: 0
            maximum: 2000
            default: 200
            description: >-
              Leave out paragraphs shorter than this many characters. Headings
              and fragments score unreliably
          required: false
          description: >-
            Leave out paragraphs shorter than this many characters. Headings and
            fragments score unreliably
          name: minLength
          in: query
        - schema:
            type:
              - integer
              - 'null'
            minimum: 0
            default: 0
          required: false
          name: page
          in: query
        - schema:
            type: integer
            minimum: 1
            maximum: 50
            default: 20
          required: false
          name: limit
          in: query
      responses:
        '200':
          description: Leans
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        paragraph:
                          type: object
                          properties:
                            id:
                              type: string
                            standardReferenceId:
                              type: string
                            paperId:
                              type: string
                            paperTitle:
                              type: string
                            sectionTitle:
                              type:
                                - string
                                - 'null'
                            text:
                              type: string
                          required:
                            - id
                            - standardReferenceId
                            - paperId
                            - paperTitle
                            - sectionTitle
                            - text
                        corpus:
                          type: object
                          properties:
                            id:
                              type: string
                            slug:
                              type: string
                            religion:
                              type: string
                            title:
                              type: string
                            translator:
                              type: string
                            year:
                              type: integer
                            refPrefix:
                              type: string
                            urantiaSection:
                              type:
                                - string
                                - 'null'
                              description: >-
                                The Paper 131 section headed with this religion,
                                or null when Paper 131 has no such heading
                          required:
                            - id
                            - slug
                            - religion
                            - title
                            - translator
                            - year
                            - refPrefix
                            - urantiaSection
                        gap:
                          type: number
                          description: >-
                            How far this text's percentile is above the
                            paragraph's mean across texts
                        percentile:
                          type: number
                      required:
                        - paragraph
                        - corpus
                        - gap
                        - percentile
                  meta:
                    type: object
                    properties:
                      page:
                        type: integer
                      limit:
                        type: integer
                      total:
                        type: integer
                      totalPages:
                        type: integer
                    required:
                      - page
                      - limit
                      - total
                      - totalPages
                required:
                  - data
                  - meta
              example:
                data:
                  - paragraph:
                      id: 4:122.2.7
                      standardReferenceId: '122:2.7'
                      paperId: '122'
                      paperTitle: Birth and Infancy of Jesus
                      sectionTitle: Gabriel Appears to Elizabeth
                      text: >-
                        John was born in the City of Judah, March 25, 7 b.c.
                        Zacharias and Elizabeth rejoiced greatly in the
                        realization that a son had come to them as Gabriel had
                        promised, and when on the eighth day they presented the
                        child for circumcision, they formally christened him
                        John, as they had been directed aforetime. Already had a
                        nephew of Zacharias departed for Nazareth, carrying the
                        message of Elizabeth to Mary proclaiming that a son had
                        been born to her and that his name was to be John.
                    corpus:
                      id: koran-pickthall-1930
                      slug: quran
                      religion: Islam
                      title: The Meaning of the Glorious Koran
                      translator: Marmaduke Pickthall
                      year: 1930
                      refPrefix: Quran
                      urantiaSection: null
                    gap: 0.755588
                    percentile: 0.992
                  - paragraph:
                      id: 4:135.0.1
                      standardReferenceId: '135:0.1'
                      paperId: '135'
                      paperTitle: John the Baptist
                      sectionTitle: null
                      text: >-
                        JOHN the Baptist was born March 25, 7 b.c., in
                        accordance with the promise that Gabriel made to
                        Elizabeth in June of the previous year. For five months
                        Elizabeth kept secret Gabriel’s visitation; and when she
                        told her husband, Zacharias, he was greatly troubled and
                        fully believed her narrative only after he had an
                        unusual dream about six weeks before the birth of John.
                        Excepting the visit of Gabriel to Elizabeth and the
                        dream of Zacharias, there was nothing unusual or
                        supernatural connected with the birth of John the
                        Baptist.
                    corpus:
                      id: koran-pickthall-1930
                      slug: quran
                      religion: Islam
                      title: The Meaning of the Glorious Koran
                      translator: Marmaduke Pickthall
                      year: 1930
                      refPrefix: Quran
                      urantiaSection: null
                    gap: 0.738292
                    percentile: 0.965
                meta:
                  page: 0
                  limit: 2
                  total: 328
                  totalPages: 164
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '400':
          description: Invalid request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
        '429':
          description: Too many requests
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '500':
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
components:
  headers:
    X-RateLimit-Limit:
      description: The number of requests allowed in the current window.
      schema:
        type: integer
      example: 200
    X-RateLimit-Remaining:
      description: The number of requests left in the current window.
      schema:
        type: integer
      example: 199
    X-RateLimit-Reset:
      description: The time the window resets, in Unix seconds.
      schema:
        type: integer
      example: 1791152213
  schemas:
    ProblemDetails:
      type: object
      description: An RFC 9457 problem details object. Every error response uses it.
      properties:
        type:
          type: string
          format: uri
          description: A URI that names the error type.
        title:
          type: string
          description: The short name of the status.
        status:
          type: integer
          description: The HTTP status code.
        detail:
          type: string
          description: What went wrong in this request.
      required:
        - type
        - title
        - status
        - detail
      example:
        type: https://urantia.dev/errors/not-found
        title: Not Found
        status: 404
        detail: Paragraph not found

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.