Create

Creates a new workbook. The workbook will be associated with the provided run. If the run does not exist, a RunNotFound error will be thrown.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
titlestringRequired
descriptionstringRequired
isDraftbooleanRequired
stateAsJsonstringRequired
layoutobjectRequired
eventRefsset of objectsRequired

Field to pin events to a workbook on creation.

notebookTypeenumOptional

Optional for backcompatibility. Default is a normal workbook.

Allowed values:
chartslist of objectsOptional
runRidstringOptional

deprecated. Use dataScope instead

dataScopeobjectOptional

Optional for back-compatibility.

contentobjectOptional
contentV2objectOptional

Optional for backcompatibility

checkAlertRefsset of objectsOptional

Field to pin check alerts to a workbook on creation. Any specified CheckAlertReference will be added to the workbook along with it’s corresponding EventReference.

workspacestringOptional

The workspace in which to create the workbook. If not provided, the workbook will be created in the default workspace for the user’s organization, if the default workspace for the organization is configured.

Response

This endpoint returns an object.
ridstring
snapshotRidstring
snapshotAuthorRidstring
snapshotCreatedAtdatetime
metadataobject
stateAsJsonstring
layoutobject
contentV2object
eventRefsset of objects
chartslist of objectsOptional
contentobjectOptional
checkAlertRefsset of objectsOptional