Full name: projects.locations.instances.users.searchQueries.create
Endpoint for adding a new entry to the specified collection of user data
HTTP request
POST https://chronicle.googleapis.com/v1alpha/{parent}/searchQueries
Path parameters
Parameters
parent
string
Required. The ID of the user this Search Query will be created for. Format: projects/{project}/locations/{___location}/instances/{instance}/users/{user}
Query parameters
Parameters
searchQueryId
string
Required. The query to create.
Request body
The request body contains an instance of SearchQuery.
Response body
If successful, the response body contains a newly created instance of SearchQuery.
[[["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."],[[["This endpoint creates a new search query entry for a specified user within a project, ___location, and instance."],["The `parent` path parameter is mandatory and defines the user's ID where the search query is being created."],["The `searchQueryId` query parameter is required and specifies the content of the new query to be created."],["The request body should contain a `SearchQuery` instance, and a successful response will return the newly created `SearchQuery` instance."],["Creating a search query requires the `chronicle.searchQueries.create` IAM permission and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]