Skip to content

Get Agent Knowledge Base

bedrockagent_get_agent_knowledge_base R Documentation

Gets information about a knowledge base associated with an agent

Description

Gets information about a knowledge base associated with an agent.

Usage

bedrockagent_get_agent_knowledge_base(agentId, agentVersion,
  knowledgeBaseId)

Arguments

agentId

[required] The unique identifier of the agent with which the knowledge base is associated.

agentVersion

[required] The version of the agent with which the knowledge base is associated.

knowledgeBaseId

[required] The unique identifier of the knowledge base associated with the agent.

Value

A list with the following syntax:

list(
  agentKnowledgeBase = list(
    agentId = "string",
    agentVersion = "string",
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    description = "string",
    knowledgeBaseId = "string",
    knowledgeBaseState = "ENABLED"|"DISABLED",
    updatedAt = as.POSIXct(
      "2015-01-01"
    )
  )
)

Request syntax

svc$get_agent_knowledge_base(
  agentId = "string",
  agentVersion = "string",
  knowledgeBaseId = "string"
)