Amazon OpenSearch Memory
Amazon OpenSearch Memory lets your AI agents and applications recall facts and summaries across sessions. Your agents send events, such as conversation turns,…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Amazon OpenSearch Memory lets your AI agents and applications recall facts and summaries across sessions. Your agents send events, such as conversation turns, and search the memories derived from them. A space groups related events and memories, and holds the memory strategies that you configure for them. Use the space operations to create, get, list, update, and delete spaces. Use the event and memory operations to write, read, list, search, update, and delete a space's events and memories.
Endpoints 20
Space
- POSTBatch get event
/#X-Amz-Target=OpenSearchMemory.BatchGetEventGets up to 10 events by ID, each as GetEvent returns it, including its payload. If you supply actorId or sessionId , every requested event must match it. Each… - POSTCreate event
/#X-Amz-Target=OpenSearchMemory.CreateEventSubmits an event (conversation turns, structured data, or a PDF document stored in Amazon S3) to a session in a space. The operation returns as soon as the… - POSTCreate memory
/#X-Amz-Target=OpenSearchMemory.CreateMemoryWrites a memory that you have already formed, without extracting it from events. The service embeds the text as given and stores it as a memory of the named… - POSTCreate space
/#X-Amz-Target=OpenSearchMemory.CreateSpaceCreates a space. A space is an AWS resource that stores the events you send and the memories extracted from them, and defines the memory strategies that… - POSTDelete event
/#X-Amz-Target=OpenSearchMemory.DeleteEventDeletes an event. Deletion can't be undone. The event stops appearing in SearchEvents results shortly after you delete it. Deleting an event that doesn't… - POSTDelete memory
/#X-Amz-Target=OpenSearchMemory.DeleteMemoryDeletes a memory, including its content and embedding. Deletion can't be undone. Searches stop returning the memory shortly after you delete it. Deleting a… - POSTDelete space
/#X-Amz-Target=OpenSearchMemory.DeleteSpaceDeletes a space and its memories. Deletion can't be undone. After you delete the space, you can't retrieve its events, and the service removes them when they… - POSTGet event
/#X-Amz-Target=OpenSearchMemory.GetEventGets an event by ID, including its payload. If the space uses a customer managed AWS KMS key, the call can also fail because of the key. It fails with… - POSTGet memory
/#X-Amz-Target=OpenSearchMemory.GetMemoryGets a memory by ID, as returned by SearchMemories or ListMemories . A memory that doesn't exist returns ResourceNotFoundException . Unlike SearchMemories ,… - POSTGet space
/#X-Amz-Target=OpenSearchMemory.GetSpaceReturns a space's configuration and status. - POSTList events
/#X-Amz-Target=OpenSearchMemory.ListEventsLists the events in a session, sorted by time. Optionally limit the results to events whose eventTimestamp falls between eventTimestampAfter and… - POSTList memories
/#X-Amz-Target=OpenSearchMemory.ListMemoriesLists a space's memories without a query, for example the most recent memories or the memories of one strategy. Filter by strategy and optionally by owning… - POSTList spaces
/#X-Amz-Target=OpenSearchMemory.ListSpacesLists the spaces in your account in the current Region. - POSTSearch events
/#X-Amz-Target=OpenSearchMemory.SearchEventsSearches a space's events by relevance. It works like SearchMemories without the memory type and strategy selector. The query is a subset of the OpenSearch… - POSTSearch memories
/#X-Amz-Target=OpenSearchMemory.SearchMemoriesSearches a space's memories by relevance. The query is a subset of the OpenSearch Query DSL. The service validates it, limits the search to the requested… - POSTUpdate memory
/#X-Amz-Target=OpenSearchMemory.UpdateMemoryUpdates a memory in place. Supply only the fields to change. Omitted fields keep their stored values. A request must supply content or metadata , or it fails… - POSTUpdate space
/#X-Amz-Target=OpenSearchMemory.UpdateSpaceUpdates a space's memory strategies, retention settings, or extraction model. Supply only the fields to change. Omitted fields keep their current values. If…
- POSTList tags for resource
/#X-Amz-Target=OpenSearchMemory.ListTagsForResourceLists the tags for the specified space. - POSTTag resource
/#X-Amz-Target=OpenSearchMemory.TagResourceAdds the specified tags to the specified space. - POSTUntag resource
/#X-Amz-Target=OpenSearchMemory.UntagResourceRemoves the specified tags from the specified space.
API details
- Base URL
https://osm.{region}.amazonaws.com- Authentication
- AWS Signature Version 4 (requests signed with your AWS access key)
- Operations
- 20 operations on 20 pathsPOST 20
- Main resources
- Space 17
- Description format
- AWS Smithy model, API version
2026-08-24 - Links
- Documentation · OpenAPI document
- Listed from
- AWS Smithy API model (aws/api-models-aws) (Apache-2.0)
How to test the Amazon OpenSearch Memory in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Amazon OpenSearch Memory collection, without the publisher's secrets.
- Add your credentialsThis API uses AWS Signature Version 4 (requests signed with your AWS access key). Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Batch get event” (POST /#X-Amz-Target=OpenSearchMemory.BatchGetEvent), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Amazon OpenSearch Memory?
Amazon OpenSearch Memory lets your AI agents and applications recall facts and summaries across sessions. Your agents send events, such as conversation turns,… It is listed under Developer tools and has 20 endpoints.
Who publishes the Amazon OpenSearch Memory?
It is listed from Amazon Web Services, Inc.'s public API description (an OpenAPI document), not published by Amazon Web Services, Inc. on Swastik Codes. Anyone who controls amazonaws.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Amazon OpenSearch Memory?
Requests go to https://osm.{region}.amazonaws.com. Endpoint paths are added to this base URL.
How do I authenticate with the Amazon OpenSearch Memory?
With AWS Signature Version 4 (requests signed with your AWS access key).
How many endpoints does the Amazon OpenSearch Memory have?
20 operations on 20 paths (20 POST). The largest groups are Space.
Is forking the Amazon OpenSearch Memory free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.