bedrockagentruntime_get_document_content: Retrieves the content of an ingested document from a...

View source: R/bedrockagentruntime_operations.R

bedrockagentruntime_get_document_contentR Documentation

Retrieves the content of an ingested document from a knowledge base

Description

Retrieves the content of an ingested document from a knowledge base. Returns a pre-signed URL for secure document access.

See https://www.paws-r-sdk.com/docs/bedrockagentruntime_get_document_content/ for full documentation.

Usage

bedrockagentruntime_get_document_content(
  dataSourceId,
  documentId,
  knowledgeBaseId,
  outputFormat = NULL,
  userContext = NULL
)

Arguments

dataSourceId

[required] The unique identifier of the data source that contains the document.

documentId

[required] The unique identifier of the document to retrieve content for.

knowledgeBaseId

[required] The unique identifier of the knowledge base that contains the document.

outputFormat

The output format for the document content. RAW returns the original file. EXTRACTED returns parsed text as JSON. Defaults to RAW.

userContext

Contains information about the user making the request. This is used for access control filtering to ensure that results only include documents the user is authorized to access.


paws.machine.learning documentation built on Oct. 8, 2026, 9:06 a.m.