provider Code references GET
/api/v2/code-refs/extinctions @utdk/launchdarkly
/api/v2/code-refs/extinctions List extinctions
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).
- repoName query
- Filter results to a specific repository
- string
- branchName query
- Filter results to a specific branch. By default, only the default branch will be queried for extinctions.
- string
- projKey query
- Filter results to a specific project
- string
- flagKey query
- Filter results to a specific flag key
- string
- from query
- Filter results to a specific timeframe based on commit time, expressed as a Unix epoch time in milliseconds. Must be used with `to`.
- integer
- to query
- Filter results to a specific timeframe based on commit time, expressed as a Unix epoch time in milliseconds. Must be used with `from`.
- 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.getextinctions()