---
title: "GET /applications/{applicationId}/batch-job-executions"
method: GET
path: "/applications/{applicationId}/batch-job-executions"
---

# GET /applications/{applicationId}/batch-job-executions

`GET /applications/{applicationId}/batch-job-executions`

Lists historical, current, and scheduled batch job executions for a specific application.

## Path parameters

- `applicationId` string, required

## Query parameters

- `executionIds` Identifier[]
- `jobName` string
- `maxResults` integer
- `nextToken` string
- `startedAfter` string, date-time
- `startedBefore` string, date-time
- `status` 'Submitting' | 'Holding' | 'Dispatching' | 'Running' | 'Cancelling' | 'Cancelled' | 'Succeeded' | 'Failed' | 'Purged' | 'Succeeded With Warning'

## Response `200`

Success

- ListBatchJobExecutionsResponse
  - `batchJobExecutions` BatchJobExecutionSummary[], required — Returns a list of batch job executions for an application.
    - `applicationId` string, required — The unique identifier of the application that hosts this batch job.
    - `batchJobIdentifier` object — The unique identifier of this batch job.
      - `fileBatchJobIdentifier` object — Specifies a file associated with a specific batch job.
        - `fileName` string, required — The file name for the batch job identifier.
        - `folderPath` string — The relative path to the file name for the batch job identifier.
      - `restartBatchJobIdentifier` object — Specifies the required information for restart, including <code>executionId</code> and <code>JobStepRestartMarker</code>.
        - `executionId` string, required — The <code>executionId</code> from the <code>StartBatchJob</code> response when the job ran for the first time.
        - `jobStepRestartMarker` object, required — The step/procedure step information for a restart batch job operation.
          - `fromProcStep` string — The procedure step name that a batch job was restarted from.
          - `fromStep` string, required — The step name that a batch job was restarted from.
          - `skip` boolean — The step-level checkpoint timestamp (creation or last modification) for an Amazon Web Services Blu Age application batch job.
          - `stepCheckpoint` integer — Skip selected step and issue a restart from immediate successor step for an Amazon Web Services Blu Age application batch job.
          - `toProcStep` string — The procedure step name that a batch job was restarted to.
          - `toStep` string — The step name that a batch job was restarted to.
      - `s3BatchJobIdentifier` object — Specifies an Amazon S3 location that identifies the batch jobs that you want to run. Use this identifier to run ad hoc batch jobs.
        - `bucket` string, required — The Amazon S3 bucket that contains the batch job definitions.
        - `identifier` object, required — Identifies the batch job definition. This identifier can also point to any batch job definition that already exists in the application or to one of the batch job definitions within the directory that is specified in <code>keyPrefix</code>.
          - `fileName` string — The name of the file that contains the batch job definition.
          - `scriptName` string — The name of the script that contains the batch job definition.
        - `keyPrefix` string — The key prefix that specifies the path to the folder in the S3 bucket that has the batch job definitions.
      - `scriptBatchJobIdentifier` object — A batch job identifier in which the batch job to run is identified by the script name.
        - `scriptName` string, required — The name of the script containing the batch job definition.
    - `endTime` string, date-time — The timestamp when this batch job execution ended.
    - `executionId` string, required — The unique identifier of this execution of the batch job.
    - `jobId` string — The unique identifier of a particular batch job.
    - `jobName` string — The name of a particular batch job.
    - `jobType` 'VSE' | 'JES2' | 'JES3' — The type of a particular batch job execution.
    - `returnCode` string — The batch job return code from either the Blu Age or Micro Focus runtime engines. For more information, see <a href="https://www.ibm.com/docs/en/was/8.5.5?topic=model-batch-return-codes">Batch return codes</a> in the <i>IBM WebSphere Application Server</i> documentation.
    - `startTime` string, date-time, required — The timestamp when a particular batch job execution started.
    - `status` 'Submitting' | 'Holding' | 'Dispatching' | 'Running' | 'Cancelling' | 'Cancelled' | 'Succeeded' | 'Failed' | 'Purged' | 'Succeeded With Warning', required — The status of a particular batch job execution.
  - `nextToken` string — A pagination token that's returned when the response doesn't contain all batch job executions.

## Other responses

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

---

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