agentSkills

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>

post/agents/skills/{skillId}/files

Path parameters

skillIdstring uuid required

The skill ID.

Query parameters

relativePathstring

The optional target path relative to the skill root.

Response

OK

relativePathstring nullable

The path of the file relative to the skill root (for example "scripts/sync.py").

sizeBytesinteger

The file size in bytes.

Changes

Changed in 1 of the 11 revisions of this API.1