GetMemory - Amazon Bedrock AgentCore Control

GetMemory

Retrieve an existing memory.

Request Syntax

GET /memories/memoryId/details HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

memoryId

The unique identifier of the memory to retrieve.

Length Constraints: Minimum length of 12.

Pattern: [a-zA-Z][a-zA-Z0-9-_]{0,99}-[a-zA-Z0-9]{10}

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "memory": { "arn": "string", "createdAt": number, "description": "string", "encryptionKeyArn": "string", "eventExpiryDuration": number, "failureReason": "string", "id": "string", "memoryExecutionRoleArn": "string", "name": "string", "status": "string", "strategies": [ { "configuration": { "consolidation": { ... }, "extraction": { ... }, "type": "string" }, "createdAt": number, "description": "string", "name": "string", "namespaces": [ "string" ], "status": "string", "strategyId": "string", "type": "string", "updatedAt": number } ], "updatedAt": number } }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

memory

The retrieved memory details.

Type: Memory object

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDeniedException

This exception is thrown when a request is denied per access permissions

HTTP Status Code: 403

ResourceNotFoundException

This exception is thrown when a resource referenced by the operation does not exist

HTTP Status Code: 404

ServiceException

An internal error occurred.

HTTP Status Code: 500

ThrottledException

API rate limit has been exceeded.

HTTP Status Code: 429

ValidationException

The input fails to satisfy the constraints specified by the service.

HTTP Status Code: 400

See Also

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