Update a Skill
Skills API
Update Skill
Update an existing Skill
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/publicRequired Scopes
This endpoint requires theSKILL_API scope.
Requires editor access to the Skill.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
skillId | string | Yes | UUID of the Skill to update. |
Request Body
| Parameter | Type | Description |
|---|---|---|
name | string | Skill name. Maximum: 64 characters. |
slug | string | Stable Skill slug. Must use lowercase letters, numbers, and dashes. Maximum: 100 characters. |
description | string | Description used to explain when the Skill should apply. Maximum: 1024 characters. |
instructions | string | Skill instructions. Maximum: 50000 characters. |
integrationIds | string[] | Integration UUIDs to attach to the Skill. Replaces the current integration list. Each integration must be enabled in your workspace. |
Example
Response Format
Success Response (200 OK)
Error Handling
| Status Code | Description |
|---|---|
| 400 | Invalid request body, missing update fields, or inaccessible integrationIds |
| 401 | Invalid or missing API key |
| 403 | Missing SKILL_API scope, Skills product access, or editor access |
| 404 | Skill not found |
| 409 | Skill slug conflict |
| 429 | Rate limit exceeded |
| 500 | Internal server error |
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
API key as Bearer token. Format "Bearer YOUR_API_KEY"
Path Parameters
UUID of the Skill.
Body
application/json
Skill name.
Required string length:
1 - 64Stable Skill slug.
Maximum string length:
100Pattern:
^[a-z0-9-]+$Description used to explain when the Skill should apply.
Maximum string length:
1024Skill instructions.
Required string length:
1 - 50000Integration IDs to attach to the Skill. Replaces the current integration list.
Response
Skill updated successfully