---
title: "Get notebook URL"
method: GET
path: "/api/datasets/{namespace}/{repo}/notebook/{rev}/{path}"
tags: ["datasets"]
---

# Get notebook URL

`GET /api/datasets/{namespace}/{repo}/notebook/{rev}/{path}`

Get a jupyter notebook URL for the requested file

## Path parameters

- `namespace` string, required
- `repo` string, required
- `rev` string, required
- `path` string, required — Wildcard path parameter

## Response `200`

Response containing the url of the notebook

- union
  - object
    - `error` string, required
  - object
    - `notInCache` true, required
  - object
    - `url` string, required

## Changes

- **2026-09-08** `bd17546f47b8` — 1 breaking
  - the `anyOf[subschema #2]/notInCache` response's property type changed from no type to `boolean` for status `200`

[Change history](https://skmtc.dev/huggingface/apis/hub-api-endpoints/changes/api/datasets/:namespace/:repo/notebook/:rev/:path/get.md)

---

[API](https://skmtc.dev/huggingface/apis/hub-api-endpoints.md) · [All operations](https://skmtc.dev/huggingface/apis/hub-api-endpoints/llms.txt) · [OpenAPI document](https://skmtc.dev/huggingface/apis/hub-api-endpoints/revisions/2be5f0669ac6?raw)
