Notebooks
All operations pertaining to the notebooks resource
List all notebooks
GET /api/workspaces/{workspaceId}/notebooks
Retrieves all Notebooks available to the workspace
Path parameters
-
workspaceId
string base64uuid RequiredThe workspace ID
Returns
200
OK
Create a new notebook
POST /api/workspaces/{workspaceId}/notebooks
Create a new notebook
Path parameters
-
workspaceId
string base64uuid RequiredThe workspace ID
Body parameters
new notebook
-
title
string Required -
timeRange
one of RequiredPossible values
-
timeRange
objectNested attributes
-
from
string date-time Required -
to
string date-time Required
-
-
timeRange
objectNested attributes
-
relative
integer int32 Required
-
-
-
cells
array of object RequiredPossible values
-
checkboxCell
objectNested attributes
-
type
string Required -
id
string Required -
checked
boolean Required -
content
string Required -
formatting
arrayPossible values
-
startBoldAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endBoldAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startCodeAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endCodeAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startHighlightAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endHighlightAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startItalicsAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endItalicsAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startLinkAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
url
string Required
-
-
endLinkAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
mentionAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
name
string Required -
userId
string Required
-
-
startStrikethroughAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endStrikethroughAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startUnderlineAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endUnderlineAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
labelAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
key
string Required -
value
string
-
-
timestampAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
timestamp
string date-time Required
-
-
-
level
integer int32 -
readOnly
boolean
-
-
codeCell
objectNested attributes
-
type
string Required -
id
string Required -
content
string Required -
readOnly
boolean -
syntax
string
-
-
discussionCell
objectNested attributes
-
type
string Required -
id
string Required -
readOnly
boolean -
threadId
string Required
-
-
dividerCell
objectNested attributes
-
type
string Required -
id
string Required -
readOnly
boolean
-
-
graphCell
objectNested attributes
-
type
string Required -
id
string Required -
dataLinks
array Required -
graphType
string Required -
readOnly
boolean -
stackingType
string Required
-
-
headingCell
objectNested attributes
-
type
string Required -
id
string Required -
headingType
string Required -
content
string Required -
formatting
arrayPossible values
-
startBoldAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endBoldAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startCodeAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endCodeAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startHighlightAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endHighlightAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startItalicsAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endItalicsAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startLinkAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
url
string Required
-
-
endLinkAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
mentionAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
name
string Required -
userId
string Required
-
-
startStrikethroughAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endStrikethroughAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startUnderlineAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endUnderlineAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
labelAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
key
string Required -
value
string
-
-
timestampAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
timestamp
string date-time Required
-
-
-
readOnly
boolean
-
-
imageCell
objectNested attributes
-
type
string Required -
url
string uri -
id
string Required -
fileId
string -
progress
number float -
readOnly
boolean -
width
integer int32 -
height
integer int32 -
preview
string
-
-
listItemCell
objectNested attributes
-
type
string Required -
id
string Required -
listType
string Required -
content
string Required -
formatting
arrayPossible values
-
startBoldAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endBoldAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startCodeAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endCodeAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startHighlightAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endHighlightAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startItalicsAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endItalicsAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startLinkAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
url
string Required
-
-
endLinkAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
mentionAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
name
string Required -
userId
string Required
-
-
startStrikethroughAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endStrikethroughAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startUnderlineAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endUnderlineAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
labelAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
key
string Required -
value
string
-
-
timestampAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
timestamp
string date-time Required
-
-
-
level
integer int32 -
readOnly
boolean -
startNumber
integer int32
-
-
logCell
objectNested attributes
-
type
string Required -
id
string Required -
dataLinks
array Required -
readOnly
boolean -
hideSimilarValues
boolean -
displayFields
array -
expandedIndices
arrayPossible values
-
linkIndex
number uint8 -
recordIndex
number uint32
-
-
visibilityFilter
string -
selectedIndices
arrayPossible values
-
linkIndex
number uint8 -
recordIndex
number uint32
-
-
highlightedIndices
arrayPossible values
-
linkIndex
number uint8 -
recordIndex
number uint32
-
-
-
providerCell
object -
tableCell
objectNested attributes
-
type
string Required -
id
string Required -
readOnly
boolean -
rows
array Required -
columnDefs
arrayPossible values
-
key
string -
title
string
-
-
-
textCell
objectNested attributes
-
type
string Required -
id
string Required -
content
string Required -
formatting
arrayPossible values
-
startBoldAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endBoldAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startCodeAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endCodeAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startHighlightAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endHighlightAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startItalicsAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endItalicsAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startLinkAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
url
string Required
-
-
endLinkAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
mentionAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
name
string Required -
userId
string Required
-
-
startStrikethroughAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endStrikethroughAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startUnderlineAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endUnderlineAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
labelAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
key
string Required -
value
string
-
-
timestampAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
timestamp
string date-time Required
-
-
-
readOnly
boolean
-
-
timelineCell
objectNested attributes
-
type
string Required -
id
string Required -
dataLinks
array Required -
readOnly
boolean
-
-
-
labels
array of objectPossible values
-
key
string -
value
string
-
-
selectedDataSources
objectThis is a mapping from the provider type to the data source selected for that type
Nested attributes
-
name
string -
proxyName
string
-
-
frontMatter
object -
frontMatterSchema
array of objectAn array (in order) of the properties for the keys inside a notebook front matter
Possible values
-
key
string -
schema
Possible values
-
frontMatterNumberSchema
objectNested attributes
-
displayName
string Required -
iconName
string -
allowExtraValues
boolean -
options
array -
defaultValue
numberRepresentation of a number value in the front matter.
-
prefix
string -
suffix
string
-
-
frontMatterStringSchema
objectNested attributes
-
displayName
string Required -
iconName
string -
multiple
boolean -
allowExtraValues
boolean -
options
array -
defaultValue
string
-
-
frontMatterDateTimeSchema
objectNested attributes
-
displayName
string Required -
iconName
string -
defaultValue
string date-time
-
-
frontMatterUserSchema
objectNested attributes
-
displayName
string Required -
iconName
string -
multiple
boolean -
defaultValue
object base64uuidRepresentation of a user value in the front matter.
-
-
-
-
frontMatterCollections
array of string
Returns
200
OK
Retrieve a single notebook
GET /api/notebooks/{notebookId}
Retrieves a single notebook (both its metadata and content)
Path parameters
-
notebookId
string base64uuid Required
Returns
200
OK
Deletes a notebook
DELETE /api/notebooks/{notebookId}
Deletes a notebook
Path parameters
-
notebookId
string base64uuid Required
Returns
200
OK
Modifies individual properties of a single notebook
PATCH /api/notebooks/{notebookId}
Modifies individual properties of a single notebook
Path parameters
-
notebookId
string base64uuid Required
Body parameters
updated properties
-
visibility
string
Returns
200
OK
Create a copy of the notebook
POST /api/notebooks/{notebookId}/duplicate
Creates a copy of the specified notebook
Path parameters
-
notebookId
string base64uuid Required
Body parameters
copy destination
-
title
string Required -
workspaceId
string base64uuid Required
Returns
200
OK
Gets the notebook as a template
GET /api/notebooks/{notebookId}/template.jsonnet
Downloads the specified notebooks as a Jsonnet template.
Path parameters
-
notebookId
string base64uuid Required
Returns
200
OK
Convert selected notebook cells to a snippet
GET /api/notebooks/{notebookId}/snippet.jsonnet
Convert the notebook cells to a snippet
Path parameters
-
start_cell_id
stringCell ID where the snippet should start
-
end_cell_id
string
Returns
200
OK
Append cells to Notebook
POST /api/notebooks/{notebookId}/cells
Append the given cells to the notebook. Any cells that have their ID missing will be set on the server.
Path parameters
-
after
stringAppend the provided cells after this cell. If the cell is not found it will return a 400. This parameter cannot be used together with
before
. -
before
stringAppend the provided cells before this cell. If the cell is not found it will return a 400. This parameter cannot be used together with
after
.
Returns
200
OK
Append text (with formatting) to the specified cell
POST /api/notebooks/{notebookId}/cells/{cellId}/append
Append the given text and optional formatting to the specified cell
Path parameters
-
notebookId
string base64uuid Required -
cellId
string RequiredID of the notebook cell
Body parameters
Content and optional formatting to append
-
content
string Required -
formatting
array of objectPossible values
-
startBoldAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endBoldAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startCodeAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endCodeAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startHighlightAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endHighlightAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startItalicsAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endItalicsAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startLinkAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
url
string Required
-
-
endLinkAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
mentionAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
name
string Required -
userId
string Required
-
-
startStrikethroughAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endStrikethroughAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startUnderlineAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endUnderlineAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
labelAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
key
string Required -
value
string
-
-
timestampAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
timestamp
string date-time Required
-
-
Returns
200
OK
Replace text and formatting in a cell
POST /api/notebooks/{notebookId}/cells/{cellId}/replaceText
Replace some text and formatting in the specified cell
Path parameters
-
notebookId
string base64uuid Required -
cellId
string RequiredID of the notebook cell
Body parameters
-
offset
integer int32 Required -
newText
string Required -
newFormatting
array of objectPossible values
-
startBoldAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endBoldAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startCodeAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endCodeAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startHighlightAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endHighlightAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startItalicsAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endItalicsAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startLinkAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
url
string Required
-
-
endLinkAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
mentionAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
name
string Required -
userId
string Required
-
-
startStrikethroughAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endStrikethroughAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startUnderlineAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endUnderlineAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
labelAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
key
string Required -
value
string
-
-
timestampAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
timestamp
string date-time Required
-
-
-
oldText
string Required -
oldFormatting
array of objectPossible values
-
startBoldAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endBoldAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startCodeAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endCodeAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startHighlightAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endHighlightAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startItalicsAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endItalicsAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startLinkAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
url
string Required
-
-
endLinkAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
mentionAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
name
string Required -
userId
string Required
-
-
startStrikethroughAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endStrikethroughAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startUnderlineAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endUnderlineAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
labelAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
key
string Required -
value
string
-
-
timestampAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
timestamp
string date-time Required
-
-
Returns
200
OK
Create a new comment thread
POST /api/notebooks/{notebookId}/threads
Creates a new comment thread in a notebook
Path parameters
-
notebookId
string base64uuid Required
Body parameters
-
id
string base64uuid -
comment
objectNested attributes
-
id
string base64uuid -
content
string Required -
formatting
arrayPossible values
-
startBoldAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endBoldAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startCodeAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endCodeAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startHighlightAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endHighlightAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startItalicsAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endItalicsAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startLinkAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
url
string Required
-
-
endLinkAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
mentionAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
name
string Required -
userId
string Required
-
-
startStrikethroughAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endStrikethroughAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
startUnderlineAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
endUnderlineAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required
-
-
labelAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
key
string Required -
value
string
-
-
timestampAnnotation
objectNested attributes
-
type
string Required -
offset
integer int32 Required -
timestamp
string date-time Required
-
-
-
Returns
200
OK
List all the threads in the given notebook
GET /api/notebooks/{notebookId}/threads
List the threads in the given notebook
Path parameters
-
status
string
Returns
200
OK
Updates front matter for a given notebook
PATCH /api/notebooks/{notebookId}/front_matter
Updates front matter for a given notebook
Path parameters
-
notebookId
string base64uuid Required
Returns
200
OK
Delete all front matter data for a notebook
DELETE /api/notebooks/{notebookId}/front_matter
Deletes all front matter data for notebook.
If you wish to delete a single key instead of the whole object, use the patch
endpoint with value: null
Path parameters
-
notebookId
string base64uuid Required
Returns
200
OK
Add rows to the front matter of a notebook
POST /api/notebooks/{notebookId}/front_matter
Adds rows to the front matter of a notebook. If the requested position is out of bounds or is not specified, will append the rows to the existing front matter.
Path parameters
-
notebookId
string base64uuid Required
Body parameters
Front matter rows insertion operation to apply
-
toIndex
integer Required -
insertions
array of object RequiredPossible values
-
key
string -
schema
objectNested attributes
-
key
string Required -
schema
RequiredPossible values
-
frontMatterNumberSchema
objectNested attributes
-
displayName
string Required -
iconName
string -
allowExtraValues
boolean -
options
array -
defaultValue
numberRepresentation of a number value in the front matter.
-
prefix
string -
suffix
string
-
-
frontMatterStringSchema
objectNested attributes
-
displayName
string Required -
iconName
string -
multiple
boolean -
allowExtraValues
boolean -
options
array -
defaultValue
string
-
-
frontMatterDateTimeSchema
objectNested attributes
-
displayName
string Required -
iconName
string -
defaultValue
string date-time
-
-
frontMatterUserSchema
objectNested attributes
-
displayName
string Required -
iconName
string -
multiple
boolean -
defaultValue
object base64uuidRepresentation of a user value in the front matter.
-
-
-
-
value
The value to assign to the front matter row on insertion
-
Returns
200
OK
Updates a front matter row of a given notebook
PATCH /api/notebooks/{notebookId}/front_matter/{frontMatterKey}
Updates a front matter row of a given notebook
Path parameters
-
notebookId
string base64uuid Required -
frontMatterKey
string RequiredThe name of the front matter key to act on within a notebook
Body parameters
Front matter update operation to apply on the row. It is possible to change the content of the value, the label/type for the entry, or both.
-
newSchema
objectNested attributes
-
key
string Required -
schema
RequiredPossible values
-
frontMatterNumberSchema
objectNested attributes
-
displayName
string Required -
iconName
string -
allowExtraValues
boolean -
options
array -
defaultValue
numberRepresentation of a number value in the front matter.
-
prefix
string -
suffix
string
-
-
frontMatterStringSchema
objectNested attributes
-
displayName
string Required -
iconName
string -
multiple
boolean -
allowExtraValues
boolean -
options
array -
defaultValue
string
-
-
frontMatterDateTimeSchema
objectNested attributes
-
displayName
string Required -
iconName
string -
defaultValue
string date-time
-
-
frontMatterUserSchema
objectNested attributes
-
displayName
string Required -
iconName
string -
multiple
boolean -
defaultValue
object base64uuidRepresentation of a user value in the front matter.
-
-
-
-
newValue
Set a new value for the object. The type of value depends on the schema. If this attribute is
null
or absent it can mean multiple things depending on the other attributes:- if
deleteValue
isfalse
or absent, this means we want to keep the current- it is impossible to keep the current value if the schemas are incompatible. In that
case we use the
defaultValue
of the new schema (or nothing if thereâs no default)
- it is impossible to keep the current value if the schemas are incompatible. In that
case we use the
- if
deleteValue
istrue
, this means we want to wipe the value from the front matter in all cases.
- if
-
deleteValue
boolean
Returns
200
OK
Delete a row of the front matter for a notebook
DELETE /api/notebooks/{notebookId}/front_matter/{frontMatterKey}
Deletes a row of the front matter for a notebook.
Path parameters
-
notebookId
string base64uuid Required -
frontMatterKey
string RequiredThe name of the front matter key to act on within a notebook
Returns
200
OK
Upload a file to a notebook
POST /api/notebooks/{notebookId}/files
upload a file
Path parameters
-
notebookId
string base64uuid Required
Body parameters
a file
-
file
string binary Required
Returns
200
OK
Delete a file from a notebook
DELETE /api/notebooks/{notebookId}/files/{fileId}
Delete a file from a notebook
Path parameters
-
notebookId
string base64uuid Required -
fileId
string RequiredID of the file
Returns
200
OK
Get a file from a notebook
GET /api/notebooks/{notebookId}/files/{fileId}
Get a file from a notebook
Path parameters
-
notebookId
string base64uuid Required -
fileId
string RequiredID of the file
Returns
200
OK
List all pinned notebooks
GET /api/workspaces/{workspaceId}/pinnednotebooks
List all pinned notebooks for a specific workspace
Path parameters
-
workspaceId
string base64uuid RequiredThe workspace ID
Returns
200
OK
Pin a notebook
POST /api/pinnednotebooks
Pins a notebook
Body parameters
new notebook
-
notebookId
string Required
Returns
200
OK
Unpin a notebook
DELETE /api/pinnednotebooks/{notebookId}
Unpins a notebook
Path parameters
-
notebookId
string base64uuid Required
Returns
200
OK
Search notebooks
POST /api/workspaces/{workspaceId}/search/notebooks
Search for notebooks
Path parameters
-
sort_by
stringSort the resulting list by the following field (defaults to created_at)
-
sort_direction
stringSort the resulting list in the following direction (defaults to ascending)
Body parameters
Notebook search payload
-
labels
objectSearch notebooks based on labels. You can search for an exact label match by supplying both an key and a value. You can also search for all labels that have a specific key by passing passing a key with a null value or a empty string value. The notebookâs labels needs to match every label search that is provided.
-
relativeTime
objectNested attributes
-
unit
string Required -
value
number int64 Required
-
-
view
string nameSearches for notebooks using a pre-defined view
Returns
200
OK