---
title: "GET /v1/{+parent}:batchGetAssetsHistory"
method: GET
path: "/v1/{+parent}:batchGetAssetsHistory"
tags: ["v1"]
---

# GET /v1/{+parent}:batchGetAssetsHistory

`GET /v1/{+parent}:batchGetAssetsHistory`

Batch gets the update history of assets that overlap a time window. For IAM_POLICY content, this API outputs history when the asset and its attached IAM POLICY both exist. This can create gaps in the output history. Otherwise, this API outputs history with asset in both non-delete or deleted status. If a specified asset does not exist, this API returns an INVALID_ARGUMENT error.

## Path parameters

- `parent` string, required

## Query parameters

- `assetNames` string[]
- `contentType` 'CONTENT_TYPE_UNSPECIFIED' | 'RESOURCE' | 'IAM_POLICY' | 'ORG_POLICY' | 'ACCESS_POLICY' | 'OS_INVENTORY' | 'RELATIONSHIP'
- `readTimeWindow.endTime` string
- `readTimeWindow.startTime` string
- `relationshipTypes` string[]

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/cloudasset.md) · [All operations](https://skmtc.net/google/apis/cloudasset/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/cloudasset/versions/c4d87ba24bda/schema)
