Skip to content

List Agent Collaborators

bedrockagent_list_agent_collaborators R Documentation

Retrieve a list of an agent's collaborators

Description

Retrieve a list of an agent's collaborators.

Usage

bedrockagent_list_agent_collaborators(agentId, agentVersion, maxResults,
  nextToken)

Arguments

agentId

[required] The agent's ID.

agentVersion

[required] The agent's version.

maxResults

The maximum number of agent collaborators to return in one page of results.

nextToken

Specify the pagination token from a previous request to retrieve the next page of results.

Value

A list with the following syntax:

list(
  agentCollaboratorSummaries = list(
    list(
      agentDescriptor = list(
        aliasArn = "string"
      ),
      agentId = "string",
      agentVersion = "string",
      collaborationInstruction = "string",
      collaboratorId = "string",
      collaboratorName = "string",
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      lastUpdatedAt = as.POSIXct(
        "2015-01-01"
      ),
      relayConversationHistory = "TO_COLLABORATOR"|"DISABLED"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_agent_collaborators(
  agentId = "string",
  agentVersion = "string",
  maxResults = 123,
  nextToken = "string"
)