---
title: "GET /code-interpreters/{codeInterpreterIdentifier}/sessions/get#sessionId"
method: GET
path: "/code-interpreters/{codeInterpreterIdentifier}/sessions/get#sessionId"
---

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

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

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`:

*   [StartCodeInterpreterSession](https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartCodeInterpreterSession.html)
    
*   [ListCodeInterpreterSessions](https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_ListCodeInterpreterSessions.html)
    
*   [StopCodeInterpreterSession](https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StopCodeInterpreterSession.html)

## Path parameters

- `codeInterpreterIdentifier` string, required

## Query parameters

- `sessionId` string, required

## Response `200`

Success

- GetCodeInterpreterSessionResponse
  - `codeInterpreterIdentifier` string, required — The identifier of the code interpreter.
  - `sessionId` string, required — The identifier of the code interpreter session.
  - `name` string — The name of the code interpreter session.
  - `createdAt` string, date-time, required — The time at which the code interpreter session was created.
  - `sessionTimeoutSeconds` integer — 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.
  - `certificates` Certificate[] — The list of certificates installed in the code interpreter session.
    - `location` object, required — The location of the certificate.
      - `secretsManager` object — The Amazon Web Services Secrets Manager location of the certificate.
        - `secretArn` string, required — The ARN of the Amazon Web Services Secrets Manager secret containing the certificate.

## Other responses

- `480` — AccessDeniedException
- `481` — ValidationException
- `482` — ResourceNotFoundException
- `483` — ThrottlingException
- `484` — InternalServerException

---

[API](https://skmtc.net/aws/apis/bedrock-agentcore.md) · [All operations](https://skmtc.net/aws/apis/bedrock-agentcore/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/bedrock-agentcore/versions/79623b33d495/schema)
