restore
Restore an archived asset back to active storage.
restore
Restore an archived asset back to active storage.
Restore a previously-archived confined asset.
Safety class: B · API type: any · Min version: —
ConfinementClass B: asset_id must be within your run-root anchor.
Signatures
def restore(sdk, asset_id):
"""Restore asset_id from archive; return the response dict or None."""
return sdk.restore_asset(asset_id)export async function restore(sdk, assetId) {
// Restore a previously-archived confined asset.
return await sdk.restoreAsset(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 — job/confirmation; None on failure. Async transition.
Errors
- 401 unauthenticated
- 404 asset not found
See also: Python ↔ JS naming map · Return shapes.
