get_metadata_summary
Retrieve the metadata summary (labels/classification) for an asset or folder.
get_metadata_summary
Retrieve the metadata summary (labels/classification) for an asset or folder.
Labels and classification metadata for an asset or folder.
Safety class: A · API type: admin · Min version: —
ConfinementRead-only; safe anywhere.
Signatures
def get_metadata_summary(sdk, asset_id):
"""Return the asset's metadata/label summary, or None if it does not resolve."""
return sdk.get_asset_metadata_summary(asset_id)export async function getMetadataSummary(sdk, assetId) {
// Labels and classification metadata for an asset or folder.
return await sdk.getAssetMetadataSummary(assetId);
}Parameters
| Parameter (Python) | Parameter (JS) | Type | Required | Notes |
|---|---|---|---|---|
sdk | sdk | Nomad_SDK | yes | |
asset_id | assetId | str | yes | e.g. <asset-uuid> |
Returns
dict | None — labels and classification info (auto + manual); may be empty for a fresh asset.
Errors
- 401 unauthenticated
- 404 not found -> None
See also: Python ↔ JS naming map · Return shapes.
