Deepnote Public API v2
Projects API
Projects and their contents.
Base URL
https://api.deepnote.com/v2List projects
get
/projectsParameters
pageSizequeryintegerMaximum number of items to return. Defaults to 50. Maximum: 100.
pageTokenquerystringOpaque token returned by the previous page. Omit for the first page.
nameContainsquerystringFilter projects whose name contains this value (case-insensitive).
Responses
▸200Paginated list of projects
application/json
ListProjectsResponseprojectsrequiredListProjectsItem[]paginationrequiredCursorPagination▸400Validation error
application/json
ErrorResponsemessagerequiredstring▸401Unauthorized
application/json
ErrorResponsemessagerequiredstring▸403Insufficient permissions
application/json
ErrorResponsemessagerequiredstring▸429Rate limit exceeded
application/json
ErrorResponsemessagerequiredstringCreate a project
post
/projectsRequest body
required
application/json
CreateProjectBodynamerequiredstringProject name.
folderIdstring:uuidFolder to create the project in. Omit to create at the workspace root.
projectType"standard" | "notebook" | "agent"Project type. Omit to create a `standard` project; `notebook` creates a single-notebook project; `agent` creates an Agent project.
Responses
▸201Project created
application/json
CreateProjectResponseprojectrequiredobject▸400Validation error
application/json
ErrorResponsemessagerequiredstring▸401Unauthorized
application/json
ErrorResponsemessagerequiredstring▸403Insufficient permissions
application/json
ErrorResponsemessagerequiredstring▸404Folder not found
application/json
ErrorResponsemessagerequiredstring▸429Rate limit exceeded
application/json
ErrorResponsemessagerequiredstringGet a project
get
/projects/{projectId}Parameters
projectIdpathrequiredstring:uuidResponses
▸200Project details
application/json
GetProjectResponseprojectrequiredobject▸400Validation error
application/json
ErrorResponsemessagerequiredstring▸401Unauthorized
application/json
ErrorResponsemessagerequiredstring▸403Insufficient permissions
application/json
ErrorResponsemessagerequiredstring▸404Project not found
application/json
ErrorResponsemessagerequiredstring▸409Project is suspended
application/json
ErrorResponsemessagerequiredstring▸429Rate limit exceeded
application/json
ErrorResponsemessagerequiredstringDelete a project
delete
/projects/{projectId}Parameters
projectIdpathrequiredstring:uuidResponses
▸204Project deleted
▸400Validation error
application/json
ErrorResponsemessagerequiredstring▸401Unauthorized
application/json
ErrorResponsemessagerequiredstring▸403Insufficient permissions
application/json
ErrorResponsemessagerequiredstring▸404Project not found
application/json
ErrorResponsemessagerequiredstring▸429Rate limit exceeded
application/json
ErrorResponsemessagerequiredstringExport a project as a ZIP archive
Returns a ZIP archive containing one `.deepnote` YAML document per notebook. Block outputs and per-run execution metadata are excluded.
get
/projects/{projectId}/exportParameters
projectIdpathrequiredstring:uuidResponses
▸200ZIP archive containing the project notebooks
application/zip
string:binary▸400Validation error
application/json
ErrorResponsemessagerequiredstring▸401Unauthorized
application/json
ErrorResponsemessagerequiredstring▸404Project not found
application/json
ErrorResponsemessagerequiredstring▸409Project is suspended
application/json
ErrorResponsemessagerequiredstring▸422The project contains block types that cannot be represented in a `.deepnote` document, or its requirements.txt is too large to parse
application/json
ErrorResponsemessagerequiredstring▸429Rate limit exceeded
application/json
ErrorResponsemessagerequiredstring