Skip to content

SendMessageRequest

Source code in docs_src/capo_devops_agent/types/send_message_request.py
class SendMessageRequest(TypedDict, closed=True):
    agent_space_id: (
        "capo_devops_agent.types.agent_space_identifier.AgentSpaceIdentifier"
    )
    """<p>The agent space identifier</p>"""
    execution_id: "capo_devops_agent.types.chat_execution_id.ChatExecutionId"
    """<p>The execution identifier for the chat session</p>"""
    content: "capo_devops_agent.types.message_content.MessageContent"
    """<p>The user message content</p>"""
    context: NotRequired[
        "capo_devops_agent.types.send_message_context.SendMessageContext"
    ]
    """<p>Optional context for the message</p>"""
    user_id: NotRequired["capo_devops_agent.types.resource_id.ResourceId"]
    """<p>User identifier. This field is deprecated and will be ignored — the service resolves user identity from the authenticated session.</p>"""
    asset_ids: NotRequired["capo_devops_agent.types.asset_id_list.AssetIdList"]
    """<p>Optional list of asset identifiers to attach to the message</p>"""
    model_tier: NotRequired["str"]
    """<p>Optional model tier selection. Valid values: smart, balanced, fast. Absent or unrecognized values default to balanced.</p>"""

agent_space_id instance-attribute

agent_space_id: AgentSpaceIdentifier

The agent space identifier

asset_ids instance-attribute

asset_ids: NotRequired[AssetIdList]

Optional list of asset identifiers to attach to the message

content instance-attribute

content: MessageContent

The user message content

context instance-attribute

context: NotRequired[SendMessageContext]

Optional context for the message

execution_id instance-attribute

execution_id: ChatExecutionId

The execution identifier for the chat session

model_tier instance-attribute

model_tier: NotRequired[str]

Optional model tier selection. Valid values: smart, balanced, fast. Absent or unrecognized values default to balanced.

user_id instance-attribute

user_id: NotRequired[ResourceId]

User identifier. This field is deprecated and will be ignored — the service resolves user identity from the authenticated session.