Document apiReferenceStyles
styles.getCatalog
List the available styles as a normalized catalogue with stable IDs, display names, type, visibility, priority, provenance, and source diagnostics. Supports view (quickGallery/recommended/currentDocument/all/inUse), type filtering, hidden/latent inclusion, usage rollups, and UI-safe preview tokens. Distinct from DocumentInfo.styles, which is a usage summary.
read-onlyidempotent
doc.styles.getCatalog(…)Expected result
Returns a StylesGetCatalogResult with the requested view, the full filtered style set, document defaults, per-source status, and diagnostics (including labeled fallbacks and unsupported-option notices).
Inputs
view"quickGallery" | "recommended" | "currentDocument" | "all" | "inUse"types"paragraph" | "character" | "linked" | "table" | "numbering"[]includeHiddenbooleanincludeLatentbooleanincludeUsagebooleanincludePreviewbooleanincludeDiagnosticsbooleanResult
Output fields
version"style-catalog/v1"requiredrevisionstring | nullrequiredview"quickGallery" | "recommended" | "currentDocument" | "all" | "inUse"requireddefaultsobjectrequiredFields
paragraphStyleIdstring | nullrequiredcharacterStyleIdstring | nullrequiredtableStyleIdstring | nullrequireditemsobject[]requiredstylesobject[]requiredsourceStatusobjectrequiredFields
styles"present" | "missing" | "malformed"requiredsettings"present" | "missing" | "malformed"requiredusage"unsupported" | "complete" | "partial" | "failed"requiredpreview"unsupported" | "available"requiredview"supported" | "unsupported"requireddiagnosticsobject[]requiredFailures
Pre-apply throws
INVALID_INPUTCAPABILITY_UNAVAILABLE
Raw schemas
Open the generated JSON artifact for the exact input, output, success, and failure schemas represented by this contract version.
View raw JSON schemas