---
title: "Shape"
method: GET
path: "/api/shape/{title}"
tags: ["Index"]
---

# Shape

`GET /api/shape/{title}`

Retrieve basic statistics and information about the "shape" of an `Index` on Sefaria.

## Response `200`

Retrieve basic statistics and information about the "shape" of an `Index` on Sefaria.

- ShapeJSON — The shape API allows one to retrieve information about the shape of an Index on Sefaria. The shape refers some basic statistics about the Index, mostly the number of chapters, and the number of segments per chapter.
  - `Section` string — The parent section for this `Index`. (So for example, the `section` for `Jonah` is `Prophets`. The `section` for `Pesachim` is `Seder Moed`)
  - `isComplex` boolean — A boolean representing whether or not this is a complex text.
  - `Length` unknown
  - `Book` string — Title of the `Index` in English
  - `heBook` string, required — Title of the `Index` in Hebrew.
  - `Chapters` integer[] — For simple texts, this is a list of chapter lengths. For complex texts or categories, the Shape API will return a list of dicts for each text within that category or text.

---

[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)
