CmdID / aws / aws bedrock-agent
aws bedrock-agent list-knowledge-base-documents
Retrieves all the documents contained in a data source that is connected to a knowledge base. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--data-source-idThe unique identifier of the data source that contains the documents.--knowledge-base-idThe unique identifier of the knowledge base that is connected to the data source.--max-resultsThe maximum number of results to return in the response.--next-tokenIf 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.