Document apiReferenceSections
sections.get
Retrieve full section information by section address.
read-onlyidempotent
doc.sections.get(…)Expected result
Returns a SectionInfo object with full section properties including margins, columns, and header/footer refs.
Inputs
addressSectionAddressrequiredFields
kind"section"requiredsectionIdstringrequiredResult
Output fields
addressSectionAddressrequiredFields
kind"section"requiredsectionIdstringrequiredindexintegerrequiredrangeobjectrequiredFields
startParagraphIndexintegerrequiredendParagraphIndexintegerrequiredbreakType"continuous" | "nextPage" | "evenPage" | "oddPage"pageSetupobjectFields
widthnumberheightnumberorientation"portrait" | "landscape"paperSizestringmarginsobjectFields
topnumberrightnumberbottomnumberleftnumbergutternumberheaderFooterMarginsobjectFields
headernumberfooternumbercolumnsobjectFields
countintegergapnumberequalWidthbooleanlineNumberingobjectFields
enabledbooleanrequiredcountByintegerstartintegerdistancenumberrestart"continuous" | "newPage" | "newSection"pageNumberingobjectFields
startintegerformat"decimal" | "lowerLetter" | "upperLetter" | "lowerRoman" | "upperRoman" | "numberInDash"chapterStyleintegerchapterSeparator"hyphen" | "period" | "colon" | "emDash" | "enDash"titlePagebooleanoddEvenHeadersFootersbooleanverticalAlign"top" | "center" | "bottom" | "both"sectionDirection"ltr" | "rtl"headerRefsobjectFields
defaultstringfirststringevenstringfooterRefsobjectFields
defaultstringfirststringevenstringpageBordersdisplay | offsetFrom | zOrder | top | right | bottom | leftdisplay
No fields.
offsetFrom
No fields.
zOrder
No fields.
top
No fields.
right
No fields.
bottom
No fields.
left
No fields.
Failures
Pre-apply throws
TARGET_NOT_FOUNDINVALID_TARGETINVALID_INPUT
1 more codes
CAPABILITY_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