provider Audit log POST
/api/v2/auditlog @utdk/launchdarkly
/api/v2/auditlog 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](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 returned occurred before the timestamp.
- integer
- after query
- A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned 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
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.
Code snippet
Updates live as you fill in the form above.
TypeScript
import launchdarkly from '@utdk/launchdarkly';
await launchdarkly.postauditlogentries()