Get a Skill file
Skills API
Skill-Datei abrufen
Rufe eine gespeicherte Skill-Datei anhand des Pfads ab
GET
Get a Skill file
Ruft eine gespeicherte Skill-Datei anhand des Pfads aus deinem Workspace ab.
Basis-URL
Erforderliche Scopes
Dieser Endpoint erfordert denSKILL_API Scope.
Erfordert Viewer-Zugriff auf den Skill.
Parameter
Die Datei muss gültiges UTF-8 sein und darf höchstens 512 KB groß sein. Lesbare Endungen sind
.md, .mdx, .txt, .py, .sh, .js, .ts, .json, .yaml, .yml, .toml, .csv, .xml, .xsd, .html, .css und .svg. Binärdateien und andere nicht unterstützte Dateien bleiben unter Skill abrufen gelistet. Dieser Endpoint gibt ihren Inhalt nicht zurück.
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
API key as Bearer token. Format "Bearer YOUR_API_KEY"
Pfadparameter
UUID of the Skill.
Abfrageparameter
Relative path of the file inside the Skill.
Required string length:
1 - 255Antwort
File returned successfully
Relative path inside the Skill.
File size in bytes.
Lowercase file extension, including the leading dot.
Whether the file is a script file (.py, .sh, .js, or .ts).
Lowercase SHA-256 hash of the original file bytes.
UTF-8 file contents.