Skip to main content
PATCH
Update a skill

Authorizations

X-API-Key
string
header
required

[Production] API key for production authentication

Path Parameters

id
string
required

The unique identifier for the skill.

Body

application/json

The fields to update.

bundledTools
string[]

The referenceId values of the tools that are bundled with the skill. The list replaces the existing list. The API drops entries that aren't valid UUIDs and removes duplicates. If you omit the field, the value doesn't change.

compatibility
string

The compatibility information for the skill. If you omit the field, the value doesn't change.

description
string

A description of the skill. If you omit the field, the value doesn't change.

instructions
string

The instructions of the skill. If you omit the field, the value doesn't change.

license
string

The license of the skill. If you omit the field, the value doesn't change.

metadata
object

Custom key-value metadata for the skill. The value replaces the existing metadata. If you omit the field, the value doesn't change.

name
string

The name of the skill. The name must be unique in the project, from 1 to 64 characters long, and contain only lowercase letters, numbers, and hyphens. It can't start or end with a hyphen. You can't send the name for a skill that was created from a built-in skill. If you omit the field, the value doesn't change.

resources
object[]

The files that are bundled with the skill. The list replaces the existing list. If you omit the field, the value doesn't change.

Response

Returns the updated skill.

builtinSlug
string

The unique identifier for the built-in skill that this skill was created from. The field is present only if source is builtin.

bundledTools
string[]

The referenceId values of the tools that are bundled with the skill.

compatibility
string

The compatibility information for the skill.

createdAt
integer

The time when the skill was created, as a Unix timestamp in seconds.

createdBy
string

The unique identifier for the user who created the skill.

Example:

"507f1f77bcf86cd799439011"

description
string

A description of the skill.

id
string

The unique identifier for the skill.

Example:

"507f1f77bcf86cd799439011"

instructions
string

The instructions of the skill.

lastChangedAt
integer

The time when the skill was last changed, as a Unix timestamp in seconds.

lastChangedBy
string

The unique identifier for the user who last changed the skill.

Example:

"507f1f77bcf86cd799439011"

license
string

The license of the skill.

metadata
object

Custom key-value metadata for the skill.

name
string

The name of the skill.

organisationId
string

The unique identifier for the organization that the skill belongs to.

Example:

"507f1f77bcf86cd799439011"

projectId
string

The unique identifier for the project that the skill belongs to.

Example:

"507f1f77bcf86cd799439011"

referenceId
string

The UUID that identifies the skill in references, for example in the skillReferenceIds of an agent. The API generates it when the skill is created.

resources
object[]

The files that are bundled with the skill.

source
enum<string>

The origin of the skill. The possible values are user and builtin.

Available options:
user,
builtin
Example:

"user"