Full name: projects.locations.instances.users.searchQueries.list
Endpoint for listing the user data saved queries owned by the specified user
HTTP request
GET https://chronicle.googleapis.com/v1alpha/{parent}/searchQueries
Path parameters
Parameters
parent
string
Required. The ID of the user to list Search Queries for. Format: projects/{project}/locations/{location}/instances/{instance}/users/{user}
Query parameters
Parameters
pageSize
integer
Optional. The maximum number of SearchQueries to return. The service may return fewer than this value. If unspecified, at most 100 rules will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
pageToken
string
Optional. A page token, received from a previous ListSearchQueries call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListSearchQueries must match the call that provided the page token.
Request body
The request body must be empty.
Response body
Response for UserDataService ListSearchQueries
If successful, the response body contains data with the following structure:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-14 UTC."],[[["\u003cp\u003eThis endpoint \u003ccode\u003eprojects.locations.instances.users.searchQueries.list\u003c/code\u003e allows users to list data of saved queries owned by a specific user.\u003c/p\u003e\n"],["\u003cp\u003eThe request is a \u003ccode\u003eGET\u003c/code\u003e request to the endpoint \u003ccode\u003ehttps://chronicle.googleapis.com/v1alpha/{parent}/searchQueries\u003c/code\u003e, where the \u003ccode\u003eparent\u003c/code\u003e parameter is required, specifying the user's ID in the format: \u003ccode\u003eprojects/{project}/locations/{location}/instances/{instance}/users/{user}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request supports optional query parameters, \u003ccode\u003epageSize\u003c/code\u003e (for limiting the number of results) and \u003ccode\u003epageToken\u003c/code\u003e (for pagination).\u003c/p\u003e\n"],["\u003cp\u003eThe response body contains a list of saved queries (\u003ccode\u003esearch_queries\u003c/code\u003e) and a \u003ccode\u003enext_page_token\u003c/code\u003e for retrieving subsequent pages.\u003c/p\u003e\n"],["\u003cp\u003eTo use this endpoint, you will need the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the IAM permission \u003ccode\u003echronicle.searchQueries.list\u003c/code\u003e on the \u003ccode\u003eparent\u003c/code\u003e resource.\u003c/p\u003e\n"]]],[],null,[]]