Get Latest Snapshot

GET https://{{cluster_vip}}/v2/data-protect/search/protected-objects

Returns information on the latest snapshots of the objects that are being protected on the Cohesity cluster.

The snapshot ID of a volume from the response is required for recovering that volume.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring

RESPONSES

status: OK

{"objects":[{"id":7891,"name":"physical server","environment":"kPhysical","objectType":"kHost","protectionType":"kVolume","osType":"kLinux","protectionStats":null,"latestSnapshotsInfo":[{"archivalSnapshotsInfo":null,"indexingStatus":"Done","protectionGroupId":"1788784541625014:1677666650254:651","protectionGroupName":"Linux_blockbased","runInstanceId":1083,"storageDomainId":27,"protectionRunId":"651:1677716794302670","runType":"kRegular","protectionRunStartTimeUsecs":1677716794302670,"localSnapshotInfo":{"snapshotId":"{{snapshotId}}","logicalSizeBytes":73517760512}}],"sourceInfo":{"id":7890,"name":"Physical Servers","environment":"kPhysical","objectType":"kGroup","protectionType":"kVolume"}},{"id":112,"name":"Auto_Ubuntu_patch","sourceId":1,"environment":"kVMware","objectType":"kVirtualMachine","uuid":"500d8512-dcdc-d2ee-2a4b-7a3a01dec885","osType":"kLinux","protectionStats":null,"vmwareParams":{"isTemplate":false},"latestSnapshotsInfo":[{"archivalSnapshotsInfo":[{"snapshotId":"{{snapshotId}}","logicalSizeBytes":17179869184,"targetId":12966,"archivalTaskId":"1788784541625014:1677666650254:4276449","targetName":"patch_auto_aws_s3_standard_target_1","targetType":"Cloud"},{"snapshotId":"{{snapshotId}}","logicalSizeBytes":17179869184,"targetId":12990,"archivalTaskId":"1788784541625014:1677666650254:4276451","targetName":"patch_auto_aws_s3_standard_target_2","targetType":"Cloud"}],"indexingStatus":"Done","protectionGroupId":"1788784541625014:1677666650254:15","protectionGroupName":"patch_auto_allexternal_vault_job_1","runInstanceId":2070,"storageDomainId":12959,"protectionRunId":"15:1677795541179729","runType":"kRegular","protectionRunStartTimeUsecs":1677795541179729,"localSnapshotInfo":{"snapshotId":"{{snapshotId}}","logicalSizeBytes":17179869184}}],"sourceInfo":{"id":1,"name":"{{source_name}}","environment":"kVMware","objectType":"kVCenter","uuid":"83e8bc7e-8d16-4011-9e7d-da390334382c","vCenterSummary":{"isCloudEnv":false}}},{"id":11410,"name":"{{physical_server_name}}","environment":"kPhysical","objectType":"kHost","osType":"kWindows","protectionStats":null,"latestSnapshotsInfo":[{"archivalSnapshotsInfo":null,"indexingStatus":"Done","protectionGroupId":"1788784541625014:1677666650254:428","protectionGroupName":"Patch_AAG_cluster_Job","runInstanceId":429,"storageDomainId":20559,"protectionRunId":"428:1677673831591221","runType":"kRegular","protectionRunStartTimeUsecs":1677673831591221,"localSnapshotInfo":{"snapshotId":"{{snapshotId}}","logicalSizeBytes":64422412288}}],"sourceInfo":{"id":11387,"name":"MS SQL Servers","environment":"kSQL","objectType":"kRootContainer"}},{"id":11414,"name":"MSSQLSERVER/patch_aag_4","sourceId":11410,"environment":"kSQL","objectType":"kDatabase","osType":"kOther","protectionStats":null,"mssqlParams":{"hostInfo":{"id":"11410","name":"{{hostname}}","environment":"kPhysical"}},"latestSnapshotsInfo":[{"archivalSnapshotsInfo":null,"indexingStatus":"Done","protectionGroupId":"1788784541625014:1677666650254:428","protectionGroupName":"Patch_AAG_cluster_Job","runInstanceId":429,"storageDomainId":20559,"protectionRunId":"428:1677673831591221","runType":"kRegular","protectionRunStartTimeUsecs":1677673831591221,"localSnapshotInfo":{"snapshotId":"{{snapshotId}}","logicalSizeBytes":0}}],"sourceInfo":{"id":11387,"name":"MS SQL Servers","environment":"kSQL","objectType":"kRootContainer"}},{"id":11425,"name":"remoteadapterview","sourceId":7887,"environment":"kView","objectType":"kView","osType":"kOther","protectionStats":null,"latestSnapshotsInfo":[{"archivalSnapshotsInfo":null,"indexingStatus":"Done","protectionGroupId":"1788784541625014:1677666650254:494","protectionGroupName":"UI_Auto_Remote_Adapter_Protection_Job_1","runInstanceId":2889,"storageDomainId":27,"protectionRunId":"494:1677849334401478","runType":"kRegular","protectionRunStartTimeUsecs":1677849334401478,"localSnapshotInfo":{"snapshotId":"{{snapshotId}}","logicalSizeBytes":60016321}}],"sourceInfo":{"id":7887,"name":"DefaultStorageDomain","environment":"kView","objectType":"kViewBox"}}],"numResults":42,"metadata":{"uniqueProtectionGroupIdentifiers":[{"protectionGroupId":"1788784541625014:1677666650254:651","protectionGroupName":"Linux_blockbased"},{"protectionGroupId":"1788784541625014:1677666650254:494","protectionGroupName":"UI_Auto_Remote_Adapter_Protection_Job_1"},{"protectionGroupId":"1788784541625014:1677666650254:428","protectionGroupName":"Patch_AAG_cluster_Job"},{"protectionGroupId":"1788784541625014:1677666650254:15","protectionGroupName":"patch_auto_allexternal_vault_job_1"}]}}