Method: matters.savedQueries.list
Stay organized with collections
Save and categorize content based on your preferences.
Lists the saved queries in a matter.
HTTP request
GET https://vault.googleapis.com/v1/matters/{matterId}/savedQueries
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
matterId |
string
The ID of the matter to get the saved queries for.
|
Query parameters
Parameters |
pageSize |
integer
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
Definition of the response for method ListSaveQuery.
If successful, the response body contains data with the following structure:
JSON representation |
{
"savedQueries": [
{
object (SavedQuery )
}
],
"nextPageToken": string
} |
Fields |
savedQueries[] |
object (SavedQuery )
List of 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
For more information, see the Authorization guide.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-17 UTC.
[null,null,["Last updated 2025-03-17 UTC."],[],[],null,["# Method: matters.savedQueries.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListSavedQueriesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists the saved queries in a matter.\n\n### HTTP request\n\n`GET https://vault.googleapis.com/v1/matters/{matterId}/savedQueries`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------|-------------------------------------------------------------|\n| `matterId` | `string` The ID of the matter to get the saved queries for. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|--------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` The maximum number of saved queries to return. |\n| `pageToken` | `string` The pagination token as returned in the previous response. An empty token means start from the beginning. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nDefinition of the response for method ListSaveQuery.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"savedQueries\": [ { object (/workspace/vault/reference/rest/v1/matters.savedQueries#SavedQuery) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|------------------|---------------------------------------------------------------------------------------------------------------------------------------|\n| `savedQueries[]` | `object (`[SavedQuery](/workspace/vault/reference/rest/v1/matters.savedQueries#SavedQuery)`)` List of saved queries. |\n| `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. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/ediscovery.readonly`\n- `https://www.googleapis.com/auth/ediscovery`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]