Team Drives-related fields in the Vault API are being replaced. Learn more.

Method: matters.savedQueries.list

Lists saved queries within a matter. An empty page token in ListSavedQueriesResponse denotes no more saved queries to list.

HTTP request

GET https://vault.googleapis.com/v1/matters/{matterId}/savedQueries

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
matterId

string

The matter id of the parent matter for which the saved queries are to be retrieved.

Query parameters

Parameters
pageSize

number

The maximum number of saved queries to return.

pageToken

string

The pagination token as returned in the previous response. An empty token means start from the beginning.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Definition of the response for method ListSaveQuery.

JSON representation
{
  "savedQueries": [
    {
      object(SavedQuery)
    }
  ],
  "nextPageToken": string
}
Fields
savedQueries[]

object(SavedQuery)

List of output saved queries.

nextPageToken

string

Page token to retrieve the next page of results in the list. If this is empty, then there are no more saved queries to list.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/ediscovery.readonly
  • https://www.googleapis.com/auth/ediscovery

Try it!