---
title: "Apply AI-suggested depth changes to the book layout"
method: POST
path: "/api/notebooks/{notebook}/book/reorganize-layout/apply"
tags: ["notebook-books-controller"]
---

# Apply AI-suggested depth changes to the book layout

`POST /api/notebooks/{notebook}/book/reorganize-layout/apply`

## Path parameters

- `notebook` integer, required

## Request body

- BookLayoutReorganizationSuggestionFull
  - `blocks` BlockDepthSuggestionFull[], required
    - `id` integer, required
    - `depth` integer, required

## Response `200`

OK

---

[API](https://skmtc.net/nerds-odd-e/apis/openapi-definition.md) · [All operations](https://skmtc.net/nerds-odd-e/apis/openapi-definition/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nerds-odd-e/openapi-definition/versions/f04215d476a6/schema)
