provider Audit log POST /api/v2/auditlog/counts
@utdk/launchdarkly /api/v2/auditlog/counts
Get audit log entry counts
Returns aggregate counts of audit log entries per time bucket. Used for dashboard overlays that show flag targeting changes.
before query
A timestamp filter, expressed as a Unix epoch time in milliseconds. Defaults to now.
integer
after query required
A timestamp filter, expressed as a Unix epoch time in milliseconds. Required.
integer
buckets query
Number of time buckets to divide the range into. Default 50, max 500.
integer

Try it

Authentication
Configure credentials for LaunchDarkly REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

postauditlogentrycounts
POST/api/v2/auditlog/counts
Returns aggregate counts of audit log entries per time bucket. Used for dashboard overlays that show flag targeting changes.

A timestamp filter, expressed as a Unix epoch time in milliseconds. Defaults to now.

required

A timestamp filter, expressed as a Unix epoch time in milliseconds. Required.

Number of time buckets to divide the range into. Default 50, max 500.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import launchdarkly from '@utdk/launchdarkly';

await launchdarkly.postauditlogentrycounts()