Document apiReferenceMetadata

metadata.get

Get a single anchored-metadata entry by id, including its JSON payload.

read-onlyidempotent
doc.metadata.get(…)

Expected result

Returns an AnchoredMetadataInfo with id, namespace, partName, and payload; or null if not found.

Inputs

idstringrequired

Result

Output fields
Variant 1

No fields.

Variant 2

No fields.

Failures

Pre-apply throws

  • TARGET_NOT_FOUND
  • 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