Document apiReferenceDocument index
index.rebuild
Rebuild (regenerate) an index block from its entries.
mutates documentdry runidempotent
doc.index.rebuild(…)Expected result
Returns an IndexMutationResult indicating success or a failure.
Inputs
targetobjectrequiredFields
kind"block"requirednodeType"index"requirednodeIdstringrequiredResult
Output fields
true
successtruerequiredindexobjectrequiredFields
kind"block"requirednodeType"index"requirednodeIdstringrequiredfalse
successfalserequiredfailureobjectrequiredFields
codestringrequiredmessagestringrequireddetailsunknownFailures
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