Skills

Add or replace a skill file

Changed on

Uploads a single file to a skill's bundle. If the path already exists the file is replaced; otherwise it is added to the manifest.

put/v2/skills/{skill_id}/files

Request

Path parameters

skill_idstring required

Skill ID or display name to update.

Request body

pathstring required

Relative path within the skill bundle, including subdirectory components (e.g. "scripts/extract.py").

contentstring bytes required

Raw file content. The MIME type is derived from the path extension.

Response

OK

Changes