---
title: "Returns MeshGateway entity"
method: GET
path: "/v1/mesh/control-planes/{cpId}/api/meshes/{mesh}/meshgateways/{name}"
tags: ["MeshGateway"]
---

# Returns MeshGateway entity

`GET /v1/mesh/control-planes/{cpId}/api/meshes/{mesh}/meshgateways/{name}`

## Request

- Base URL: `https://global.api.konghq.com`
- URL: `https://global.api.konghq.com/v1/mesh/control-planes/{cpId}/api/meshes/{mesh}/meshgateways/{name}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

## Path parameters

- `mesh` string, required
- `name` string, required

## Response `200`

Successful response

- MeshGatewayItem
  - `conf` object: The desired configuration of the MeshGateway.
    - `listeners` object[]: Listeners define logical endpoints that are bound on this MeshGateway's address(es).
      - `crossMesh` boolean: CrossMesh enables traffic to flow to this listener only from other meshes.
      - `hostname` string: Hostname specifies the virtual hostname to match for protocol types that define this concept. When unspecified, "", or `*`, all hostnames are matched. This field can be omitted for protocols that don't require hostname based matching.
      - `port` integer: Port is the network port. Multiple listeners may use the same port, subject to the Listener compatibility rules.
      - `protocol` union: Protocol specifies the network protocol this listener expects to receive.
        - string
        - integer
      - `resources` object: Resources is used to specify listener-specific resource settings.
        - `connectionLimit` integer
      - `tags` object: Tags specifies a unique combination of tags that routes can use to match themselves to this listener. When matching routes to listeners, the control plane constructs a set of matching tags for each listener by forming the union of the gateway tags and the listener tags. A route will be attached to the listener if all of the route's tags are preset in the matching tags
      - `tls` object: TLS is the TLS configuration for the Listener. This field is required if the Protocol field is "HTTPS" or "TLS" and ignored otherwise.
        - `certificates` union[]: Certificates is an array of datasources that contain TLS certificates and private keys. Each datasource must contain a sequence of PEM-encoded objects. The server certificate and private key are required, but additional certificates are allowed and will be added to the certificate chain. The server certificate must be the first certificate in the datasource. When multiple certificate datasources are configured, they must have different key types. In practice, this means that one datasource should contain an RSA key and certificate, and the other an ECDSA key and certificate.
          - union
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
        - `mode` union: Mode defines the TLS behavior for the TLS session initiated by the client.
          - string
          - integer
        - `options` object: Options should eventually configure how TLS is configured. This is where cipher suite and version configuration can be specified, client certificates enforced, and so on.
  - `creationTime` string, date-time: Time at which the resource was created
  - `kri` string: Kuma Resource Identifier (KRI) of the given resource
  - `labels` object
  - `mesh` string, required
  - `modificationTime` string, date-time: Time at which the resource was updated
  - `name` string, required
  - `selectors` object[]: Selectors is a list of selectors that are used to match builtin gateway dataplanes that will receive this MeshGateway configuration.
    - `match` object: Tags to match, can be used for both source and destinations
  - `tags` object: Tags is the set of tags common to all of the gateway's listeners. This field must not include a `kuma.io/service` tag (the service is always defined on the dataplanes).
  - `type` string, required

## Other responses

- `404`: Not Found

## Changes

- **2026-08-18** `658ffb748f95`: 3 info
  - added the optional property `creationTime` to the response with the `200` status
  - added the optional property `kri` to the response with the `200` status
  - added the optional property `modificationTime` to the response with the `200` status
- **2025-10-09** `1054eea2f638`: 3 breaking
  - added `#/components/schemas/DataSource_File, #/components/schemas/DataSource_Inline, #/components/schemas/DataSource_InlineString, #/components/schemas/DataSource_Secret` to the `conf/listeners/items/tls/certificates/items/` response property `oneOf` list for the response status `200`
  - the `conf/listeners/items/tls/certificates/items/` response's property type changed from `object` to no type for status `200`
  - removed the required property `conf/listeners/items/tls/certificates/items/Type` from the response with the `200` status
- **2025-08-12** `b2800570b3e2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/konnect-api-beta/changes/v1/mesh/control-planes/:cpId/api/meshes/:mesh/meshgateways/:name/get.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api-beta.md) - [All operations](https://skmtc.dev/kong/apis/konnect-api-beta/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/konnect-api-beta/revisions/cef0f947e9c9?raw)
