EventSearchRequest

EventSearchRequest
EventSearchRequest
JSON Example
{
    "cursor": "string",
    "limit": 100,
    "query": [
        {
            "key": "string",
            "value": "string",
            "values": [
                "string"
            ],
            "matchingMethod": "string",
            "negated": false,
            "start": 0,
            "end": 0
        }
    ],
    "timeRange": {
        "earliestStartTimeEpochMillis": 0,
        "latestStartTimeEpochMillis": 0
    },
    "relatedEventTimeRange": {
        "earliestStartTimeEpochMillis": 0,
        "latestStartTimeEpochMillis": 0
    },
    "sortTimeAscending": false,
    "sortScoreMethod": "string"
}
string
cursor
Optional

The id (exclusive) from which search results resume returning. Users should supply an entity 'id' to this property. Its main purpose is to resume where a previous search left off because of the 'limit' parameter. If a user supplies the last id in a set of results to cursor, while keeping the query the same, the system will return the next page of results

integer As int32 As int32
limit
Optional

The number of results to return. Default: 100

query
Optional

A list of queries by which to limit the search results

timeRange
Optional

timeRange

relatedEventTimeRange
Optional

relatedEventTimeRange

boolean
sortTimeAscending
Optional

Whether to sort event results ascending in start time. Default: false

string
sortScoreMethod
Optional

Whether to sort events on similarity score : {NONE, SCORE_ASC, SCORE_DES}. Default: NONE. If sortScoreMethod is set to SCORE_ASC or SCORE_DES, it will override time sort

Possible values are : SCORE_ASC, SCORE_DES, NONE,