Chat API Contract And Idempotency