Skills

Pre-release Endpoint This endpoint is currently in beta and is subject to change.

Retrieve a single skill by its ID.

get/v1/context-interfaces/{interfaceId}/skills/{skillId}

Request

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

Path parameters

interfaceId, string uuid required

The ID of the Context Interface.

skillId, string uuid required

The ID of the skill.

Response

A response to retrieving a skill.

Skill required
id, string uuid required

The unique identifier for the skill.

context_interface_id, string uuid required

The ID of the Context Interface this skill belongs to.

name, string required

The machine name of the skill, taken from the name declared in the frontmatter. Unique within the MCP server and cannot be set or changed by the client.

display_name, string required

The human-readable display name of the skill.

description, string required

A description of the skill.

frontmatter, SkillFrontmatter required
labels, Labels required

Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

source, SkillSource required
status, 'pending' | 'valid' | 'invalid' required

The current validation status of the skill. pending means the content has not yet been read and validated.

sync_status, SkillSyncStatus nullable required

The outcome of the most recent attempt to fetch the skill's content from its source. null for sources whose content is supplied inline.

validation_message, string nullable required

The reason the skill failed validation. null unless status is invalid.

created_at, string date-time required

An ISO-8601 timestamp representation of entity creation date.

updated_at, string date-time required

An ISO-8601 timestamp representation of entity update date.

Example response

{
  "labels": {
    "env": "test"
  },
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}

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