Context Sources

Get a Context Source

Changed on

Retrieve an Context Source by its ID.

get/v1/context-sources/{sourceId}

Request

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

Path parameters

sourceId, string uuid required

The ID of the Context Source.

Response

A response to retrieving a Context Source.

union required
ApiResource required

The MCP resource object.

OR
McpServerResource required

The MCP resource object.

Example response

{
  "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": {}
    }
  }
}

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