Grafana Cloud Agent retention policy

I’m looking at use the Grafana Cloud Agent to forward metrics to my Grafana prometheus instance. Is there any way to limit how long the metrics are retained?
I’d like to retain data for my CI environment for only a couple of days.