Uploads a skill file.
Uploads or replaces a bundled file. The relative path defaults to the uploaded file name and can be overridden with the relativePath query parameter, for example scripts/sync.py.
<Check title="Required Permissions" icon="key">Any authenticated user.</Check>
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
skillId
The skill ID.
Query parameters
relativePath
The optional target path relative to the skill root.
Request
This endpoint expects a multipart form containing a file.
file
The bundled skill file to upload.
Response
OK
relativePath
The path of the file relative to the skill root (for example “scripts/sync.py”).
sizeBytes
The file size in bytes.
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error

