Create Saved Search
Create a saved search
Request
URI
POST
https://{api_host}/api/v2/savedsearch
COPY
Request Body
Example Body:
{ "query": { "foo": "{\"searchTerms\":[{\"type\":\"freetext\",\"value\":\"foo\"}]}" }, "entityType": "DASHBOARD" }
SavedSearch
of type(s)
application/json
Optional
Show optional properties
{
"query": {},
"entityType": "string"
}
{
"id": "string",
"query": {
"query": "string"
},
"createdEpochMillis": 0,
"updatedEpochMillis": 0,
"entityType": "string",
"userId": "string",
"creatorId": "string",
"updaterId": "string"
}
Responses
200
successful operation
Returns
ResponseContainerSavedSearch
of type(s)
application/json
"ResponseContainerSavedSearch Object"
object
status
Required
status
object
response
Optional
Saved queries for searches over Wavefront entities
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"entityType:"string","query:"object"}' https://{api_host}/api/v2/savedsearch