---
title: "GET /applications/{applicationId}/jobruns/{jobRunId}/attempts"
method: GET
path: "/applications/{applicationId}/jobruns/{jobRunId}/attempts"
---

# GET /applications/{applicationId}/jobruns/{jobRunId}/attempts

`GET /applications/{applicationId}/jobruns/{jobRunId}/attempts`

Lists all attempt of a job run.

## Path parameters

- `applicationId` string, required
- `jobRunId` string, required

## Query parameters

- `nextToken` string
- `maxResults` integer

## Response `200`

Success

- ListJobRunAttemptsResponse
  - `jobRunAttempts` JobRunAttemptSummary[], required — The array of the listed job run attempt objects.
    - `applicationId` string, required — The ID of the application the job is running on.
    - `id` string, required — The ID of the job run attempt.
    - `name` string — The name of the job run attempt.
    - `mode` 'BATCH' | 'STREAMING' — The mode of the job run attempt.
    - `arn` string, required — The Amazon Resource Name (ARN) of the job run.
    - `createdBy` string, required — The user who created the job run.
    - `jobCreatedAt` string, date-time, required — The date and time of when the job run was created.
    - `createdAt` string, date-time, required — The date and time when the job run attempt was created.
    - `updatedAt` string, date-time, required — The date and time of when the job run attempt was last updated.
    - `executionRole` string, required — The Amazon Resource Name (ARN) of the execution role of the job run..
    - `state` 'SUBMITTED' | 'PENDING' | 'SCHEDULED' | 'RUNNING' | 'SUCCESS' | 'FAILED' | 'CANCELLING' | 'CANCELLED' | 'QUEUED', required — The state of the job run attempt.
    - `stateDetails` string, required — The state details of the job run attempt.
    - `releaseLabel` string, required — The Amazon EMR release label of the job run attempt.
    - `type` string — The type of the job run, such as Spark or Hive.
    - `attempt` integer — The attempt number of the job run execution.
  - `nextToken` string — The output displays the token for the next set of application 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)
