Assets: search

Search a user's Looker Studio assets.

Request

HTTP request

GET https://datastudio.googleapis.com/v1/assets:search

Parameters

Parameter name Type Description
assetTypes Array<AssetType> Required. The asset type to search. Exactly one asset type must be specified.
title string The title of the asset.
includeTrashed boolean Defaults to false.
  • When this parameter is set to true, only assets from the trash are included.
  • When this parameter is set to false, only assets not in the trash are included.
owner string The asset owner's email.
orderBy string The order of the results. You can sort by the following fields:
  • title
  • last_viewed_by_me
  • create_time
  • last_accessed_time
  • id
pageSize number The number of results to include per page. Defaults to 1000.
pageToken string A token identifying a page of results to return. To paginate results, use a nextPageToken value or previousPageToken value from another request.

Authorization

This request requires authorization with at least one of the following scopes:

Scope
https://www.googleapis.com/auth/datastudio.readonly
https://www.googleapis.com/auth/datastudio

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "assets": [Asset],
  "nextPageToken": string
}
Property name Type Description
assets Array<Asset> The list of assets.
nextPageToken string A token to retrieve the next page of results. This property is only present when the number of results is greater than the request pageSize. An empty nextPageToken indicates that there are no more results to return.
previousPageToken string A token to retrieve the previous page of results. An empty previousPageToken indicates the beginning of the result set.