v5

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-02-283466592.5 MB
Audit log

List audit log entries

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.

get/api/v2/auditlog

Query parameters

beforeinteger

A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries this returns occurred before the timestamp.

A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries this returns occurred before the timestamp.

afterinteger

A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries this returns occurred after the timestamp.

A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries this returns occurred after the timestamp.

qstring string

Text to search for. You can search for the full or partial name of the resource.

Text to search for. You can search for the full or partial name of the resource.

limitinteger

A limit on the number of audit log entries that return. Set between 1 and 20. The default is 10.

A limit on the number of audit log entries that return. Set between 1 and 20. The default is 10.

specstring string

A resource specifier that lets you filter audit log listings by resource

A resource specifier that lets you filter audit log listings by resource

Response

Audit log entries response

_linksobject required

The location and content type of related resources

Example response

{
  "items": [
    {
      "_id": "1234a56b7c89d012345e678f",
      "_accountId": "1234a56b7c89d012345e678f",
      "name": "Example feature flag",
      "description": "Example, turning on the flag for testing",
      "shortDescription": "Example, turning on the flag",
      "comment": "This is an automated test",
      "member": {
        "_id": "507f1f77bcf86cd799439011",
        "email": "ariel@acme.com",
        "firstName": "Ariel",
        "lastName": "Flores"
      },
      "token": {
        "name": "DevOps token",
        "ending": "2345"
      },
      "titleVerb": "turned on the flag",
      "target": {
        "name": "Example flag name",
        "resources": [
          "proj/example-project:env/production:flag/example-flag"
        ]
      }
    }
  ]
}