Skip to main content
PATCH

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

Path Parameters

documentId
string
required

The published document's URL slug (e.g. abc123) or its canonical workbook UUID.

Body

application/json

The draft-route patch body plus an optional branchId selecting the branch the new draft is attached to.

branchId
string<uuid>

Branch the draft is created on. Omit for a draft on the main (unpublished) workspace.

modelId
string<uuid>

Immutable model identifier. Must match the document's current base model or the API will return a 400 error.

workbookModelId
string<uuid>

Immutable model identifier. Must match the document's current workbook model or the API will return a 400 error.

name
string

Document name.

Required string length: 1 - 254
description
string | null

Document description.

summary
string

Caller-supplied description of what this patch changes, written to the history audit trail. When omitted, Omni auto-generates one from the updated sections.

Required string length: 1 - 255
queryPresentations
object

Query presentations (tabs/tiles) keyed by record key.

controls
object

Dashboard filters/controls keyed by control ID.

settings
object

Document settings. Shallow-merged with the existing settings.

containers
object[]

Container layout. When present, fully replaces the existing layout.

Response

Draft created and patch applied successfully.

identifier
string
required

Published document identifier the draft targets.

Example:

"def456"

draftIdentifier
string
required

Identifier of the draft the patch was applied to.

Example:

"abc123"

name
string
required

Document name.

Example:

"Blob Sales"

description
string | null
required

Document description.

Example:

"Overview of daily Blobs R Us Sales"