v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1462502349.5 KB

Updates a file in an asset

patch/asset/agent-space/{agentSpaceId}/assets/{assetId}/files/{path}

Path parameters

agentSpaceIdstring required

Unique identifier for an agent space (allows alphanumeric characters and hyphens; 1-64 characters)

The unique identifier for the agent space containing the asset

assetIdstring required

Generic resource identifier (allows alphanumeric characters, hyphens, and underscores; 1-128 characters)

The unique identifier of the asset containing the file

pathstring required

The path of a file within an asset

The path of the file within the asset to update

Request body

metadataobject

Metadata fields to update. Only the fields present in this document are updated. Omitted fields retain their current values.

clientTokenstring

A unique, case-sensitive identifier used for idempotent asset file update

Response

Success