:doc:`QBusiness <../../qbusiness>` / Client / list_conversations

******************
list_conversations
******************



.. py:method:: QBusiness.Client.list_conversations(**kwargs)

  

  Lists one or more Amazon Q Business conversations.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/ListConversations>`_  


  **Request Syntax**
  ::

    response = client.list_conversations(
        applicationId='string',
        userId='string',
        nextToken='string',
        maxResults=123
    )
    
  :type applicationId: string
  :param applicationId: **[REQUIRED]** 

    The identifier of the Amazon Q Business application.

    

  
  :type userId: string
  :param userId: 

    The identifier of the user involved in the Amazon Q Business web experience conversation.

    

  
  :type nextToken: string
  :param nextToken: 

    If the ``maxResults`` response was incomplete because there is more data to retrieve, Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q Business conversations.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of Amazon Q Business conversations to return.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'nextToken': 'string',
          'conversations': [
              {
                  'conversationId': 'string',
                  'title': 'string',
                  'startTime': datetime(2015, 1, 1)
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **nextToken** *(string) --* 

        If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of messages.

        
      

      - **conversations** *(list) --* 

        An array of summary information on the configuration of one or more Amazon Q Business web experiences.

        
        

        - *(dict) --* 

          A conversation in an Amazon Q Business application.

          
          

          - **conversationId** *(string) --* 

            The identifier of the Amazon Q Business conversation.

            
          

          - **title** *(string) --* 

            The title of the conversation.

            
          

          - **startTime** *(datetime) --* 

            The start time of the conversation.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`QBusiness.Client.exceptions.InternalServerException`

  
  *   :py:class:`QBusiness.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`QBusiness.Client.exceptions.LicenseNotFoundException`

  
  *   :py:class:`QBusiness.Client.exceptions.ThrottlingException`

  
  *   :py:class:`QBusiness.Client.exceptions.ValidationException`

  
  *   :py:class:`QBusiness.Client.exceptions.AccessDeniedException`

  