API Design for AI: Scenarios
Questions covered
- Design the API for an "AI summarize document" feature used by mobile apps.
- A client retries a "generate invoice email" request after a timeout and the customer gets two emails. How should the API have been designed?
- How would you expose tool calling in your own API to third-party developers?
- You need to deprecate an old model behind your API. How do you do it without breaking customers?
- Customers complain they can't tell why requests were refused. How do you improve the API?
- How would you design pagination and filtering for listing conversations with 10,000+ items?
This lesson is part of AI & ML Interview Prep. Unlock the full course to read it, take the quiz and track your progress.