v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1462502349.5 KB

Creates a file in an asset

post/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 to create the file in

pathstring required

The path of a file within an asset

The path of the file within the asset

Request body

metadataobject

Optional metadata describing this file

clientTokenstring

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

Response

Success