v5

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-02-283466592.5 MB
Code references

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.

get/api/v2/code-refs/extinctions

Query parameters

repoNamestring string

Filter results to a specific repository

Filter results to a specific repository

branchNamestring string

Filter results to a specific branch. By default, only the default branch will be queried for extinctions.

Filter results to a specific branch. By default, only the default branch will be queried for extinctions.

projKeystring string

Filter results to a specific project

Filter results to a specific project

flagKeystring string

Filter results to a specific flag key

Filter results to a specific flag key

frominteger

Filter results to a specific timeframe based on commit time, expressed as a Unix epoch time in milliseconds. Must be used with to.

Filter results to a specific timeframe based on commit time, expressed as a Unix epoch time in milliseconds. Must be used with to.

tointeger

Filter results to a specific timeframe based on commit time, expressed as a Unix epoch time in milliseconds. Must be used with from.

Filter results to a specific timeframe based on commit time, expressed as a Unix epoch time in milliseconds. Must be used with from.

Response

Extinction collection response

_linksobject required

The location and content type of related resources

itemsobject required

An array of extinction events