Get scheduled query results

Base URL
https://{kibana_url}
Auth

Get paginated query result rows (the actual osquery output data) for a specific scheduled query execution.

Path parameters

space_id string optional

An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.

scheduleId string · max length: 1024 required

The schedule ID of the scheduled query.

Example: pack_my_pack_uptime
executionCount integer required

The execution count for this scheduled query run.

Query parameters

kuery string · max length: 65536 nullable

The kuery to filter the results by.

Example: agent.id: 16d7caf5-efd2-4212-9b62-73dafc91fa13
esFilters string · max length: 65536

A JSON-encoded array of Kibana filters, such as the search bar filter pills, to apply to the results. A value that is not valid JSON or not a filters array returns a 400 error.

page integer nullable

The page number to return. The default is 1.

pageSize integer nullable

The number of results to return per page. The default is 20.

sort string · max length: 256 · default: createdAt nullable

The field that is used to sort the results.

Example: agent.name
sortOrder enum

Specifies the sort order.

Values: asc desc
startDate string · max length: 64

The start date filter (ISO 8601) to narrow down results.

Example: 2024-01-01T00:00:00Z

Responses

Indicates a successful call.

application/json
Base URL
https://{kibana_url}