updated api to fetch all observations if start and end are not specified