:doc:`AgentsforBedrock <../../bedrock-agent>` / Client / get_agent_collaborator

**********************
get_agent_collaborator
**********************



.. py:method:: AgentsforBedrock.Client.get_agent_collaborator(**kwargs)

  

  Retrieves information about an agent's collaborator.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetAgentCollaborator>`_  


  **Request Syntax**
  ::

    response = client.get_agent_collaborator(
        agentId='string',
        agentVersion='string',
        collaboratorId='string'
    )
    
  :type agentId: string
  :param agentId: **[REQUIRED]** 

    The agent's ID.

    

  
  :type agentVersion: string
  :param agentVersion: **[REQUIRED]** 

    The agent's version.

    

  
  :type collaboratorId: string
  :param collaboratorId: **[REQUIRED]** 

    The collaborator's ID.

    

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

    
    ::

      {
          'agentCollaborator': {
              'agentId': 'string',
              'agentVersion': 'string',
              'agentDescriptor': {
                  'aliasArn': 'string'
              },
              'collaboratorId': 'string',
              'collaborationInstruction': 'string',
              'collaboratorName': 'string',
              'createdAt': datetime(2015, 1, 1),
              'lastUpdatedAt': datetime(2015, 1, 1),
              'relayConversationHistory': 'TO_COLLABORATOR'|'DISABLED',
              'clientToken': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **agentCollaborator** *(dict) --* 

        Details about the collaborator.

        
        

        - **agentId** *(string) --* 

          The collaborator's agent ID.

          
        

        - **agentVersion** *(string) --* 

          The collaborator's agent version.

          
        

        - **agentDescriptor** *(dict) --* 

          The collaborator's agent descriptor.

          
          

          - **aliasArn** *(string) --* 

            The agent's alias ARN.

            
      
        

        - **collaboratorId** *(string) --* 

          The collaborator's collaborator ID.

          
        

        - **collaborationInstruction** *(string) --* 

          The collaborator's instructions.

          
        

        - **collaboratorName** *(string) --* 

          The collaborator's collaborator name.

          
        

        - **createdAt** *(datetime) --* 

          When the collaborator was created.

          
        

        - **lastUpdatedAt** *(datetime) --* 

          When the collaborator was updated.

          
        

        - **relayConversationHistory** *(string) --* 

          The collaborator's relay conversation history.

          
        

        - **clientToken** *(string) --* 

          The collaborator's client token.

          
    
  
  **Exceptions**
  
  *   :py:class:`AgentsforBedrock.Client.exceptions.ThrottlingException`

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

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

  
  *   :py:class:`AgentsforBedrock.Client.exceptions.InternalServerException`

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

  