Context Sources

List Context Sources

Changed on

Returns a list of Context Source objects.

get/v1/context-sources

Request

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

Query parameters

page[size], integer
Example:10

The maximum number of items to include per page. The last page of a collection may include fewer items.

page[after], string
Example:ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ

Request the next page of data, starting with the item after this parameter.

filter, object
name, StringFieldFilter

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

Filters for Context Sources.

Response

A response to listing Context Sources.

ListMCPResourcesResponse required
data, MCPResourceInfo[] 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",
      "source": {
        "type": "api_catalog",
        "config": {
          "api_id": "158a0fc7-479a-4928-8a64-7656c1824f7f",
          "api_version_id": "bc0b9df1-67ba-475f-9670-37de3cc2e4f6",
          "base_url": null,
          "headers": {}
        }
      }
    }
  ],
  "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