Skip to main content
POST

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Body

application/json
modelId
string<uuid>
required

The ID of the model to build the document on

name
string
required

The name of the document

description
string

Description of the document

Required string length: 1 - 1024
identifier
string

Custom identifier for the document. If not provided, an identifier will be auto-generated.

The identifier is used in the document's URL and must be unique across all documents in your organization.

Format requirements:

  • Must match the pattern: lowercase letters, numbers, hyphens, and underscores only
  • Cannot start or end with a hyphen or underscore

Note: Once created, the identifier can be changed using the Update document endpoint.

Example:

"sales-dashboard-2026"

queryPresentations
object[]

An array of query presentation objects, each representing a query in the document's workbook

Response

Document created successfully

dashboard
object
workbook
object