Audit log
Get audit log entry
Fetch a detailed audit log entry representation. The detailed representation includes several fields that are not present in the summary representation, including:
previousVersion: a JSON representation of the previous version of the entity.currentVersion: a JSON representation of the current version of the entity.delta: the JSON patch body that was used in the request to update the entity. This is only included if the update was made through a JSON patch. It is null when the update was made using semantic patch. Because most flag updates are made using semantic patch, this field is rarely returned.
Authorization
ApiKey read, writeAuthorization<token>
In: header
Scope: read, write
Path Parameters
id*string
The ID of the audit log entry
Format
stringResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v2/auditlog/string"{ "_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" }, "delta": null, "triggerBody": null, "merge": null, "previousVersion": null, "currentVersion": null, "subentries": [ { "_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" } } ]}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.
List extinctions GET
Get a list of all extinctions. LaunchDarkly creates an extinction event after you remove all code references to a flag. To learn more, read [About extinction events](https://launchdarkly.com/docs/home/observability/code-references#about-extinction-events).