Get unified query history
- Base URL
-
https://{kibana_url}
- GET /api/osquery/history
- GET /s/{space_id}/api/osquery/history
Get a unified, time-sorted history of live, rule-triggered, and scheduled osquery executions. The response uses cursor-based pagination.
Path parameters
-
space_idstringoptional -
An identifier for the space. If
space_idis not provided in the URL, the default space is used. Refer to Spaces for more information.
Query parameters
Responses
Indicates a successful call.
-
dataunion oneOf[]required -
The list of unified history rows for the current page.
- One of:
-
agentCountintegerrequired -
For live queries, the number of agents targeted by the query. For scheduled rows, the number of distinct agents that responded.
-
originVerifiedboolean -
Set on
Workflowrows only. Whether Kibana verified that the workflow run made the request. Alwaysfalseuntil workflow runs can be verified.