How long is raw data available for retrieval via the API

Hello everyone,

I am wondering how long the raw data is available and can be trerieved through an API. There must be a time limit for stored datat beeing available.

I tried searching for this in the forum but could’t find any thread that matches my question.

Thanks for the help and have a good day.

As i understand it, default configuration is set to never delete any data, neither raw nor processed. you can set a time range in settings → privacy → Anonymize data. scroll down to “Regularly delete old raw data”. but this will delete old data, not just hide it from being available “through an API”. i dont think that is possible.

(make sure you understand the effects of deleting old data and consult How do I delete old visitors statistics for a given website and/or date? FAQ - Analytics Platform - Matomo)