I should be able to use the API to retrieve agent states from the /v0/agents/state endpoint that only include states which start within the specified start and end times, excluding any that began before the window but overlap into it.