SpinTheMic
Pro

Interview practice question

API for a long-running operation

System Design · APIs and Communication · Intermediate

Generating a report takes up to 5 minutes. How would you design the API?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • POST returns 202 Accepted with job ID.
  • GET /jobs/{id} for status.
  • Result URL when done.
  • Webhook/notification option.
  • Idempotency and expiry.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics