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>

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

skillIdstringRequiredformat: "uuid"
The skill ID.

Request

The temporary upload and target path.
uploadIdstringRequiredformat: "uuid"
The temporary upload ID.
fileNamestringRequired1-400 characters
The uploaded file name. It is the target path unless AiService.Feature.AgentRuntime.Models.UploadSkillFileByUploadIdRequestModel.RelativePath is set.
relativePathstring or nullOptional<=400 characters
The optional target path relative to the skill root. Defaults to the file name.

Response

OK
relativePathstring or nullOptional

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

sizeByteslongOptional
The file size in bytes.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error