List executions

get

https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/jobs/{jobId}/executions

Get a list of executions. Use path parameter jobId=all to list executions across all jobs when a specific job ID is not supplied. Use this endpoint when the user asks for job results, run results, success/failure, or runtime status. When the user asks for scheduled jobs or executions in a time window, treat it as an execution query. This includes windows such as next minute, next hour, today, tomorrow, next day, next week, next month, or explicit start/end timestamps. Call ListExecutions with jobId=all when no specific job id is supplied, statusDisplayName=SCHEDULED, and the appropriate startTimeGreaterThan/startTimeLessThan bounds. `jobId` is a path parameter, not a query parameter: generate `/jobs/all/executions?...`, never `/jobs/executions?jobId=all...`. Never call this endpoint with a literal `{jobId}` placeholder. When presenting scheduled execution results, render the actual `items[]` returned by the response. Include `executionId`, `jobId`, `jobName`, `jobType`, and `scheduledTime` so recurring executions and repeated job definitions are distinguishable. Do not duplicate the first item, do not invent rows, and do not summarize the rest as "same pattern" unless the returned items are actually identical. When the user asks why a job or execution failed, use this endpoint to identify the relevant execution, then retrieve steps and call GetStep with both include=output and include=error for the relevant steps. Base the failure analysis on returned step output and error text, not on execution status alone. When the user asks for parameters of multiple executions, such as parameters of the last 10 executions, call this endpoint once with expand=parameters and limit set to the requested number. Do not call ListExecutionParameters once per execution unless expanded parameters are missing or the user asks for a specific execution only.

Request

Path Parameters
  • Job id, or `all` only for endpoints that explicitly support cross-job lookup. Use `all` when the user asks for executions or steps across all jobs and does not specify a job id. For ListSteps, if the user asks for all steps, steps with errors, or steps across executions and does not provide a job id, set this required path parameter to `all`. Use `all` on GetExecution when the user supplies a concrete execution id but does not supply a job id. Use `all` on GetStep when the user supplies a concrete step id but does not supply a job id. Do not leave the placeholder value `{jobId}` in the URL. If the user asks for a single job resource, job targets, or job parameters, call ListJobs first to resolve a real job id.
  • Job configuration parameter name
