---
title: "Update notebook index content directly"
method: PATCH
path: "/api/notebooks/{notebook}/index-content"
tags: ["notebook-controller"]
---

# Update notebook index content directly

`PATCH /api/notebooks/{notebook}/index-content`

Saves the given markdown (with optional YAML frontmatter) as the notebook container's indexContent field. Blank content clears the field.

## Path parameters

- `notebook` integer, required

## Request body

- NoteUpdateContentDTO
  - `content` string

## Response `200`

OK

## Changes

- **2026-05-12** `5c61e52feed2` — 1 warning
  - removed the optional property `indexNoteId` from the response with the `200` status
- **2026-05-12** `f7e66b9988f5` — 1 info
  - endpoint added
- **2026-05-11** `d7c2946139e9` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/nerds-odd-e/apis/openapi-definition/changes/api/notebooks/:notebook/index-content/patch.md)

---

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