Control Planes

List Control Planes Datasource

Changed on

Returns an array of control plane objects containing information about the Konnect Control Planes.

get/v2/control-planes#single-resource

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Query parameters

filter, ControlPlaneFilterParameters
id, object

Filter using one of the following operators: eq, oeq

name, object

Filter using one of the following operators: eq, neq, contains

cluster_type, object

Filter using one of the following operators: eq, oeq, neq

cloud_gateway, boolean

Filter by a boolean value (true/false).

Filters a collection of control-planes.

labels, string
Example:key:value,existCheck

Filter control planes in the response by associated labels.

sort, 'created_at' | 'created_at asc' | 'created_at desc'
Example:created_at desc

Sorts a collection of control-planes. Supported sort attributes are:

  • created_at

Response

A paginated list response for a collection of control planes.

object required
meta, PaginatedMeta required

returns the pagination information

data, ControlPlane[] required

Example response

{
  "meta": {
    "page": {
      "number": 1,
      "size": 10,
      "total": 100
    }
  },
  "data": [
    {
      "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
      "name": "Test Control Plane",
      "description": "A test control plane for exploration.",
      "labels": {
        "env": "test"
      },
      "config": {
        "control_plane_endpoint": "https://acfe5f253f.cp.konghq.com",
        "telemetry_endpoint": "https://acfe5f253f.tp0.konghq.com",
        "cluster_type": "CLUSTER_TYPE_CONTROL_PLANE",
        "auth_type": "pinned_client_certs",
        "proxy_urls": [
          {
            "host": "example.com",
            "port": 443,
            "protocol": "https"
          }
        ]
      },
      "created_at": "2022-11-04T20:10:06.927Z",
      "updated_at": "2022-11-04T20:10:06.927Z",
      "auth_type": "pinned_client_certs",
      "proxy_urls": [
        {
          "host": "example.com",
          "port": 443,
          "protocol": "https"
        }
      ]
    }
  ]
}

Changes

    • breaking

      the query request parameter sort was restricted to a list of enum values

    • info

      added the new enum value created_at to the query request parameter sort

    • info

      added the new enum value created_at asc to the query request parameter sort

    7 more changes in this revision