---
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`

## Request

- Base URL: `` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/notebooks/{notebook}/reset-git-history`
- Auth: none declared

## 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

[Operation history](https://skmtc.dev/nerds-odd-e/apis/odd-e-open-api/changes/api/notebooks/:notebook/reset-git-history/post.md)

---

[API](https://skmtc.dev/nerds-odd-e/apis/odd-e-open-api.md) - [All operations](https://skmtc.dev/nerds-odd-e/apis/odd-e-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nerds-odd-e/apis/odd-e-open-api/revisions/193c5e89085a?raw)
