Hello, is there any way to detect stale feature fl...
# ask-questions
b
Hello, is there any way to detect stale feature flags programatically? e.g. via API
n
Hi @brief-umbrella-80783, yes, you can use the API to pull feature IDs then pass that list to check for stale status. The API docs are here: https://docs.growthbook.io/api#tag/features/operation/getFeatureStale
The GrowthBook MCP server also wraps this feature, so if you've got that running you can ask for your features and check staleness
b
thank you
we have version Build: 4.3.0+03e4366 (2026-02-04) installed, but calling this endpoint return { "message": "Unknown API endpoint" }
curl --request GET \ --url '<https://***/api/v1/stale-features?ids=my_feature>' \ --header 'Authorization: Bearer ***'
is this available only for enterprise?
n
Just looking at the git log, the endpoint was added in early March. Once you update your build, it should be there. I think the PR was this one.
b
we have the latest available build
will wait for the next one I guess
@nutritious-notebook-68264 hello, I see that PR regarding stale features was closed, so will it be part of next release or not? https://github.com/growthbook/growthbook/pull/4955
n
It will be part of the next released (targeted for end of April), but is coming by way of the other PR I had linked. 4955 was superseded by 5368
🙌 1