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

# GET /applications/{applicationId}/sessions

`GET /applications/{applicationId}/sessions`

Lists sessions for the specified application. You can filter sessions by state and creation time.

## Path parameters

- `applicationId` string, required

## Query parameters

- `nextToken` string
- `maxResults` integer
- `states` SessionState[]
- `createdAtAfter` string, date-time
- `createdAtBefore` string, date-time

## Response `200`

Success

- ListSessionsResponse
  - `sessions` SessionSummary[], required — The output lists information about the specified sessions.
    - `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.
  - `nextToken` string — The output displays the token for the next set of session results. This is required for pagination and is available as a response of the previous request.

## 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)
