Your question is Design a Robust REST API. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
How would you design a robust REST API?
Explain how you would define resource and prediction contracts, validate requests, handle authentication and authorization, support idempotency and retries, and version the API safely. Cover the serving path, persistence and asynchronous work where relevant, observability, testing, rate limiting, and failure recovery. State the clarifying questions and assumptions you would make before choosing specific infrastructure.