---
title: "List historical runs for a notebook"
method: GET
path: "/notebooks/{notebookId}/runs"
tags: ["Notebooks"]
---

# List historical runs for a notebook

`GET /notebooks/{notebookId}/runs`

## Path parameters

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

## Query parameters

- `pageSize` integer — Maximum number of items to return. Defaults to 20. Maximum: 100.
- `pageToken` string — Opaque token returned by the previous page. Omit for the first page.

## Response `200`

Paginated list of runs

- ListNotebookRunsResponse
  - `runs` ListNotebookRun[], required
    - `runId` string, uuid, required
    - `notebookId` string, required — Opaque notebook identifier.
    - `status` 'pending' | 'running' | 'success' | 'error' | 'internal_error' | 'stopped', required
    - `createdAt` string, date-time, required
    - `completedAt` string, date-time, nullable, required
  - `pagination` CursorPagination, required
    - `pageSize` integer, required
    - `nextPageToken` string, nullable, required — Token for the next page, or null at the end.
    - `hasMore` boolean, required — Whether more items are available after this page.

## Other responses

- `400` — Validation error
- `401` — Unauthorized
- `403` — Insufficient permissions
- `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)
