Queries
Execute Queries
Run an LQL query by specifying parameters in the request body by invoking the following endpoint:
POST https://YourAccount.lacework.net/api/v2/Queries/execute
The response is the data that the query finds in the datasource for the specified time period. To specify a time period, use the StartTimeRange and EndTimeRange arguments. For an example of how to specify a time frame, see Example Queries.
post/api/v2/Queries/execute
Headers
Authorizationstring required
Bearer Access Token. For example, "Bearer {YourAPIToken}"
Content-Typestring required
application/json
Request body
Response
No Error