---
title: "GET /applications/{applicationId}/sessions/{sessionId}"
method: GET
path: "/applications/{applicationId}/sessions/{sessionId}"
---

# GET /applications/{applicationId}/sessions/{sessionId}

`GET /applications/{applicationId}/sessions/{sessionId}`

Displays detailed information about a session.

## Path parameters

- `applicationId` string, required
- `sessionId` string, required

## Response `200`

Success

- GetSessionResponse
  - `session` object, required — The output displays information about the session.
    - `applicationId` string, required — The ID of the application that the session belongs to.
    - `sessionId` string, required — The ID of the session.
    - `arn` string, required — The Amazon Resource Name (ARN) of the session.
    - `name` string — The optional name of the session.
    - `state` 'SUBMITTED' | 'STARTING' | 'STARTED' | 'IDLE' | 'BUSY' | 'FAILED' | 'TERMINATING' | 'TERMINATED', required — The state of the session.
    - `stateDetails` string, required — Additional details about the current state of the session.
    - `releaseLabel` string, required — The Amazon EMR release label associated with the session.
    - `executionRoleArn` string, required — The Amazon Resource Name (ARN) of the execution role for the session.
    - `createdBy` string, required — The IAM principal that created the session.
    - `createdAt` string, date-time, required — The date and time that the session was created.
    - `updatedAt` string, date-time, required — The date and time that the session was last updated.
    - `startedAt` string, date-time — The date and time that the session moved to a running state.
    - `endedAt` string, date-time — The date and time that the session was terminated or failed.
    - `idleSince` string, date-time — The date and time that the session became idle.
    - `configurationOverrides` object — The configuration overrides for the session, including runtime configuration properties.
      - `runtimeConfiguration` Configuration[] — The runtime configuration for the session. Contains Spark configuration properties specified at session creation time.
        - `classification` string, required — The classification within a configuration.
        - `properties` unknown
        - `configurations` Configuration[] — A list of additional configurations to apply within a configuration object.
    - `networkConfiguration` object — The network configuration for customer VPC connectivity for the session.
      - `subnetIds` SubnetString[] — The array of subnet Ids for customer VPC connectivity.
      - `securityGroupIds` SecurityGroupString[] — The array of security group Ids for customer VPC connectivity.
    - `idleTimeoutMinutes` integer — The idle timeout in minutes for the session. After the session remains idle for this duration, it is automatically terminated.
    - `tags` object — The tags assigned to the session.
    - `totalResourceUtilization` object — The aggregate vCPU, memory, and storage resources used from the time the session starts to execute, until the time the session terminates, rounded up to the nearest second.
      - `vCPUHour` number, double — The aggregated vCPU used per hour from the time job start executing till the time job is terminated.
      - `memoryGBHour` number, double — The aggregated memory used per hour from the time job start executing till the time job is terminated.
      - `storageGBHour` number, double — The aggregated storage used per hour from the time job start executing till the time job is terminated.
    - `billedResourceUtilization` object — The aggregate vCPU, memory, and storage that Amazon Web Services has billed for the session. The billed resources include a 1-minute minimum usage for workers, plus additional storage over 20 GB per worker. Note that billed resources do not include usage for idle pre-initialized workers.
      - `vCPUHour` number, double — The aggregated vCPU used per hour from the time the job starts executing until the job is terminated.
      - `memoryGBHour` number, double — The aggregated memory used per hour from the time the job starts executing until the job is terminated.
      - `storageGBHour` number, double — The aggregated storage used per hour from the time the job starts executing until the job is terminated.
    - `totalExecutionDurationSeconds` integer — The total execution duration of the session in seconds.

## Other responses

- `480` — ValidationException
- `481` — InternalServerException
- `482` — ResourceNotFoundException

---

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