Skip to content

CreateChatRequest

Source code in docs_src/capo_devops_agent/types/create_chat_request.py
class CreateChatRequest(TypedDict, closed=True):
    agent_space_id: (
        "capo_devops_agent.types.agent_space_identifier.AgentSpaceIdentifier"
    )
    """<p>The unique identifier for the agent space where the chat will be created.</p>"""
    user_id: NotRequired["capo_devops_agent.types.resource_id.ResourceId"]
    """<p>The user identifier for the chat. This field is deprecated and will be ignored — the service resolves user identity from the authenticated session.</p>"""
    user_type: NotRequired["capo_devops_agent.types.user_type.UserType"]
    """<p>The authentication type of the user</p>"""

agent_space_id instance-attribute

agent_space_id: AgentSpaceIdentifier

The unique identifier for the agent space where the chat will be created.

user_id instance-attribute

user_id: NotRequired[ResourceId]

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

user_type instance-attribute

user_type: NotRequired[UserType]

The authentication type of the user