Explain it in 60 seconds
Long-running work in an API
Backend Engineering · API Design · Beginner
How should an API handle requests that trigger long-running work?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Don't block the request.
- Return 202 Accepted with job ID.
- Background worker processes job.
- Status endpoint or webhook.
- Idempotency to avoid duplicates.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.