For the complete documentation index, see llms.txt. For the full documentation snapshot, see llms-full.txt.
Returns aggregate counts of audit log entries per time bucket. Used for dashboard overlays that show flag targeting changes.
curl --request POST \
--url https://app.launchdarkly.com/api/v2/auditlog/counts \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
[
{
"effect": "allow",
"resources": [
"proj/*:env/*:flag/*;testing-tag"
],
"notResources": [
"<string>"
],
"actions": [
"*"
],
"notActions": [
"<string>"
]
}
]
'{
"buckets": [
{
"timestamp": 123,
"count": 123
}
],
"totalCount": 123,
"bucketIntervalMs": 123
}Documentation Index
Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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. Required.
Number of time buckets to divide the range into. Default 50, max 500.
Whether this statement should allow or deny actions on the resources.
allow, deny "allow"
Resource specifier strings
["proj/*:env/*:flag/*;testing-tag"]Targeted resources are the resources NOT in this list. The resources field must be empty to use this field.
Actions to perform on a resource
["*"]Targeted actions are the actions NOT in this list. The actions field must be empty to use this field.
curl --request POST \
--url https://app.launchdarkly.com/api/v2/auditlog/counts \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
[
{
"effect": "allow",
"resources": [
"proj/*:env/*:flag/*;testing-tag"
],
"notResources": [
"<string>"
],
"actions": [
"*"
],
"notActions": [
"<string>"
]
}
]
'{
"buckets": [
{
"timestamp": 123,
"count": 123
}
],
"totalCount": 123,
"bucketIntervalMs": 123
}