Skip to content

List Agent Knowledge Bases

bedrockagent_list_agent_knowledge_bases R Documentation

Lists knowledge bases associated with an agent and information about each one

Description

Lists knowledge bases associated with an agent and information about each one.

Usage

bedrockagent_list_agent_knowledge_bases(agentId, agentVersion,
  maxResults, nextToken)

Arguments

agentId

[required] The unique identifier of the agent for which to return information about knowledge bases associated with it.

agentVersion

[required] The version of the agent for which to return information about knowledge bases associated with it.

maxResults

The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.

nextToken

If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.

Value

A list with the following syntax:

list(
  agentKnowledgeBaseSummaries = list(
    list(
      description = "string",
      knowledgeBaseId = "string",
      knowledgeBaseState = "ENABLED"|"DISABLED",
      updatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

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