Context Interfaces

List all Context Interfaces

Changed on

Returns an array of Context Interfaces.

get/v1/context-interfaces

Request

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

Query parameters

page, CursorPageParameters
size, integer

The number of items included per page.

after, string

Cursor param specifying the page (i.e. the next page) of data returned.

before, string

Cursor param specifying the page (i.e. the previous page) of data returned.

Determines which page of the collection to retrieve.

{
  "size": 10,
  "after": "ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ",
  "before": "ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ"
}
filter, object
id, UuidFieldFilter

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

name, StringFieldFilter

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

display_name, StringFieldFilter

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

labels, LabelsFieldFilter

Filters on the resource's labels field. Filters must use dot-notation to identify the label key that will be used to filter the results. For example:

  • filter[labels.owner]
  • filter[labels.owner][neq]=kong
  • filter[labels.env]=dev
  • filter[labels.env][ocontains]=dev,test

Filter for Context Interfaces.

sort, string

The asc suffix is optional as the default sort order is ascending. The desc suffix is used to specify a descending order. Multiple sort attributes may be provided via a comma separated list. JSONPath notation may be used to specify a sub-attribute (eg: 'foo.bar desc').

Example:created_at desc

Sorts a collection of Context Interfaces. Supported sort attributes are:

  • name
  • created_at
  • updated_at

Default sort is name in ascending order.

Response

A response to listing Context Interfaces.

ListMCPServersResponse required
data, MCPServer[] required
meta, CursorMeta required

Pagination metadata.

Example response

{
  "data": [
    {
      "labels": {
        "env": "test"
      },
      "created_at": "2022-11-04T20:10:06.927Z",
      "updated_at": "2022-11-04T20:10:06.927Z"
    }
  ],
  "meta": {
    "page": {
      "size": 10
    }
  }
}

Changes

    • breaking

      added to the invalid_parameters/items response property oneOf list for the response status

    • warning

      added the new key_invalid enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status

    • warning

      added the new unique enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status