Skip to main content
PATCH
Update a Skill
Using our API via a dedicated deployment? Just replace api.langdock.com with your deployment’s base URL: <deployment-url>/api/public
Updates an existing Skill in your workspace. Only include the fields you want to change.

Required Scopes

This endpoint requires the SKILL_API scope.
Requires editor access to the Skill.

Path Parameters

Request Body

Example

Response Format

Success Response (200 OK)

Error Handling

Langdock intentionally blocks browser-origin requests to protect your API key and ensure your applications remain secure. For more information, please see our guide on API Key Best Practices.

Authorizations

Authorization
string
header
required

API key as Bearer token. Format "Bearer YOUR_API_KEY"

Path Parameters

skillId
string<uuid>
required

UUID of the Skill.

Body

application/json
name
string

Skill name.

Required string length: 1 - 64
slug
string

Stable Skill slug.

Maximum string length: 100
Pattern: ^[a-z0-9-]+$
description
string

Description used to explain when the Skill should apply.

Maximum string length: 1024
instructions
string

Skill instructions.

Required string length: 1 - 50000
integrationIds
string<uuid>[]

Integration IDs to attach to the Skill. Replaces the current integration list.

Response

Skill updated successfully

skill
object
required