Amazon Bedrock · Schema

UpdateMemoryInput

Artificial IntelligenceAmazon Web ServicesFoundation ModelsGenerative AILLMMachine LearningRAGAgentsResponsible AIModel Serving

Properties

Name Type Description
clientToken string A client token is used for keeping track of idempotent requests. It can contain a session id which can be around 250 chars, combined with a unique Amazon Web Services identifier.
memoryId string The unique identifier of the memory to update.
description string The updated description of the AgentCore Memory resource.
eventExpiryDuration integer The number of days after which memory events expire, between 7 and 3650 days.
memoryExecutionRoleArn string The ARN of the IAM role that provides permissions for the AgentCore Memory resource.
memoryStrategies object
addIndexedKeys array Additional metadata keys to index. Previously indexed keys cannot be removed.
namespaceKeys array The namespace variable key definitions with validation rules for this memory. This value fully replaces the existing set — any key you omit is removed. Any referenced namespaceKey omission will throw
streamDeliveryResources object
View JSON Schema on GitHub

JSON Schema

amazon-bedrock-update-memory-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-update-memory-input-schema.json",
  "title": "UpdateMemoryInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-operations-api-openapi.yml#/components/schemas/UpdateMemoryInput",
  "type": "object",
  "properties": {
    "clientToken": {
      "type": "string",
      "description": "A client token is used for keeping track of idempotent requests. It can contain a session id which can be around 250 chars, combined with a unique Amazon Web Services identifier."
    },
    "memoryId": {
      "type": "string",
      "description": "The unique identifier of the memory to update."
    },
    "description": {
      "type": "string",
      "description": "The updated description of the AgentCore Memory resource."
    },
    "eventExpiryDuration": {
      "type": "integer",
      "description": "The number of days after which memory events expire, between 7 and 3650 days."
    },
    "memoryExecutionRoleArn": {
      "type": "string",
      "description": "The ARN of the IAM role that provides permissions for the AgentCore Memory resource."
    },
    "memoryStrategies": {
      "$ref": "#/$defs/ModifyMemoryStrategies"
    },
    "addIndexedKeys": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/IndexedKey"
      },
      "description": "Additional metadata keys to index. Previously indexed keys cannot be removed."
    },
    "namespaceKeys": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/NamespaceKeyEntry"
      },
      "description": "The namespace variable key definitions with validation rules for this memory. This value fully replaces the existing set — any key you omit is removed. Any referenced namespaceKey omission will throw ValidationException."
    },
    "streamDeliveryResources": {
      "$ref": "#/$defs/StreamDeliveryResources"
    }
  },
  "required": [
    "memoryId"
  ],
  "$defs": {
    "BedrockAgentcoreControlExtractionConfig": {
      "type": "object",
      "properties": {
        "llmExtractionConfig": {
          "$ref": "#/$defs/LlmExtractionConfig"
        }
      },
      "description": "Exactly one member is set."
    },
    "BedrockAgentcoreControlRecordExpirySpecification": {
      "type": "object",
      "properties": {
        "recordExpiryDurationDays": {
          "type": "integer",
          "description": "The duration, in days, after which memory records generated by this strategy expire. The minimum is 31 days."
        },
        "action": {
          "type": "string",
          "enum": [
            "REMOVE"
          ],
          "description": "The action to apply to the existing record expiry (long-term memory time-to-live) configuration. Set to REMOVE to remove a previously configured time-to-live so that newer records no longer expire. This value is not applicable on create paths."
        }
      },
      "description": "Exactly one member is set."
    },
    "ContentConfiguration": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "MEMORY_RECORDS"
          ],
          "description": "Type of content to stream."
        },
        "level": {
          "type": "string",
          "enum": [
            "METADATA_ONLY",
            "FULL_CONTENT"
          ],
          "description": "Level of detail for streamed content."
        }
      },
      "required": [
        "type"
      ]
    },
    "CustomConfigurationInput": {
      "type": "object",
      "properties": {
        "semanticOverride": {
          "$ref": "#/$defs/SemanticOverrideConfigurationInput"
        },
        "summaryOverride": {
          "$ref": "#/$defs/SummaryOverrideConfigurationInput"
        },
        "userPreferenceOverride": {
          "$ref": "#/$defs/UserPreferenceOverrideConfigurationInput"
        },
        "episodicOverride": {
          "$ref": "#/$defs/EpisodicOverrideConfigurationInput"
        },
        "selfManagedConfiguration": {
          "$ref": "#/$defs/SelfManagedConfigurationInput"
        }
      },
      "description": "Exactly one member is set."
    },
    "CustomConsolidationConfigurationInput": {
      "type": "object",
      "properties": {
        "semanticConsolidationOverride": {
          "$ref": "#/$defs/SemanticOverrideConsolidationConfigurationInput"
        },
        "summaryConsolidationOverride": {
          "$ref": "#/$defs/SummaryOverrideConsolidationConfigurationInput"
        },
        "userPreferenceConsolidationOverride": {
          "$ref": "#/$defs/UserPreferenceOverrideConsolidationConfigurationInput"
        },
        "episodicConsolidationOverride": {
          "$ref": "#/$defs/EpisodicOverrideConsolidationConfigurationInput"
        }
      },
      "description": "Exactly one member is set."
    },
    "CustomExtractionConfigurationInput": {
      "type": "object",
      "properties": {
        "semanticExtractionOverride": {
          "$ref": "#/$defs/SemanticOverrideExtractionConfigurationInput"
        },
        "userPreferenceExtractionOverride": {
          "$ref": "#/$defs/UserPreferenceOverrideExtractionConfigurationInput"
        },
        "episodicExtractionOverride": {
          "$ref": "#/$defs/EpisodicOverrideExtractionConfigurationInput"
        }
      },
      "description": "Exactly one member is set."
    },
    "CustomMemoryStrategyInput": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the custom memory strategy."
        },
        "description": {
          "type": "string",
          "description": "The description of the custom memory strategy."
        },
        "namespaces": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "This is a legacy parameter, use namespaceTemplates. The namespaces associated with the custom memory strategy."
        },
        "namespaceTemplates": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The namespaceTemplates associated with the custom memory strategy."
        },
        "configuration": {
          "$ref": "#/$defs/CustomConfigurationInput"
        },
        "memoryRecordSchema": {
          "$ref": "#/$defs/MemoryRecordSchema"
        },
        "recordExpirySpecification": {
          "$ref": "#/$defs/BedrockAgentcoreControlRecordExpirySpecification"
        }
      },
      "required": [
        "name"
      ]
    },
    "CustomReflectionConfigurationInput": {
      "type": "object",
      "properties": {
        "episodicReflectionOverride": {
          "$ref": "#/$defs/EpisodicOverrideReflectionConfigurationInput"
        }
      },
      "description": "Exactly one member is set."
    },
    "DeleteMemoryStrategyInput": {
      "type": "object",
      "properties": {
        "memoryStrategyId": {
          "type": "string",
          "description": "The unique identifier of the memory strategy to delete."
        }
      },
      "required": [
        "memoryStrategyId"
      ]
    },
    "EpisodicMemoryStrategyInput": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the episodic memory strategy."
        },
        "description": {
          "type": "string",
          "description": "The description of the episodic memory strategy."
        },
        "namespaces": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "This is a legacy parameter, use namespaceTemplates. The namespaces for which to create episodes."
        },
        "namespaceTemplates": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The namespaceTemplates for which to create episodes."
        },
        "reflectionConfiguration": {
          "$ref": "#/$defs/EpisodicReflectionConfigurationInput"
        },
        "memoryRecordSchema": {
          "$ref": "#/$defs/MemoryRecordSchema"
        },
        "recordExpirySpecification": {
          "$ref": "#/$defs/BedrockAgentcoreControlRecordExpirySpecification"
        }
      },
      "required": [
        "name"
      ]
    },
    "EpisodicOverrideConfigurationInput": {
      "type": "object",
      "properties": {
        "extraction": {
          "$ref": "#/$defs/EpisodicOverrideExtractionConfigurationInput"
        },
        "consolidation": {
          "$ref": "#/$defs/EpisodicOverrideConsolidationConfigurationInput"
        },
        "reflection": {
          "$ref": "#/$defs/EpisodicOverrideReflectionConfigurationInput"
        }
      }
    },
    "EpisodicOverrideConsolidationConfigurationInput": {
      "type": "object",
      "properties": {
        "appendToPrompt": {
          "type": "string",
          "description": "The text to append to the prompt for the consolidation step of the episodic memory strategy."
        },
        "modelId": {
          "type": "string",
          "description": "The model ID to use for the consolidation step of the episodic memory strategy."
        }
      },
      "required": [
        "appendToPrompt",
        "modelId"
      ]
    },
    "EpisodicOverrideExtractionConfigurationInput": {
      "type": "object",
      "properties": {
        "appendToPrompt": {
          "type": "string",
          "description": "The text to append to the prompt for the extraction step of the episodic memory strategy."
        },
        "modelId": {
          "type": "string",
          "description": "The model ID to use for the extraction step of the episodic memory strategy."
        }
      },
      "required": [
        "appendToPrompt",
        "modelId"
      ]
    },
    "EpisodicOverrideReflectionConfigurationInput": {
      "type": "object",
      "properties": {
        "appendToPrompt": {
          "type": "string",
          "description": "The text to append to the prompt for reflection step of the episodic memory strategy."
        },
        "modelId": {
          "type": "string",
          "description": "The model ID to use for the reflection step of the episodic memory strategy."
        },
        "namespaces": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "This is a legacy parameter, use namespaceTemplates. The namespaces to use for episodic reflection. Can be less nested than the episodic namespaces."
        },
        "namespaceTemplates": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The namespaceTemplates to use for episodic reflection. Can be less nested than the episodic namespaces."
        },
        "memoryRecordSchema": {
          "$ref": "#/$defs/MemoryRecordSchema"
        }
      },
      "required": [
        "appendToPrompt",
        "modelId"
      ]
    },
    "EpisodicReflectionConfigurationInput": {
      "type": "object",
      "properties": {
        "namespaces": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "This is a legacy parameter, use namespaceTemplates. The namespaces over which to create reflections. Can be less nested than episode namespaces."
        },
        "namespaceTemplates": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The namespaceTemplates over which to create reflections. Can be less nested than episode namespaces."
        },
        "memoryRecordSchema": {
          "$ref": "#/$defs/MemoryRecordSchema"
        }
      }
    },
    "IndexedKey": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "description": "The metadata key name to index."
        },
        "type": {
          "type": "string",
          "enum": [
            "STRING",
            "STRINGLIST",
            "NUMBER"
          ],
          "description": "The data type of the indexed key."
        }
      },
      "required": [
        "key",
        "type"
      ]
    },
    "InvocationConfigurationInput": {
      "type": "object",
      "properties": {
        "topicArn": {
          "type": "string",
          "description": "The ARN of the SNS topic for job notifications."
        },
        "payloadDeliveryBucketName": {
          "type": "string",
          "description": "The S3 bucket name for event payload delivery."
        }
      },
      "required": [
        "topicArn",
        "payloadDeliveryBucketName"
      ]
    },
    "KinesisResource": {
      "type": "object",
      "properties": {
        "dataStreamArn": {
          "type": "string",
          "description": "ARN of the Kinesis Data Stream."
        },
        "contentConfigurations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ContentConfiguration"
          },
          "description": "Content configurations for stream delivery."
        }
      },
      "required": [
        "dataStreamArn",
        "contentConfigurations"
      ]
    },
    "LlmExtractionConfig": {
      "type": "object",
      "properties": {
        "llmExtractionInstruction": {
          "type": "string",
          "description": "Instructions for extraction. Supports built-in operators like LATEST_VALUE or custom natural-language instructions."
        },
        "definition": {
          "type": "string",
          "description": "Description of what this metadata field represents."
        },
        "validation": {
          "$ref": "#/$defs/Validation"
        }
      },
      "required": [
        "definition"
      ]
    },
    "MemoryRecordSchema": {
      "type": "object",
      "properties": {
        "metadataSchema": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MetadataSchemaEntry"
          },
          "description": "The metadata field definitions for this strategy."
        }
      }
    },
    "MemoryStrategyInput": {
      "type": "object",
      "properties": {
        "semanticMemoryStrategy": {
          "$ref": "#/$defs/SemanticMemoryStrategyInput"
        },
        "summaryMemoryStrategy": {
          "$ref": "#/$defs/SummaryMemoryStrategyInput"
        },
        "userPreferenceMemoryStrategy": {
          "$ref": "#/$defs/UserPreferenceMemoryStrategyInput"
        },
        "customMemoryStrategy": {
          "$ref": "#/$defs/CustomMemoryStrategyInput"
        },
        "episodicMemoryStrategy": {
          "$ref": "#/$defs/EpisodicMemoryStrategyInput"
        }
      },
      "description": "Exactly one member is set."
    },
    "MessageBasedTriggerInput": {
      "type": "object",
      "properties": {
        "messageCount": {
          "type": "integer",
          "description": "The number of messages that trigger memory processing."
        }
      }
    },
    "MetadataSchemaEntry": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "description": "The metadata field name. Must match an indexed key to be queryable via metadata filters."
        },
        "type": {
          "type": "string",
          "enum": [
            "STRING",
            "STRINGLIST",
            "NUMBER"
          ],
          "description": "The MetadataValueType."
        },
        "extractionType": {
          "type": "string",
          "enum": [
            "LLM_INFERRED",
            "STRICTLY_CONSISTENT"
          ],
          "description": "Specifies whether the metadata value is extracted by the LLM or passed through deterministically from the event."
        },
        "extractionConfig": {
          "$ref": "#/$defs/BedrockAgentcoreControlExtractionConfig"
        }
      },
      "required": [
        "key"
      ]
    },
    "ModifyConsolidationConfiguration": {
      "type": "object",
      "properties": {
        "customConsolidationConfiguration": {
          "$ref": "#/$defs/CustomConsolidationConfigurationInput"
        }
      },
      "description": "Exactly one member is set."
    },
    "ModifyExtractionConfiguration": {
      "type": "object",
      "properties": {
        "customExtractionConfiguration": {
          "$ref": "#/$defs/CustomExtractionConfigurationInput"
        }
      },
      "description": "Exactly one member is set."
    },
    "ModifyInvocationConfigurationInput": {
      "type": "object",
      "properties": {
        "topicArn": {
          "type": "string",
          "description": "The updated ARN of the SNS topic for job notifications."
        },
        "payloadDeliveryBucketName": {
          "type": "string",
          "description": "The updated S3 bucket name for event payload delivery."
        }
      }
    },
    "ModifyMemoryStrategies": {
      "type": "object",
      "properties": {
        "addMemoryStrategies": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MemoryStrategyInput"
          },
          "description": "The list of memory strategies to add."
        },
        "modifyMemoryStrategies": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ModifyMemoryStrategyInput"
          },
          "description": "The list of memory strategies to modify."
        },
        "deleteMemoryStrategies": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DeleteMemoryStrategyInput"
          },
          "description": "The list of memory strategies to delete."
        }
      }
    },
    "ModifyMemoryStrategyInput": {
      "type": "object",
      "properties": {
        "memoryStrategyId": {
          "type": "string",
          "description": "The unique identifier of the memory strategy to modify."
        },
        "description": {
          "type": "string",
          "description": "The updated description of the memory strategy."
        },
        "namespaces": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "This is a legacy parameter, use namespaceTemplates. The updated namespaces for the memory strategy."
        },
        "namespaceTemplates": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The updated namespaceTemplates for the memory strategy."
        },
        "configuration": {
          "$ref": "#/$defs/ModifyStrategyConfiguration"
        },
        "memoryRecordSchema": {
          "$ref": "#/$defs/MemoryRecordSchema"
        },
        "recordExpirySpecification": {
          "$ref": "#/$defs/BedrockAgentcoreControlRecordExpirySpecification"
        }
      },
      "required": [
        "memoryStrategyId"
      ]
    },
    "ModifyReflectionConfiguration": {
      "type": "object",
      "properties": {
        "episodicReflectionConfiguration": {
          "$ref": "#/$defs/EpisodicReflectionConfigurationInput"
        },
        "customReflectionConfiguration": {
          "$ref": "#/$defs/CustomReflectionConfigurationInput"
        }
      },
      "description": "Exactly one member is set."
    },
    "ModifySelfManagedConfiguration": {
      "type": "object",
      "properties": {
        "triggerConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/TriggerConditionInput"
          },
          "description": "The updated list of conditions that trigger memory processing."
        },
        "invocationConfiguration": {
          "$ref": "#/$defs/ModifyInvocationConfigurationInput"
        },
        "historicalContextWindowSize": {
          "type": "integer",
          "description": "The updated number of historical messages to include in processing context."
        }
      }
    },
    "ModifyStrategyConfiguration": {
      "type": "object",
      "properties": {
        "extraction": {
          "$ref": "#/$defs/ModifyExtractionConfiguration"
        },
        "consolidation": {
          "$ref": "#/$defs/ModifyConsolidationConfiguration"
        },
        "reflection": {
          "$ref": "#/$defs/ModifyReflectionConfiguration"
        },
        "selfManagedConfiguration": {
          "$ref": "#/$defs/ModifySelfManagedConfiguration"
        }
      }
    },
    "NamespaceKeyEntry": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "description": "The namespace variable key name."
        },
        "validation": {
          "$ref": "#/$defs/NamespaceKeyValidation"
        }
      },
      "required": [
        "key"
      ]
    },
    "NamespaceKeyValidation": {
      "type": "object",
      "properties": {
        "allowedValues": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The allowed values for this namespace variable key."
        },
        "regexPattern": {
          "type": "string",
          "description": "A regex pattern that the namespace variable key-value must match."
        }
      }
    },
    "NumberValidation": {
      "type": "object",
      "properties": {
        "minValue": {
          "type": "number",
          "description": "Minimum allowed value."
        },
        "maxValue": {
          "type": "number",
          "description": "Maximum allowed value."
        }
      }
    },
    "SelfManagedConfigurationInput": {
      "type": "object",
      "properties": {
        "triggerConditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/TriggerConditionInput"
          },
          "description": "A list of conditions that trigger memory processing."
        },
        "invocationConfiguration": {
          "$ref": "#/$defs/InvocationConfigurationInput"
        },
        "historicalContextWindowSize": {
          "type": "integer",
          "description": "Number of historical messages to include in processing context."
        }
      },
      "required": [
        "invocationConfiguration"
      ]
    },
    "SemanticMemoryStrategyInput": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the semantic memory strategy."
        },
        "description": {
          "type": "string",
          "description": "The description of the semantic memory strategy."
        },
        "namespaces": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "This is a legacy parameter, use namespaceTemplates. The namespaces associated with the semantic memory strategy."
        },
        "namespaceTemplates": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The namespaceTemplates associated with the semantic memory strategy."
        },
        "memoryRecordSchema": {
          "$ref": "#/$defs/MemoryRecordSchema"
        },
        "recordExpirySpecification": {
          "$ref": "#/$defs/BedrockAgentcoreControlRecordExpirySpecification"
        }
      },
      "required": [
        "name"
      ]
    },
    "SemanticOverrideConfigurationInput": {
      "type": "object",
      "properties": {
        "extraction": {
          "$ref": "#/$defs/SemanticOverrideExtractionConfigurationInput"
        },
        "consolidation": {
          "$ref": "#/$defs/SemanticOverrideConsolidationConfigurationInput"
        }
      }
    },
    "SemanticOverrideConsolidationConfigurationInput": {
      "type": "object",
      "properties": {
        "appendToPrompt": {
          "type": "string",
          "description": "The text to append to the prompt for semantic consolidation."
        },
        "modelId": {
          "type": "string",
          "description": "The model ID to use for semantic consolidation."
        }
      },
      "required": [
        "appendToPrompt",
        "modelId"
      ]
    },
    "SemanticOverrideExtractionConfigurationInput": {
      "type": "object",
      "properties": {
        "appendToPrompt": {
          "type": "string",
          "description": "The text to append to the prompt for semantic extraction."
        },
        "modelId": {
          "type": "string",
          "description": "The model ID to use for semantic extraction."
        }
      },
      "required": [
        "appendToPrompt",
        "modelId"
      ]
    },
    "StreamDeliveryResource": {
      "type": "object",
      "properties": {
        "kinesis": {
          "$ref": "#/$defs/KinesisResource"
        }
      },
      "description": "Exactly one member is set."
    },
    "StreamDeliveryResources": {
      "type": "object",
      "properties": {
        "resources": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StreamDeliveryResource"
          },
          "description": "List of stream delivery resource configurations."
        }
      },
      "required": [
        "resources"
      ]
    },
    "StringListValidation": {
      "type": "object",
      "properties": {
        "allowedValues": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Allowed values for items in this STRINGLIST field."
        },
        "maxItems": {
          "type": "integer",
          "description": "Maximum number of items in the string list."
        }
      }
    },
    "StringValidation": {
      "type": "object",
      "properties": {
        "allowedValues": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Allowed values for this STRING field."
        }
      },
      "required": [
        "allowedValues"
      ]
    },
    "SummaryMemoryStrategyInput": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the summary memory strategy."
        },
        "description": {
          "type": "string",
          "description": "The description of the summary memory strategy."
        },
        "namespaces": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "This is a legacy parameter, use namespaceTemplates. The namespaces associated with the summary memory strategy."
        },
        "namespaceTemplates": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The namespaceTemplates associated with the summary memory strategy."
        },
        "memoryRecordSchema": {
          "$ref": "#/$defs/MemoryRecordSchema"
        },
        "recordExpirySpecification": {
          "$ref": "#/$defs/BedrockAgentcoreControlRecordExpirySpecification"
        }
      },
      "required": [
        "name"
      ]
    },
    "SummaryOverrideConfigurationInput": {
      "type": "object",
      "properties": {
        "consolidation": {
          "$ref": "#/$defs/SummaryOverrideConsolidationConfigurationInput"
        }
      }
    },
    "SummaryOverrideConsolidationConfigurationInput": {
      "type": "object",
      "properties": {
        "appendToPrompt": {
          "type": "string",
          "description": "The text to append to the prompt for summary consolidation."
        },
        "modelId": {
          "type": "string",
          "description": "The model ID to use for summary consolidation."
        }
      },
      "required": [
        "appendToPrompt",
        "modelId"
      ]
    },
    "TimeBasedTriggerInput": {
      "type": "object",
      "properties": {
        "idleSessionTimeout": {
          "type": "integer",
          "description": "Idle session timeout (seconds) that triggers memory processing."
        }
      }
    },
    "TokenBasedTriggerInput": {
      "type": "object",
      "properties": {
        "tokenCount": {
          "type": "integer",
          "description": "Number of tokens that trigger memory processing."
        }
      }
    },
    "TriggerConditionInput": {
      "type": "object",
      "properties": {
        "messageBasedTrigger": {
          "$ref": "#/$defs/MessageBasedTriggerInput"
        },
        "tokenBasedTrigger": {
          "$ref": "#/$defs/TokenBasedTriggerInput"
        },
        "timeBasedTrigger": {
          "$ref": "#/$defs/TimeBasedTriggerInput"
        }
      },
      "description": "Exactly one member is set."
    },
    "UserPreferenceMemoryStrategyInput": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the user preference memory strategy."
        },
        "description": {
          "type": "string",
          "description": "The description of the user preference memory strategy."
        },
        "namespaces": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "This is a legacy parameter, use namespaceTemplates. The namespaces associated with the user preference memory strategy."
        },
        "namespaceTemplates": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The namespaceTemplates associated with the user preference memory strategy."
        },
        "memoryRecordSchema": {
          "$ref": "#/$defs/MemoryRecordSchema"
        },
        "recordExpirySpecification": {
          "$ref": "#/$defs/BedrockAgentcoreControlRecordExpirySpecification"
        }
      },
      "required": [
        "name"
      ]
    },
    "UserPreferenceOverrideConfigurationInput": {
      "type": "object",
      "properties": {
        "extraction": {
          "$ref": "#/$defs/UserPreferenceOverrideExtractionConfigurationInput"
        },
        "consolidation": {
          "$ref": "#/$defs/UserPreferenceOverrideConsolidationConfigurationInput"
        }
      }
    },
    "UserPreferenceOverrideConsolidationConfigurationInput": {
      "type": "object",
      "properties": {
        "appendToPrompt": {
          "type": "string",
          "description": "The text to append to the prompt for user preference consolidation."
        },
        "modelId": {
          "type": "string",
          "description": "The model ID to use for user preference consolidation."
        }
      },
      "required": [
        "appendToPrompt",
        "modelId"
      ]
    },
    "UserPreferenceOverrideExtractionConfigurationInput": {
      "type": "object",
      "properties": {
        "appendToPrompt": {
          "type": "string",
          "description": "The text to append to the prompt for user preference extraction."
        },
        "modelId": {
          "type": "string",
          "description": "The model ID to use for user preference extraction."
        }
      },
      "required": [
        "appendToPrompt",
        "modelId"
      ]
    },
    "Validation": {
      "type": "object",
      "properties": {
        "stringValidation": {
          "$ref": "#/$defs/StringValidation"
        },
        "stringListValidation": {
          "$ref": "#/$defs/StringListValidation"
        },
        "numberValidation": {
          "$ref": "#/$defs/NumberValidation"
        }
      },
      "description": "Exactly one member is set."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-bedrock-update-memory-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.