Skills

Get a Skill file

Changed on

Retrieves a stored Skill file by path from your workspace.

get/skills/v1/{skillId}/files

Request

  • Base URL
    https://api.langdock.com
  • URL
    https://api.langdock.com/skills/v1/{skillId}/files
  • Auth
    HTTP bearer

Path parameters

skillIdstring uuid required

UUID of the Skill.

Query parameters

pathstring required

Relative path of the file inside the Skill.

Response

File returned successfully

pathstring required

Relative path inside the Skill.

sizeBytesinteger required

File size in bytes.

extensionstring required

Lowercase file extension, including the leading dot.

hasScriptboolean required

Whether the file is a script file (.py, .sh, .js, or .ts).

sha256string required

Lowercase SHA-256 hash of the original file bytes.

contentstring required

UTF-8 file contents.

Changes