---
title: "Table of Contents"
method: GET
path: "/api/index"
tags: ["Index"]
---

# Table of Contents

`GET /api/index`

This API endpoint returns the titles of all the books in the Sefaria Library arranged by their category along with some additional metadata. This is a large and rarely changing request and should be cached locally if you utilize it. By default, author metadata is omitted from text entries; set `include_authors=1` to include it.

## Query parameters

- `include_authors` 0 | 1

## Response `200`

Successful Response

- object[]
  - `contents` object[] — This level of the object is a category listing.
    - `contents` object[] — This level of the object is usually a book level.
      - `categories` string[] — A list of categories that this book belongs to.
      - `order` integer — This is used to order the texts on the Sefaria website.
      - `primary_category` string — The main category that this work falls under.
      - `enShortDesc` string — A short description of this book in English.
      - `heShortDesc` string — A short description of this book in Hebrew.
      - `corpus` string — The corpus that this work belongs to e.g. `Tanakh` or `Mishnah` etc.
      - `authors` object[] — Returned only when `include_authors=1`. Author metadata for the text.
        - `en` string
        - `he` string
        - `slug` string
      - `heTitle` string — The Hebrew title of this work.
      - `title` string — The English title of this work.
    - `order` integer — This is used to order the texts on the Sefaria website.
    - `enComplete` boolean — Is the entirety of this category available in English
    - `heComplete` boolean — Is the entirety of this category available in Hebrew
    - `enDesc` string — An English description of the category
    - `heDesc` string — An Hebrew description of the category
    - `enShortDesc` string — A short description of this category in English.
    - `heShortDesc` string — A short description of this category in Hebrew.
    - `heCategory` string
    - `category` string — The current category that these works are nested in.
  - `order` integer — This is used to order the categories on the Sefaria website.
  - `enComplete` boolean — Is the entirety of this category available in English
  - `heComplete` boolean — Is the entirety of this category available in Hebrew
  - `enDesc` string — An English description of the category
  - `heDesc` string — An Hebrew description of the category
  - `enShortDesc` string — A short description of this category in English.
  - `heShortDesc` string — A short description of this category in Hebrew.
  - `heCategory` string
  - `category` string — The current category that these works are nested in.

---

[API](https://skmtc.net/sefaria/apis/sefaria-api.md) · [All operations](https://skmtc.net/sefaria/apis/sefaria-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sefaria/sefaria-api/revisions/d29296717011/schema)
