Your question is Construct an API for a Practical Problem. 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).
Construct an API for a practical problem.
Clarify the problem, users, inputs, outputs, success criteria, and operational constraints before proposing a design. Describe the API contract, request flow, model-serving architecture, evaluation approach, monitoring, and failure handling; state assumptions explicitly where requirements are missing.