agentSkills

Stores a temporary upload as a bundled skill file.

Stores or replaces a bundled file from a temporary upload of the current user. The relative path defaults to fileName and can be overridden with relativePath, for example references/logo.png. The same file, count, and package limits apply as for the multipart upload.

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

post/agents/skills/{skillId}/files/byuploadid

Path parameters

skillIdstring uuid required

The skill ID.

Request body

uploadIdstring uuid required

The temporary upload ID.

fileNamestring required

The uploaded file name. It is the target path unless AiService.Feature.AgentRuntime.Models.UploadSkillFileByUploadIdRequestModel.RelativePath is set.

relativePathstring nullable

The optional target path relative to the skill root. Defaults to the file name.

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