Super Admin Skill Templates

Update a skill template

Partially update an existing skill template. Only accessible to super admins.

patch/super-admin/skill-templates/{id}

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

idstring uuid required

Skill template ID

Request body

namestring

The name of the skill template. No leading/trailing whitespace, no consecutive spaces, no control characters. Max 100 characters.

shortDescriptionstring

A short description of the skill template

instructionsstring

The instructions for the skill template

distributionMode'always_on' | 'pre_created_copy'

The distribution mode of the skill template

isActiveboolean

Whether the skill template is active

defaultActiveboolean

Whether copied skills should be active by default (only for pre_created_copy mode)

defaultPinnedboolean

Whether copied skills should be pinned by default (only for pre_created_copy mode)

Example request

{
  "name": "Legal Guidelines",
  "shortDescription": "Legal compliance instructions for all responses",
  "instructions": "Always follow legal guidelines when responding to user queries.",
  "distributionMode": "always_on",
  "isActive": true
}

Response

Successfully updated skill template

idstring uuid required

The unique identifier of the skill template

namestring required

The name of the skill template

shortDescriptionstring required

A short description of the skill template

instructionsstring required

The instructions for the skill template

distributionMode'always_on' | 'pre_created_copy' required

The distribution mode of the skill template

isActiveboolean required

Whether the skill template is active

defaultActiveboolean nullable required

Whether copied skills are active by default (null for always_on templates)

defaultPinnedboolean nullable required

Whether copied skills are pinned by default (null for always_on templates)

createdAtstring date-time required

The date the skill template was created

updatedAtstring date-time required

The date the skill template was last updated

Example response

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "Legal Guidelines",
  "shortDescription": "Legal compliance instructions for all responses",
  "instructions": "Always follow legal guidelines when responding to user queries.",
  "distributionMode": "always_on"
}

Changes

No recorded changes to this operation across all 51 revisions of this API.