This question evaluates a candidate's competency in designing asynchronous HTTP APIs with idempotency guarantees, focusing on job lifecycle, durable data models, messaging/queue behavior, and handling partial failures and retries.
Design an HTTP API that triggers a long-running operation (seconds to minutes) against downstream systems (e.g., charge a payment, generate a report, provision resources). The API must be asynchronous and must guarantee idempotency so that client retries do not duplicate work.
Describe: