Sessions
Execute arbitrary code in a session kernel (debug)
Runs arbitrary code inside the notebook's kernel within an interactive session and returns the raw outputs (without creating a snapshot). User-code exceptions are returned as error outputs inside the response body and still produce HTTP 200. Only the session creator may execute code, and doing so requires edit access to the project, the same as editing blocks.
post/sessions/{sessionId}/execute
Request
- Base URLhttps://api.deepnote.com/v2
- URLhttps://api.deepnote.com/v2/sessions/{sessionId}/execute
- AuthHTTP bearer
Path parameters
sessionIdstring uuid required
Session identifier.
Request body
Response
Outputs produced by the synchronous execution.
Changes
No recorded changes to this operation across all 29 revisions of this API.