The use of an API gateway transforms incoming requests before redirecting them to the corresponding services. Not only can the requests be modified, but the responses are also provided.
A gateway can also work as a facade, which should orchestrate some services before sending the responses to the clients. When we are working with this particular use case, we can implement the circuit breaker pattern in order to be more defensive.