It will depend on the builder.
Our Taylor Wimpey home had a 2 week window for cosmetic snags (marks on walls, scratched windows, stains etc), 2 years for other snags.
After the 2 years, only structural faults can be claimed through the NHBC.
Certain things they will not touch regardless - appliances have their own warranty and oddly, a shower screen falls under an appliance.
Check your welcome pack documents or customer care portal on the builders website and you should be able to find what you need there.