Architecture and Request Path
A call to one of your APIs crosses the same four stages whatever the API: an entry that depends on the exposure of the gateway, the proxy of the gateway, a route, and the service that answers.

Public, private or internal entry
A gateway has one exposure, chosen when it is created. It decides from where the gateway can be reached at all, before any route or policy is looked at.
| Exposure | Who can reach it | How |
|---|---|---|
| Public | Anyone on the internet | A public load balancer |
| Private | Your private network only | A private load balancer |
| Internal | Only what runs inside the platform | An address inside the platform, no load balancer facing outside |
To publish the same service to partners and to other teams, use two gateways with two exposures: nothing has to change in the service. API Gateway Reference describes each mode.
Proxy access point, route and policies
Behind the entry, the proxy of the gateway does three things, in this order.
| Stage | What happens | Set on |
|---|---|---|
| Access point | The connection is accepted on a port and a protocol. On HTTPS, TLS ends here, with the certificate of the access point | The gateway |
| API instance | The request is matched to a route by its host name and its path. No match, no answer | The API instance |
| Policies | The caller is checked (API key, token or sign-in) and traffic limits apply. A refused request never reaches the service | Policies |
The proxy checks a caller only if a security policy says so. On a public gateway, a new API instance answers anyone until its policy is added.
Integration or upstream backend
An accepted request is forwarded to the service chosen in the API instance.
| Backend | Where it is | Link to it |
|---|---|---|
| Integration | In the same environment | Stays inside the environment |
| Upstream | Outside the environment | TLS, and mutual TLS when the gateway presents a client certificate. See Backend TLS |
Where each protection applies
| Protection | Stage | Reference |
|---|---|---|
| Reachability | Entry, by the exposure of the gateway | API Gateway Reference |
| TLS towards the caller | Access point | TLS Certificate |
| Authentication of the caller | Policies | Security Policy Reference |
| TLS and mutual TLS towards the backend | Backend | Route Filter Reference |