Predictive analytics for API observability