Query Parameters
  • Resource end time matching specific string
  • Resource end time greater than specific string value
    Match All
    • Custom date time ranges for startTime and endTime value. Time for the job in the ISO-8601 format, YYYY-MM-DD'T'HH24:Mi:ss[.SSS][Z], where Z stands for Timezone, which is either 'Z' (UTC) or the offset to UTC in format +-hh:mm. If no timezone is specified, the time is assumed in server local time.
    • type
  • Resource end time lower than specific string value
    Match All
    • Custom date time ranges for startTime and endTime value. Time for the job in the ISO-8601 format, YYYY-MM-DD'T'HH24:Mi:ss[.SSS][Z], where Z stands for Timezone, which is either 'Z' (UTC) or the offset to UTC in format +-hh:mm. If no timezone is specified, the time is assumed in server local time.
    • type
  • Repeat the expand query parameter for each requested collection. Valid values are `steps`, `targets`, and `parameters`. When calling generated tools, pass `expand` as an array of separate values: parameters, targets, steps. Do not pass a URL query fragment such as `parameters&expand=targets` as the `expand` argument value. For multiple values, construct the URL as `expand=steps&expand=parameters&expand=targets`, not `expand=steps,parameters,targets`. When the user asks for parameters of multiple executions, such as the last 10 executions, call ListExecutions once with expand=parameters and an appropriate limit. Do not issue one ListExecutionParameters call per execution unless the expanded response is insufficient or the user asks for a specific execution only. When the user asks for all expanded additional details for a given execution, call GetExecution once with expand values `steps`, `parameters`, and `targets`; do not issue three separate child collection requests unless the expanded response is insufficient or the user asks separately. If expand=steps then step collection will be added to the response. If expand=targets then target collection will be added to the response. If expand=parameters then parameter collection will be added to the response.
    • Allowed Values: [ "steps", "targets", "parameters" ]
  • Resource id filter for collection endpoints. To filter by multiple resource ids in one request, repeat the query parameter, for example `id=&id=`. Do not pass comma-separated ids such as `id=,`. For ListJobs this filters job ids. For ListExecutions this filters execution ids.
  • If include=total information about total number of returned records will be included in the response
  • Job name
  • Job name matching SQL-LIKE pattern (use % wildcard), for example %RETRY%
  • jobType can be used in /jobQueues query to filter resulting queues - only queues containing an execution with particular job type name are returned
  • jobTypeMatches can be used in /jobQueues query to filter resulting queues - only queues containing an execution with job type name matching the mask are returned. It uses standard SQL LIKE wildcard notation, '%' for zero, one or more characters and '_' for exactly one character.
  • Limit the number of returned items on the page
  • pointer for the next set of records in pagination
  • Parameter matching specific string filter value with wildcards. If this parameter is used with get jobs or with get executions it will automatically set expand=parameters.
  • Resource start time matching specific string
  • Resource start time greater than specific string value
    Match All
    • Custom date time ranges for startTime and endTime value. Time for the job in the ISO-8601 format, YYYY-MM-DD'T'HH24:Mi:ss[.SSS][Z], where Z stands for Timezone, which is either 'Z' (UTC) or the offset to UTC in format +-hh:mm. If no timezone is specified, the time is assumed in server local time.
    • type
  • Resource start time lower than specific string value
    Match All
    • Custom date time ranges for startTime and endTime value. Time for the job in the ISO-8601 format, YYYY-MM-DD'T'HH24:Mi:ss[.SSS][Z], where Z stands for Timezone, which is either 'Z' (UTC) or the offset to UTC in format +-hh:mm. If no timezone is specified, the time is assumed in server local time.
    • type
  • Resource status numeric code supplied as a string query value. Do not use display labels such as `Active`, `Suspended`, `FAILED`, or `COMPLETED` with this filter. Use `statusDisplayName` when the user provides a human-readable status string.
  • Resource status bucket matching specific string
  • Resource status bucket display name matching a specific string.
    Allowed Values: [ "BUCKET_SCHEDULED", "BUCKET_RUNNING", "BUCKET_ACTION_REQUIRED", "BUCKET_SUSPENDED", "BUCKET_OK", "BUCKET_PROBLEM", "BUCKET_RTL_EXCEEDED", "BUCKET_SKIPPED" ]
  • Resource status display name matching a specific string. For jobs, use one of `Active`, `Suspended`, `Stopped`, `Reassigned`, `Expired`, `Delete Pending`. For executions and steps, use one of `SCHEDULED`, `EXECUTING`, `ABORTED`, `FAILED`, `COMPLETED`, `SUSPENDED_USER`, `SUSPENDED_AGENT_DOWN`, `STOPPED`, `SUSPENDED_LOCK`, `SUSPENDED_EVENT`, `SUSPENDED_BLACKOUT`, `STOP_PENDING`, `SUSPEND_PENDING`, `INACTIVE`, `QUEUED`, `FAILURE_RETRIED`, `WAITING`, `SKIPPED`, `DELETE_PENDING`, `REASSIGNED`, `MISSING_CREDS`, `ACTION_REQUIRED`, `RTL_EXCEEDED`, `STOP_PROCESSING`, `NON_STOPPABLE`, `BROKEN_TARGET`, `IGNORED`, `BROKEN_CA`.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

list of all job executions
Body ()
Root Schema : ExecutionCollection
Type: object
This is the representation of list of Executions.
Show Source
Match All
This is the representation of list of Executions.
Show Source
Nested Schema : items
Type: array
The list of executions
Show Source
Nested Schema : ExecutionSummary
Type: object
This is the representation of an Execution.
Match All
This is the representation of an Execution.
Show Source
Nested Schema : ExecutionDetails
Type: object
It represents an execution.
Show Source
Nested Schema : runtimeData
Type: object
Execution run time data
Match All
Execution run time data
Show Source
Nested Schema : InstanceData
Type: object
This is the representation of instance submission data.
Match All
This is the representation of instance submission data.
This is the representation of instance submission data.
Show Source
Nested Schema : DeploymentProcedureTargetList
Type: array
Defining list of procedure targets
Show Source
Nested Schema : DeploymentProcedureVariableCollection
Type: object
Collections of Procedure Variable
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : DeploymentProcedureTargetCollection
Type: object
Collections of Procedure Target
Show Source
Nested Schema : items
Type: array
The list of targets
Show Source
Nested Schema : DeploymentProcedureTargetSummary
Type: object
This is the representation of Procedure Target
Match All
This is the representation of Procedure Target
Show Source
Nested Schema : DeploymentProcedureTargetDetails
Type: object
Defining Target for Deployment Procedure
Show Source
Nested Schema : CredentialReference
Type: array
This is the representation of credential references.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: array
The list of procedure variables
Show Source
Nested Schema : DeploymentProcedureVariableSummary
Type: object
This is the representation of Procedure Variable
Match All
This is the representation of Procedure Variable
Show Source
Nested Schema : DeploymentProcedureVariableDetails
Type: object
Defining Variable for Deployment Procedure
Show Source

400 Response

Bad Request
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported

401 Response

Unauthorized
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported

500 Response

Internal Server Error
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported

503 Response

Service Unavailable
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported
Back to Top