v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1465766489.0 KB

Retrieves detailed information about a specific code interpreter session in Amazon Bedrock AgentCore. This operation returns the session's configuration, current status, and metadata.

To get a code interpreter session, you must specify both the code interpreter identifier and the session ID. The response includes information about the session's timeout settings and current status.

The following operations are related to GetCodeInterpreterSession:

get/code-interpreters/{codeInterpreterIdentifier}/sessions/get#sessionId

Path parameters

codeInterpreterIdentifierstring required

The unique identifier of the code interpreter associated with the session.

Query parameters

sessionIdstring required

The unique identifier of the code interpreter session to retrieve.

Response

Success

codeInterpreterIdentifierstring required

The identifier of the code interpreter.

sessionIdstring required

The identifier of the code interpreter session.

namestring

The name of the code interpreter session.

createdAtstring date-time required

The time at which the code interpreter session was created.

sessionTimeoutSecondsinteger

The timeout period for the code interpreter session in seconds.

status'READY' | 'TERMINATED'

The current status of the code interpreter session. Possible values include ACTIVE, STOPPING, and STOPPED.