Sample windows
There is no single project-wide capture window. Every fingerprint keeps its own rolling window of masked samples, and within a fingerprint every response status keeps its own window too. The key is (fingerprint, response status): a shape’s 200 and its 429 are separate windows that never evict each other.
This is deliberate. Under one shared budget, an endpoint whose 200 fires ten thousand times a day would push out the 429 it returned once, which is exactly the response a test most wants and the one you cannot reproduce on demand. Scoping the window per status keeps rare responses alongside common ones, and scoping it per fingerprint keeps a chatty endpoint from crowding out a quiet one.
The window is a count, not an age. When a new sample arrives for a (fingerprint, status) pair that is already full, the oldest sample in that pair is deleted, together with its request and response bodies. Nothing expires on a clock: an endpoint you exercise once a quarter keeps its samples until newer ones arrive, so a replay bundle built from it stays reproducible. The one exception is a masking rule change: samples captured under the old rule are deleted within about ten minutes. A high-traffic endpoint never stores more than its cap. Pruning runs inside the capture transaction on the ingest write path, so stored samples never exceed the cap rather than converging on it once a day.
The window size is set by your plan: 3 samples per response status on Free, 5 on Solo, 10 on Team, 25 on Business. Only approved fingerprints store samples at all. A pending fingerprint records its occurrence count and the response statuses it has returned, but no bodies, so its windows start filling from the moment you approve it.
Fingerprints, request types and generated stubs are not part of any window. They are your durable output and are kept until you delete them. To pull a window into your tests rather than only the latest sample, see getting the window into a bundle and looping every recorded response.