
You are building a service that takes structured business data and returns generated insights through an API. Clients want summaries, anomaly callouts, and follow-up explanations that stay grounded in the source data.
How would you structure an API for a service that generates insights from data?