| Document Type | Behavior |
|---|---|
| Draft | Updated directly |
| Published (no existing draft) | Creates draft > Updates draft > Publishes draft |
Published (existing draft, clearExistingDraft: true) | Discards existing draft > Creates new draft > Updates > Publishes |
Published (existing draft, clearExistingDraft not set) | Returns 409 Conflict |
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Document identifier
Model ID for query transformation
Document name
1 - 254When true, enable facet filters on the dashboard
Auto-refresh interval in seconds. Minimum value must be 60. Use null to disable.
x >= 60Dashboard filter configuration. Pass {} for no filters.
Each key is a field name and the value is a filter definition object.
Order of filters in the filter bar. Pass [] if no filters.
Array of query presentations (at least one required)
1Optional description of the document. Set as null to clear the description.
1024"Total monthly sales. Used in sales review meetings."
Document metadata for presentation settings
If true, discards any existing draft before updating.
Note: This parameter is required when a draft exists for the document.