1. MuleSoft Official Blog, "API gateway vs. service mesh: What's the difference?": This document explicitly distinguishes the roles. It states, "A service mesh is a dedicated infrastructure layer for facilitating service-to-service communications between microservices... A service mesh manages east-west traffic... An API gateway is a tool for managing north-south traffic, which is traffic that goes in and out of the cluster." (MuleSoft, a Salesforce Company. Published May 20, 2022).
2. MuleSoft Documentation, "Anypoint Service Mesh Overview": The documentation describes Anypoint Service Mesh as a tool to "manage and secure your microservices from a single pane of glass," emphasizing its role in governing the interactions between microservices, which constitutes the internal communication fabric of the application. (MuleSoft Documentation, Anypoint Platform, Service Mesh 1.3).
3. MuleSoft Documentation, "API Gateway": The official documentation defines the API Gateway's role as the component that "sits in front of your APIs and enforces your policies," confirming its position at the edge of the application to handle incoming client requests. (MuleSoft Documentation, Anypoint Platform, API Gateway).