SearchCriteria - Amazon Bedrock AgentCore

SearchCriteria

Contains search criteria for retrieving memory records.

Contents

searchQuery

The search query to use for finding relevant memory records.

Type: String

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

Required: Yes

memoryStrategyId

The memory strategy identifier to filter memory records by.

Type: String

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

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

Required: No

topK

The maximum number of top-scoring memory records to return. This value is used for semantic search ranking.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 100.

Required: No

See Also

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