Get live query results
Get the results of a live query using the query action ID.
Query parameters
-
kuery
string | null The kuery to filter the results by.
-
page
integer | null The page number to return. The default is 1.
-
pageSize
integer | null The number of results to return per page. The default is 20.
-
sort
string | null The field that is used to sort the results.
Default value is
createdAt
. -
sortOrder
string Specifies the sort order.
Values are
asc
ordesc
.
GET
/api/osquery/live_queries/{id}/results/{actionId}
curl \
--request GET https://localhost:5601/api/osquery/live_queries/3c42c847-eb30-4452-80e0-728584042334/results/609c4c66-ba3d-43fa-afdd-53e244577aa0 \
--header "Authorization: $API_KEY"
Response examples (200)
{
"data": {
"edges": [
{},
{}
],
"total": 2
}
}