Skip to content

ListChatsRequest

Source code in docs_src/capo_devops_agent/types/list_chats_request.py
class ListChatsRequest(TypedDict, closed=True):
    agent_space_id: (
        "capo_devops_agent.types.agent_space_identifier.AgentSpaceIdentifier"
    )
    """<p>The unique identifier for the agent space to list chats from.</p>"""
    user_id: NotRequired["capo_devops_agent.types.resource_id.ResourceId"]
    """<p>The user identifier to list chats for. This field is deprecated and will be ignored — the service resolves user identity from the authenticated session.</p>"""
    max_results: NotRequired["int"]
    """<p>Maximum number of results to return</p>"""
    next_token: NotRequired["str"]
    """<p>Token for pagination</p>"""

agent_space_id instance-attribute

agent_space_id: AgentSpaceIdentifier

The unique identifier for the agent space to list chats from.

max_results instance-attribute

max_results: NotRequired[int]

Maximum number of results to return

next_token instance-attribute

next_token: NotRequired[str]

Token for pagination

user_id instance-attribute

user_id: NotRequired[ResourceId]

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