Create a workbook from a code representation (Beta)

This endpoint creates a new workbook from a code representation. Use it to programmatically define and create workbooks that are then accessible from the Sigma UI.

Beta: This documentation describes a private beta feature and is subject to the Beta features disclaimer.

For more information on managing workbooks programmatically, see Manage workbooks as code. For more information on using this endpoint, including end-to-end instructions, see Create a workbook from a code representation.

System and user requirements

  • To perform this operation, you must use API credentials owned by a user assigned an account type with Create, edit, and publish workbooks permission.
  • To perform this operation, you must use API credentials owned by a user with Can edit access for the workbook.

Usage notes

Usage scenarios

  • Agentic workflows: Agents can use these endpoints to directly manage workbook contents in code.
  • Automation: If you want to create several workbooks across one or more organizations, you can use this endpoint to programmatically create the workbooks.
  • Integration: Using this endpoint, you can create workbooks based on external data sources or integrate Sigma with other tools and platforms.
  • Migration: You can use this endpoint to migrate workbooks from one organization to another.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The request body.

string
required

The name of the workbook.

string
required

The identifier of the folder in which the workbook is located.

number
enum
required

The schema version used by this representation of the workbook.

Allowed:
pages
array of objects
required

The pages of the workbook spec and their contents.

pages*

Grid layout as XML.

string

The description of the workbook.

Responses

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json