Search audit log entries
Search your audit log entries. The query parameters let you restrict the results that return by date ranges, or a full-text search query. The request body lets you restrict the results that return by resource specifiers.
LaunchDarkly uses a resource specifier syntax to name resources or collections of resources. To learn more, read About the resource specifier syntax.
Authorization
ApiKey read, writeIn: header
Scope: read, write
Query Parameters
A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned occurred before the timestamp.
int64A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned occurred after the timestamp.
int64Text to search for. You can search for the full or partial name of the resource.
stringA limit on the number of audit log entries that return. Set between 1 and 20. The default is 10.
int64A member ID that lets you filter audit log listings by the member who made the change. Repeat the parameter to filter by multiple members.
stringAn access token ID that lets you filter audit log listings by the token that made the change. Repeat the parameter to filter by multiple tokens.
stringRequest Body
application/json
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v2/auditlog" \ -H "Content-Type: application/json" \ -d '[ { "effect": "allow" } ]'{ "items": [ { "_links": { "property1": { "href": "string", "type": "string" }, "property2": { "href": "string", "type": "string" } }, "_id": "1234a56b7c89d012345e678f", "_accountId": "1234a56b7c89d012345e678f", "date": "1654104600000", "accesses": [ { "action": "string", "resource": "string" } ], "kind": "flag", "name": "Example feature flag", "description": "Example, turning on the flag for testing", "shortDescription": "Example, turning on the flag", "comment": "This is an automated test", "relatedFlag": { "key": "string" }, "relatedExperiment": { "key": "string" }, "relatedAIConfig": { "key": "string" }, "subject": { "_links": { "property1": { "href": "string", "type": "string" }, "property2": { "href": "string", "type": "string" } }, "name": "string", "avatarUrl": "string" }, "member": { "_links": { "property1": { "href": "string", "type": "string" }, "property2": { "href": "string", "type": "string" } }, "_id": "507f1f77bcf86cd799439011", "email": "ariel@acme.com", "firstName": "Ariel", "lastName": "Flores" }, "token": { "_links": { "property1": { "href": "string", "type": "string" }, "property2": { "href": "string", "type": "string" } }, "_id": "string", "name": "DevOps token", "ending": "2345", "serviceToken": false }, "app": { "_links": { "property1": { "href": "string", "type": "string" }, "property2": { "href": "string", "type": "string" } }, "_id": "string", "isScim": true, "name": "string", "iconUrl": "string", "maintainerName": "string", "isAgent": true }, "titleVerb": "turned on the flag", "title": "string", "target": "[Ariel Flores](mailto:ariel@acme.com) turned on the flag [example-flag](https://app.launchdarkly.com/example-project/production/features/example-flag) in Production", "parent": { "_links": { "property1": { "href": "string", "type": "string" }, "property2": { "href": "string", "type": "string" } }, "name": "string", "resource": "string" } } ], "_links": { "property1": { "href": "string", "type": "string" }, "property2": { "href": "string", "type": "string" } }}List audit log entries GET
Get a list of all audit log entries. The query parameters let you restrict the results that return by date ranges, resource specifiers, or a full-text search query. LaunchDarkly uses a resource specifier syntax to name resources or collections of resources. To learn more, read [About the resource specifier syntax](https://launchdarkly.com/docs/home/account/role-resources#about-the-resource-specifier-syntax).
Get audit log entry counts POST
Returns aggregate counts of audit log entries per time bucket. Used for dashboard overlays that show flag targeting changes.