Spaces method and path for this operation:
Refer to Spaces for more information.
Returns time-ordered historical risk score entries from the risk score time-series index for a given entity.
Query parameters
-
The type of entity to retrieve history for.
Values are
host,user,service, orgeneric. -
The identifier of the entity to retrieve history for.
Maximum length is
1000. -
Start of the time range, in date-math syntax. Defaults to 90 days ago.
Maximum length is
100. Default value isnow-90d. -
End of the time range, in date-math syntax. Defaults to now.
Maximum length is
100. Default value isnow. -
Filter entries by the type of score recorded (
base,propagated, orresolution).Values are
base,propagated, orresolution. -
Maximum number of history entries to return per request.
Minimum value is
1, maximum value is1000. Default value is100.
curl \
--request GET 'https://localhost:5601/api/risk_score/history?entity_type=host&entity_id=string' \
--header "Authorization: $API_KEY"
{
"entity_id": "alice",
"entity_type": "user",
"entries": [
{
"@timestamp": "2026-05-20T12:00:00.000Z",
"calculated_level": "High",
"calculated_score": 145.2,
"calculated_score_norm": 72.4,
"category_1_count": 18,
"category_1_score": 102,
"score_type": "base"
}
]
}