Skip to content

CreateAssetFileRequest

Source code in docs_src/capo_devops_agent/types/create_asset_file_request.py
class CreateAssetFileRequest(TypedDict, closed=True):
    agent_space_id: (
        "capo_devops_agent.types.agent_space_identifier.AgentSpaceIdentifier"
    )
    """<p>The unique identifier for the agent space containing the asset</p>"""
    asset_id: "capo_devops_agent.types.resource_id.ResourceId"
    """<p>The unique identifier of the asset to create the file in</p>"""
    path: "capo_devops_agent.types.asset_file_path.AssetFilePath"
    """<p>The path of the file within the asset</p>"""
    content: "capo_devops_agent.types.asset_file_body.AssetFileBody"
    """<p>The content of the file to create</p>"""
    metadata: NotRequired["object"]
    """<p>Optional metadata describing this file</p>"""
    client_token: NotRequired["str"]
    """<p>A unique, case-sensitive identifier used for idempotent asset file creation</p>"""

agent_space_id instance-attribute

agent_space_id: AgentSpaceIdentifier

The unique identifier for the agent space containing the asset

asset_id instance-attribute

asset_id: ResourceId

The unique identifier of the asset to create the file in

client_token instance-attribute

client_token: NotRequired[str]

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

content instance-attribute

content: AssetFileBody

The content of the file to create

metadata instance-attribute

metadata: NotRequired[object]

Optional metadata describing this file

path instance-attribute

The path of the file within the asset