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

# Get notebook URL

`GET /api/spaces/{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` unknown, required
  - object
    - `url` string, required

---

[API](https://skmtc.net/huggingface/apis/hub-api-endpoints.md) · [All operations](https://skmtc.net/huggingface/apis/hub-api-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/huggingface/hub-api-endpoints/versions/6ab9f7d9cfb5/schema)
