---
title: "GET /portals/{portalId}/sessions/{sessionId}"
method: GET
path: "/portals/{portalId}/sessions/{sessionId}"
---

# GET /portals/{portalId}/sessions/{sessionId}

`GET /portals/{portalId}/sessions/{sessionId}`

Gets information for a secure browser session.

## Path parameters

- `portalId` string, required
- `sessionId` string, required

## Response `200`

Success

- GetSessionResponse
  - `session` object — The sessions in a list.
    - `portalArn` string — The ARN of the web portal.
    - `sessionId` string — The ID of the session.
    - `username` string, password — The username of the session.
    - `clientIpAddresses` IpAddress[] — The IP address of the client.
    - `status` 'Active' | 'Terminated' — The status of the session.
    - `startTime` string, date-time — The start time of the session.
    - `endTime` string, date-time — The end time of the session.

## Other responses

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

---

[API](https://skmtc.net/aws/apis/workspaces-web.md) · [All operations](https://skmtc.net/aws/apis/workspaces-web/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/workspaces-web/versions/4206b0208021/schema)
