AWS Batch

List all AWS Batch jobs owned by the requesting user

Lists AWS Batch jobs across all visible job queues (tagged with edh:visibility:<ClusterId> = true). Only jobs with matching soca_JobOwner and soca_ClusterId tags are returned. Optionally filter by a specific job queue or job status.

get/api/containers/batch/jobs

Query parameters

job_queuestring

ARN or name of a specific job queue to list jobs from. If omitted, jobs from all visible queues are returned.

job_status'SUBMITTED' | 'PENDING' | 'RUNNABLE' | 'STARTING' | 'RUNNING' | 'SUCCEEDED' | 'FAILED'

Filter jobs by status. If omitted, all statuses are returned.

time_rangeinteger

Time range in hours to look back for jobs. Only jobs created within this window are returned. Defaults to 24 hours.

Headers

X-EDH-USERstring required

SOCA username for authentication

X-EDH-TOKENstring required

SOCA authentication token

Response

Jobs retrieved successfully

successboolean required

Example response

{
  "success": true
}

Changes