Zum Hauptinhalt springen
PATCH
Update a Skill
Nutzt du unsere API über ein Dedicated Deployment? Ersetze einfach api.langdock.com mit der Basis-URL deines Deployments: <deployment-url>/api/public
Aktualisiert einen bestehenden Skill in deinem Workspace. Gib nur die Felder an, die du ändern möchtest.

Erforderliche Scopes

Dieser Endpoint erfordert den SKILL_API Scope.
Erfordert Editor-Zugriff auf den Skill.

Pfadparameter

Request Body

Beispiel

Antwortformat

Erfolgsantwort (200 OK)

Fehlerbehandlung

Langdock blockiert bewusst Browser-basierte Anfragen, um deinen API-Schlüssel zu schützen und die Sicherheit deiner Anwendungen zu gewährleisten. Weitere Informationen findest du in unserem Guide zu Best Practices für API-Schlüssel.

Autorisierungen

Authorization
string
header
erforderlich

API key as Bearer token. Format "Bearer YOUR_API_KEY"

Pfadparameter

skillId
string<uuid>
erforderlich

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.

Antwort

Skill updated successfully

skill
object
erforderlich