Skip to content

CreateAssetRequest

Source code in docs_src/capo_devops_agent/types/create_asset_request.py
class CreateAssetRequest(TypedDict, closed=True):
    agent_space_id: (
        "capo_devops_agent.types.agent_space_identifier.AgentSpaceIdentifier"
    )
    """<p>The unique identifier for the agent space where the asset will be created</p>"""
    asset_type: "capo_devops_agent.types.asset_type.AssetType"
    """<p>The type of asset to create</p>"""
    metadata: NotRequired["object"]
    """<p>The metadata describing this asset</p>"""
    content: "capo_devops_agent.types.asset_content.AssetContent"
    """<p>The content for the asset. Provide a single file, a zip bundle, or a sourceUrl to import from an external source.</p>"""
    client_token: NotRequired["str"]
    """<p>A unique, case-sensitive identifier used for idempotent asset creation</p>"""

agent_space_id instance-attribute

agent_space_id: AgentSpaceIdentifier

The unique identifier for the agent space where the asset will be created

asset_type instance-attribute

asset_type: AssetType

The type of asset to create

client_token instance-attribute

client_token: NotRequired[str]

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

content instance-attribute

content: AssetContent

The content for the asset. Provide a single file, a zip bundle, or a sourceUrl to import from an external source.

metadata instance-attribute

metadata: NotRequired[object]

The metadata describing this asset