v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1433660423.8 KB

Retrieves details about a specific session. For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.

get/sessions/{sessionIdentifier}/

Path parameters

sessionIdentifierstring required

A unique identifier for the session to retrieve. You can specify either the session's <code>sessionId</code> or its Amazon Resource Name (ARN).

Response

Success

createdAtstring date-time required

The timestamp for when the session was created.

encryptionKeyArnstring

The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the session data. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/session-encryption.html">Amazon Bedrock session encryption</a>.

lastUpdatedAtstring date-time required

The timestamp for when the session was last modified.

sessionArnstring required

The Amazon Resource Name (ARN) of the session.

sessionIdstring required

The unique identifier for the session in UUID format.

sessionMetadataobject

A map of key-value pairs containing attributes persisted across the session.

sessionStatus'ACTIVE' | 'EXPIRED' | 'ENDED' required

The current status of the session.