Retrieve the total number of polices executed in the given number of days
OK
Bad Request
Unauthorized
Unauthorized Action
Not Found
Request Timeout
Rate Limit
Service Unavailable
$apiKey = 'your_automox_api_key' $headers = @{ "Authorization" = "Bearer $apiKey" "Content-Type" = "application/json" } $url = "/policy-history/policy-run-count/?org=<your_organization_uuid_goes_here>&days=7" $response = (Invoke-WebRequest -Method Get -Uri $url -Headers $headers).Content
{- "policy_runs": 100
}