v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1465766489.0 KB

Lists events in an AgentCore Memory resource based on specified criteria. We recommend using pagination to ensure that the operation returns quickly and successfully.

To use this operation, you must have the bedrock-agentcore:ListEvents permission.

post/memories/{memoryId}/actor/{actorId}/sessions/{sessionId}

Path parameters

memoryIdstring required

The identifier of the AgentCore Memory resource for which to list events.

sessionIdstring required

The identifier of the session for which to list events.

actorIdstring required

The identifier of the actor for which to list events.

Request body

includePayloadsboolean

Specifies whether to include event payloads in the response. Set to true to include payloads, or false to exclude them.

maxResultsinteger

The maximum number of results to return in a single call. The default value is 20.

nextTokenstring

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

Response

Success

nextTokenstring

The token to use in a subsequent request to get the next set of results. This value is null when there are no more results to return.