---
title: "Duplicate a notebook"
method: POST
path: "/notebooks/{notebookId}/duplicate"
tags: ["Notebooks"]
---

# Duplicate a notebook

`POST /notebooks/{notebookId}/duplicate`

Duplicates the notebook inside its current project. The duplicated notebook receives an automatically generated unique name.

## Path parameters

- `notebookId` string, required — Opaque notebook identifier.

## Response `201`

Notebook duplicated

- DuplicateNotebookResponse
  - `notebook` Notebook, required
    - `id` string, required — Opaque notebook identifier.
    - `projectId` string, uuid, required
    - `name` string, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time

## Other responses

- `400` — Validation error
- `401` — Unauthorized
- `403` — Insufficient permissions or notebook limit reached
- `404` — Notebook not found
- `409` — Project is suspended
- `429` — Rate limit exceeded

---

[API](https://skmtc.net/deepnote/apis/deepnote-public-api.md) · [All operations](https://skmtc.net/deepnote/apis/deepnote-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deepnote/deepnote-public-api/revisions/726970fd2992/schema)
