I was trying out the API in development and did not see an easy way to have a sample updated to the most recent month. There are some work-rounds I can think of, but they would be clunky and not as useful as a command which pulled the sample from a beginning period to the most recent data. Maybe I just missed this, or it is in the works. Just thought I would mention it.
Thank you for mentioning your interest in this type of functionality. I’ve communicated your suggestion to the API team. Unfortunately, this is not something the API is currently capable of and is likely outside the scope for the core project.