Skip to main content

Manage a Search Query

POST 

/search/history/:id

Allows you to manage a search query (save a search query to the Saved Searches list under the specified ID, convert a recent search to a saved search, update an existing search). For details on how to manage a saved search, see Manage Saved Search

Required parameters include the search ID, the RQL query, the flag that marks this search as saved, and a unique name for the saved search. A best practice is to copy data from the results of a search history, update the data as necessary, and set the saved parameter to true.

This API requires Prisma Cloud system administrator role access if you don't own the search with the given search ID.

Request

Responses

successful operation