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

# Get Table of Contents

> Returns the complete table of contents with parts and their papers. This is typically the first endpoint an AI agent should call to understand the book structure.



## OpenAPI

````yaml GET /toc
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:
  /toc:
    get:
      tags:
        - Table of Contents
      summary: Get the full table of contents
      description: >-
        Returns the complete table of contents with parts and their papers. This
        is typically the first endpoint an AI agent should call to understand
        the book structure.
      operationId: getToc
      responses:
        '200':
          description: Table of contents
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      parts:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            title:
                              type: string
                            sponsorship:
                              type: string
                              nullable: true
                            papers:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                  title:
                                    type: string
                                  labels:
                                    type: array
                                    nullable: true
                                    items:
                                      type: string
                                required:
                                  - id
                                  - title
                                  - labels
                          required:
                            - id
                            - title
                            - sponsorship
                            - papers
                    required:
                      - parts
                required:
                  - data
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  type:
                    type: string
                  title:
                    type: string
                  status:
                    type: integer
                  detail:
                    type: string
                required:
                  - type
                  - title
                  - status
                  - detail

````