v7
OpenAPI 3.1.02026-08-06211328764.1 KBCreate document
Create a brand-new document and publish it live. Accepts creation metadata (modelId, name, optional identifier / description / folderId) plus the same content slice as the PATCH body — queryPresentations, controls, settings, containers. The server mints internal tile identifiers, so callers omit miniUuid. Tiles in queryPresentations are merged by key over the single empty seed tile at key "1"; write to "1" (or send it as null) to replace the seed.
When containers is omitted, every dashboard-eligible tile is auto-placed in a default layout. When containers is present, it fully defines the layout — tiles it does not reference are stored but not rendered. Send containers: null to create a workbook-only document with no dashboard (controls and settings must then be omitted); an empty containers: [] is rejected.
The new document is published live before the response returns. As a first publish of brand-new content it is not subject to the org’s requirePullRequestToPublish policy (which gates edits to existing content).
Request body
Response
Document created and published successfully.