---
title: "Restart the notebook's Git history from its current content"
method: POST
path: "/api/notebooks/{notebook}/reset-git-history"
tags: ["notebook-controller"]
---

# Restart the notebook's Git history from its current content

`POST /api/notebooks/{notebook}/reset-git-history`

## Path parameters

- `notebook` integer, required

## Response `200`

OK

## Changes

- **2026-09-18** `1842c168f3f0` — 1 info
  - endpoint added
- **2026-09-18** `b4c10045e300` — 1 breaking
  - api path removed without deprecation
- **2026-09-18** `a80604945e79` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/nerds-odd-e/apis/openapi-definition/changes/api/notebooks/:notebook/reset-git-history/post.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.dev/nerds-odd-e/apis/openapi-definition/revisions/b9fe0eabba74?raw)
