# List chapters (/reference/api/documents/list-document-chapters)

```json
[
  {
    "method": "GET",
    "path": "/api/v1/documents/{id}/chapters",
    "operationId": "listDocumentChapters",
    "tags": [
      "Documents"
    ],
    "summary": "List chapters",
    "x-required-scope": "documents:read",
    "security": [
      {
        "oauth": [
          "documents:read"
        ]
      },
      {
        "sessionCookie": []
      },
      {
        "secureSessionCookie": []
      }
    ],
    "responses": {
      "200": {
        "description": "Chapters in reading order, with a segment key for reader goto.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/DocumentChapterList"
            }
          }
        }
      },
      "409": {
        "description": "DOCUMENT_PREPARING: retry after retryAfterMs.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "429": {
        "description": "Compute admission or usage is limited.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        },
        "headers": {
          "Retry-After": {
            "description": "Seconds until retry.",
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          }
        }
      },
      "default": {
        "description": "Request failed. Inspect error.code and error.message.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      }
    },
    "description": "Uses the reader reading plan and saved settings. Preparing a new plan uses compute limits and returns immediately while work is pending. Audiobook chapter boundaries are unchanged and can differ from these contents."
  }
]
```

## Components

```json
{
  "#/components/schemas/DocumentChapterList": {
    "type": "object",
    "properties": {
      "data": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "title": {
              "type": "string"
            },
            "startOrdinal": {
              "type": "integer"
            },
            "endOrdinal": {
              "type": "integer"
            },
            "depth": {
              "type": "integer"
            },
            "segmentKey": {
              "type": [
                "string",
                "null"
              ]
            },
            "page": {
              "type": [
                "integer",
                "null"
              ]
            },
            "webUrl": {
              "type": "string"
            }
          },
          "required": [
            "title",
            "startOrdinal",
            "endOrdinal",
            "depth",
            "segmentKey",
            "page",
            "webUrl"
          ]
        }
      }
    },
    "required": [
      "data"
    ]
  },
  "#/components/schemas/Error": {
    "type": "object",
    "properties": {
      "error": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "retryAfterMs": {
            "type": "number",
            "minimum": 0
          }
        },
        "required": [
          "code",
          "message"
        ]
      }
    },
    "required": [
      "error"
    ]
  }
}
```