Audit log
Get audit log entry counts
Returns aggregate counts of audit log entries per time bucket. Used for dashboard overlays that show flag targeting changes.
post/api/v2/auditlog/counts
Query parameters
beforeinteger
A timestamp filter, expressed as a Unix epoch time in milliseconds. Defaults to now.
A timestamp filter, expressed as a Unix epoch time in milliseconds. Defaults to now.
afterinteger required
A timestamp filter, expressed as a Unix epoch time in milliseconds. Required.
A timestamp filter, expressed as a Unix epoch time in milliseconds. Required.
bucketsinteger
Number of time buckets to divide the range into. Default 50, max 500.
Number of time buckets to divide the range into. Default 50, max 500.
Request body
Example request
[
{
"resources": [
"proj/*:env/*:flag/*;testing-tag"
],
"actions": [
"*"
],
"effect": "allow"
}
]Response
Audit log entry counts response