Stores an uploaded file as a bundled skill file.
Stores or replaces a bundled file from an upload ID or temporary file ID. 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.
Required Permissions
Any authenticated user.Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
skillId
The skill ID.
Request
The upload ID and target path.
uploadId
The upload ID from generateUploadUrl or an existing temporary file ID.
fileName
The uploaded file name. It is the target path unless AiService.Feature.AgentRuntime.Models.UploadSkillFileByUploadIdRequestModel.RelativePath is set.
relativePath
The optional target path relative to the skill root. Defaults to the file name.
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

