Get packs

GET /api/osquery/packs

Spaces method and path for this operation:

get /s/{space_id}/api/osquery/packs

Refer to Spaces for more information.

Get a list of all query packs.

Query parameters

  • 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 or desc.

Responses

  • 200 application/json

    OK

GET /api/osquery/packs
curl \
 --request GET 'https://localhost:5601/api/osquery/packs' \
 --header "Authorization: $API_KEY"