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

# List chapters

> List chapters in project order, each with its clip IDs.

<section className="api-next-steps" aria-label="Continue building">
  ## Continue building

  <Columns cols={2}>
    <Card title="Manage Studio projects" icon="book-open" href="/guides/studio-projects">Import scripts, edit safely, and retry writes.</Card>
    <Card title="Move clips" icon="arrow-right-left" href="/api-reference/studio/move-clips">Move clips between chapters.</Card>
    <Card title="Studio CLI" icon="terminal" href="/cli/reference/studio">Run the same operations from a terminal.</Card>
  </Columns>
</section>


## OpenAPI

````yaml /openapi.json get /v1/studio/projects/{project_id}/chapters
openapi: 3.1.0
info:
  title: Breeze Developer API
  description: >-
    Breeze Developer API for models, voices, text-to-speech, history, balance,
    usage, and browser-managed API keys.
  version: 1.0.0
servers:
  - url: https://api.breeze.blue
security: []
tags:
  - name: Models
    description: Supported TTS models.
  - name: Text to Speech
    description: Text-to-speech synthesis and instruction enhancement.
  - name: Voices
    description: Saved voices and voice settings.
  - name: Voice Previews
    description: Create, audition, and save temporary voice previews.
  - name: Account
    description: Balance, usage, and API keys.
  - name: History
    description: Generated audio history.
  - name: Studio
    description: Projects, scripts, arrangement and audio materials.
paths:
  /v1/studio/projects/{project_id}/chapters:
    get:
      tags:
        - Studio
      summary: List chapters
      description: List chapters in project order, each with its clip IDs.
      operationId: studio_chapters_list
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            title: Project Id
          description: Studio project ID, such as prj_….
        - name: include_deleted
          in: query
          required: false
          schema:
            type: boolean
            default: false
            title: Include Deleted
          description: Include deleted chapters, which can be restored.
      responses:
        '200':
          description: Chapters and the current edit_token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChapterList'
          headers:
            x-breeze-api-key-id:
              description: >-
                Public API key identifier used to authenticate the request, when
                an API key was used.
              schema:
                type: string
        '401':
          description: HTTP 401 error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: HTTP 404 error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: HTTP 422 error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
      security:
        - ApiKeyAuth: []
      x-codeSamples:
        - lang: cURL
          label: cURL
          source: |-
            curl \
              --request GET \
              --url "https://api.breeze.blue/v1/studio/projects/prj_example/chapters" \
              --header "xi-api-key: $BREEZE_API_KEY"
        - lang: Python
          label: Python
          source: |-
            from breeze_blue import BreezeBlue

            client = BreezeBlue()
            result = client.studio.chapters.list("prj_example")
        - lang: TypeScript
          label: TypeScript
          source: |-
            import { BreezeBlueClient } from "@breeze.blue/sdk";

            const client = new BreezeBlueClient();
            const result = await client.studio.chapters.list("prj_example");
components:
  schemas:
    ChapterList:
      properties:
        items:
          items:
            $ref: '#/components/schemas/ChapterView'
          type: array
          title: Items
          description: Resources in order.
        edit_token:
          type: string
          title: Edit Token
          description: >-
            Current edit_token. Send it as expected_edit_token on the next
            write.
      additionalProperties: false
      type: object
      required:
        - items
        - edit_token
      title: ChapterList
    ErrorResponse:
      properties:
        ok:
          default: false
          title: Ok
          type: boolean
        code:
          title: Code
          type: string
        detail:
          title: Detail
          type: string
        error:
          title: Error
          type: string
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          default: null
          title: Meta
      required:
        - code
        - detail
        - error
      title: ErrorResponse
      type: object
    ValidationErrorResponse:
      properties:
        ok:
          default: false
          title: Ok
          type: boolean
        code:
          title: Code
          type: string
        detail:
          title: Detail
          type: string
        error:
          title: Error
          type: string
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
      required:
        - code
        - detail
        - error
      title: ValidationErrorResponse
      type: object
    ChapterView:
      properties:
        id:
          type: string
          title: Id
          description: Chapter ID.
        title:
          type: string
          title: Title
          description: Chapter title.
        deleted:
          type: boolean
          title: Deleted
          description: Whether the chapter is deleted.
        clip_ids:
          items:
            type: string
          type: array
          title: Clip Ids
          description: Clip IDs in order.
      additionalProperties: false
      type: object
      required:
        - id
        - title
        - deleted
        - clip_ids
      title: ChapterView
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: xi-api-key
      description: Breeze Developer API key.

````

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