provider Audit log GET /api/v2/auditlog
@utdk/launchdarkly /api/v2/auditlog
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](https://launchdarkly.com/docs/home/account/role-resources#about-the-resource-specifier-syntax).
before query
A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries this returns occurred before the timestamp.
integer
after query
A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries this returns occurred after the timestamp.
integer
q query
Text to search for. You can search for the full or partial name of the resource.
string
limit query
A limit on the number of audit log entries that return. Set between 1 and 20. The default is 10.
integer
spec query
A resource specifier that lets you filter audit log listings by resource
string

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.

getauditlogentries
GET/api/v2/auditlog
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).

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 after the timestamp.

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

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

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

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.getauditlogentries()