---
title: "Returns a list of MeshTrafficPermission in the mesh."
method: GET
path: "/v3/mesh/control-planes/{cpId}/meshes/{mesh}/meshtrafficpermissions"
tags: ["MeshTrafficPermission"]
---

# Returns a list of MeshTrafficPermission in the mesh.

`GET /v3/mesh/control-planes/{cpId}/meshes/{mesh}/meshtrafficpermissions`

## Request

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

## Path parameters

- `cpId` string, uuid, required
- `mesh` string, required

## Query parameters

- `offset` integer
- `size` integer
- `filter` object
  - `key` string
  - `value` string

## Response `200`

List

- object
  - `items` MeshTrafficPermissionItem[], required
    - `type` 'MeshTrafficPermission', required: the type of the resource
    - `mesh` string: Mesh is the name of the Kuma mesh this resource belongs to. It may be omitted for cluster-scoped resources.
    - `kri` string: A unique identifier for this resource instance used by internal tooling and integrations. Typically derived from resource attributes and may be used for cross-references or indexing
    - `name` string, required: Name of the Kuma resource
    - `labels` object: The labels to help identity resources
    - `spec` object, required: Spec is the specification of the Kuma MeshTrafficPermission resource.
      - `rules` object[]: Rules defines inbound permissions configuration
        - `default` object, required
          - `allow` object[]: Allow definees a list of matches for which access will be allowed
            - `sni` object: SNI defines a matcher configuration for matching by SNI value carried on the TLS connection
              - …
            - `spiffeID` object: SpiffeID defines a matcher configuration for SpiffeID matching
              - …
          - `allowWithShadowDeny` object[]: AllowWithShadowDeny defines a list of matches for which access will be allowed but emits logs as if requests are denied
            - `sni` object: SNI defines a matcher configuration for matching by SNI value carried on the TLS connection
              - …
            - `spiffeID` object: SpiffeID defines a matcher configuration for SpiffeID matching
              - …
          - `deny` object[]: Deny defines a list of matches for which access will be denied
            - `sni` object: SNI defines a matcher configuration for matching by SNI value carried on the TLS connection
              - …
            - `spiffeID` object: SpiffeID defines a matcher configuration for SpiffeID matching
              - …
      - `targetRef` object: TargetRef is a reference to the resource the policy takes an effect on. The resource could be either a real store object or virtual resource defined inplace.
        - `kind` 'Mesh' | 'Dataplane', required: Kind of the referenced resource
        - `labels` object: Labels are used to select referenced real resources and to carry legacy service identity when a common TargetRef must still target old service-tag based paths.
        - `sectionName` string: SectionName is used to target specific section of resource. For example, you can target port from MeshService.ports[] by its name. Only traffic to this port will be affected.
    - `creationTime` string, date-time: Time at which the resource was created
    - `modificationTime` string, date-time: Time at which the resource was updated
  - `total` number, required: The total number of entities
  - `next` string, nullable, required: URL to the next page, or null when this is the last page

## Changes

- **2026-12-03** `9c8d300657bd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/konnect-api-beta/changes/v3/mesh/control-planes/:cpId/meshes/:mesh/meshtrafficpermissions/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/9c8d300657bd?raw)
