Get a block
Changed onRequest
- Base URLhttps://api.deepnote.com/v2
- URLhttps://api.deepnote.com/v2/blocks/{blockId}
- AuthHTTP bearer
Path parameters
Opaque block identifier.
Query parameters
Also return the block's outputs in the live editor, from its last run there. Detached runs and sessions don't change them; get their outputs with GET /runs/{runId}. Scheduled runs do, unless their schedule has output syncing turned off. Defaults to false.
Return the outputs as stored. By default, outputs longer than 16384 characters as JSON get a notice in their place, with outputHead and outputTail showing how they start and end. When a block runs, its printed output (stdout and stderr) keeps only the last 1000 lines or 600000 characters, whichever is shorter, and is marked "truncated": true. The dropped text isn't stored, so this option can't return it. Defaults to false. Applies only with includeOutputs=true.
Response
Block details
Changes
- breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - info
response property
block/contentHashlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
block/outputHeadlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
block/outputTaillist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
the
/response's property pattern was changed from^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$to^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$for the status - info
the
/response's property pattern was changed from^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$to^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$for the status
- breaking
- info
added the new optional
queryrequest parameterfullOutputs - info
added the new optional
queryrequest parameterincludeOutputs - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info