Deepnote Public API v2
Notebooks API
Notebooks, their blocks, runs, and schedules.
Base URL
https://api.deepnote.com/v2Create a notebook
Creates an empty notebook inside the project identified by `projectId`.
post
/notebooksRequest body
required
application/json
CreateNotebookBodyprojectIdrequiredstring:uuidProject to create the notebook in.
namestringNotebook name.
Responses
▸201Notebook created
application/json
CreateNotebookResponsenotebookrequiredNotebook▸400Validation error
application/json
ErrorResponsemessagerequiredstring▸401Unauthorized
application/json
ErrorResponsemessagerequiredstring▸403Insufficient permissions
application/json
ErrorResponsemessagerequiredstring▸404Project not found
application/json
ErrorResponsemessagerequiredstring▸409Project is suspended or duplicate notebook name
application/json
ErrorResponsemessagerequiredstringGet a notebook
get
/notebooks/{notebookId}Parameters
notebookIdpathrequiredstringOpaque notebook identifier.
Responses
▸200Notebook details
application/json
objectnotebookrequiredobject▸400Validation error or project is suspended
application/json
ErrorResponsemessagerequiredstring▸401Unauthorized
application/json
ErrorResponsemessagerequiredstring▸403Insufficient permissions
application/json
ErrorResponsemessagerequiredstring▸404Notebook not found
application/json
ErrorResponsemessagerequiredstringDelete a notebook
delete
/notebooks/{notebookId}Parameters
notebookIdpathrequiredstringOpaque notebook identifier.
Responses
▸204Notebook deleted
▸400Validation error
application/json
ErrorResponsemessagerequiredstring▸401Unauthorized
application/json
ErrorResponsemessagerequiredstring▸403Insufficient permissions
application/json
ErrorResponsemessagerequiredstring▸404Notebook not found
application/json
ErrorResponsemessagerequiredstring▸409Project is suspended
application/json
ErrorResponsemessagerequiredstringList historical runs for a notebook
get
/notebooks/{notebookId}/runsParameters
notebookIdpathrequiredstringOpaque notebook identifier.
pageSizequeryintegerMaximum number of items to return. Defaults to 20. Maximum: 100.
pageTokenquerystringOpaque token returned by the previous page. Omit for the first page.
Responses
▸200Paginated list of runs
application/json
ListNotebookRunsResponserunsrequiredListNotebookRun[]paginationrequiredCursorPagination▸400Validation error
application/json
ErrorResponsemessagerequiredstring▸401Unauthorized
application/json
ErrorResponsemessagerequiredstring▸403Insufficient permissions
application/json
ErrorResponsemessagerequiredstring▸404Notebook not found
application/json
ErrorResponsemessagerequiredstring▸409Project is suspended
application/json
ErrorResponsemessagerequiredstring