Title
#fleet
b

Brandon

02/14/2022, 8:11 PM
quick question: does fleetctl hit an API endpoint to retrieve and run queries? I am asking because I cannot find an API endpoint to do this with regular curl line.
8:12 PM
I am looking for documentation around https://www.npmjs.com/package/fleetctl
Lucas Rodriguez

Lucas Rodriguez

02/14/2022, 8:14 PM
Hi Brandon, with respect to run one-off queries (aka live queries) you can use the following API https://github.com/fleetdm/fleet/blob/main/docs/01-Using-Fleet/03-REST-API.md#run-live-query
b

Brandon

02/14/2022, 8:16 PM
checking it out now! TY