Create Saved Search

Create Saved Search

Create a saved search

Request
URI
POST
https://{api_host}/api/v2/savedsearch
COPY
Request Body
SavedSearch of type(s) application/json
Optional
{
    "id": "string",
    "createdEpochMillis": 0,
    "updatedEpochMillis": 0,
    "entityType": "string",
    "userId": "string",
    "creatorId": "string",
    "updaterId": "string"
}
string
id
Optional

id

object
query
Required

The map corresponding to the search query. The key is the name of the query, and the value is a JSON representation of the query

integer As int64 As int64
createdEpochMillis
Optional

createdEpochMillis

integer As int64 As int64
updatedEpochMillis
Optional

updatedEpochMillis

string
entityType
Required

The Wavefront entity type over which to search

Possible values are : DASHBOARD, ALERT, MAINTENANCE_WINDOW, NOTIFICANT, EVENT, SOURCE, EXTERNAL_LINK, AGENT, CLOUD_INTEGRATION, APPLICATION, REGISTERED_QUERY, USER, USER_GROUP, SERVICE_ACCOUNT, INGESTION_POLICY, ROLE, TOKEN,
string
userId
Optional

The user for whom this search is saved

string
creatorId
Optional

creatorId

string
updaterId
Optional

updaterId

Authentication
This operation uses the following authentication methods.
Responses
200

successful operation

Returns ResponseContainerSavedSearch of type(s) application/json
{
    "status": {
        "result": "string",
        "message": "string",
        "code": 0
    },
    "response": {
        "id": "string",
        "createdEpochMillis": 0,
        "updatedEpochMillis": 0,
        "entityType": "string",
        "userId": "string",
        "creatorId": "string",
        "updaterId": "string"
    }
}
status
Required

status

response
Optional

response