View a markdown version of this page

AgenticRetrieveMemoryRetrievalConfig - Amazon Bedrock

AgenticRetrieveMemoryRetrievalConfig

The long-term memory namespace that the agent might retrieve memory records from, and the filters applied to that retrieval. You must specify either namespace or namespacePath.

Contents

metadataFilters

The metadata filter expressions that restrict retrieval to matching memory records. You can specify a maximum of 5 expressions.

Type: Array of AgenticRetrieveMemoryMetadataFilter objects

Required: No

namespace

The namespace prefix to filter memory records by. The agent retrieves memory records in namespaces that start with the provided prefix. You must specify either namespace or namespacePath.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Pattern: [a-zA-Z0-9/*][a-zA-Z0-9\-_/*]*(?::[a-zA-Z0-9\-_/*]+)*[a-zA-Z0-9\-_/*]*

Required: No

namespacePath

The parent namespace to use for hierarchical retrievals. The agent retrieves all memory records whose namespace falls under the same parent hierarchy. You must specify either namespace or namespacePath.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Pattern: [a-zA-Z0-9/*][a-zA-Z0-9\-_/*]*(?::[a-zA-Z0-9\-_/*]+)*[a-zA-Z0-9\-_/*]*

Required: No

strategyId

The extraction strategy ID that restricts retrieval to memory records produced by a single strategy. Omit this parameter to retrieve records from every strategy on the memory resource.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Pattern: [a-zA-Z0-9][a-zA-Z0-9\-_]*

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: