List steps

get

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

Get a list of steps. Use path parameters jobId=all and executionId=all to list steps across all jobs and executions when specific IDs are not supplied. The endpoint path is `/jobs/{jobId}/executions/{executionId}/steps`; there is no `/jobs/steps` endpoint. The path parameters are required. Never call this endpoint with literal placeholders such as `{jobId}` or `{executionId}`. If the user asks for all steps, steps across jobs, steps across executions, or steps with errors and does not provide IDs, set `jobId=all` and `executionId=all`. When the user asks for scheduled steps in a time window, treat it as a step query. This includes windows such as next minute, next hour, today, tomorrow, next day, next week, next month, or explicit start/end timestamps. Call ListSteps with jobId=all and executionId=all when specific IDs are not supplied, statusDisplayName=SCHEDULED, and the appropriate startTimeGreaterThan/startTimeLessThan bounds. `jobId` and `executionId` are path parameters, not query parameters: generate `/jobs/all/executions/all/steps?...`, never `/jobs/executions/steps?jobId=all&executionId=all...` and never `/jobs/steps?...`. Never call this endpoint with literal `{jobId}` or `{executionId}` placeholders. When presenting scheduled step results, render the actual `items[]` returned by the response. Include `stepId`, `executionId`, `jobId`, `jobName`, `name`, `statusDisplayName`, and `startTime` so repeated step names or recurring executions 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. For the first page, do not pass `page`; `page` is optional and only used for subsequent pages when copied from a previous response's `links.next` or `nextPage`. To find steps with non-empty error messages, call ListSteps with include value `error`, then filter the returned items client-side for a non-empty `error` field. Continue with the returned next page token/link if more pages are needed. Only report the actual `error` text returned by the API. Do not invent placeholder text such as `[Error details from step 4005]`. If a returned item has no `error` field or an empty/null value, do not count it as a step with a non-empty error message. If the user asks for a specific step by step id, prefer GetStep with jobId=all and executionId=all when jobId or executionId are not supplied. Do not use broad time-window ListSteps searches to answer a specific step error/output request when a step id is available. Use GetStep when stepId is known. Use steps to find the detailed unit of work behind a job execution result.

Request

Path Parameters
  • Job execution id, or `all` only for endpoints that explicitly support cross-execution lookup. Use `all` when the user asks for steps across all executions and does not specify an execution id. For ListSteps, if the user asks for all steps, steps with errors, or steps across jobs and does not provide an execution id, set this required path parameter to `all`. Use `all` on GetStep when the user supplies a concrete step id but does not supply an execution id. Do not leave the placeholder value `{executionId}` in the URL. If the user asks for a single execution resource, execution targets, or execution parameters, call ListExecutions first to resolve a real execution id.
  • Job Dispatcher Id
  • 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.
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
  • Step id filter for ListSteps. To list multiple specific steps in one request, repeat the query parameter, for example `id=4001&id=4003`. Do not pass comma-separated ids such as `id=4001,4003`. For a single specific step error/output request, prefer GetStep with path parameter stepId and use jobId=all and executionId=all if only stepId is known.
  • Repeat the include query parameter for each requested value. Valid values are `total`, `error`, and `output`. When calling generated tools, pass `include` as an array of separate values: total, error, output. For multiple values, construct the URL as `include=output&include=error`, not `include=output,error`. If include=total information about total number of returned records will be included in the response. If include=error then the `error` field is added when a step has an error message. The field may be absent or null for steps without an error; clients must filter for non-empty `error` values and must not invent error text. If include=output then the `output` field is added when a step has output. The field may be absent or null for steps without output; clients must not invent output text. For failure analysis of a job, execution, or step, request both output and error and base the explanation on those returned fields.
    • Allowed Values: [ "total", "error", "output" ]
  • 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
  • Resource name matching specific string
  • Resource name matching SQL-LIKE pattern (use % wildcard), for example %MG_RETRY%
  • Oms name matching specific string
  • Oms name matching specific string filter with wildcards
  • pointer for the next set of records in pagination
  • 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 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`.
  • Resource type matching specific string value

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

list of all steps for given job execution
Body ()
Root Schema : StepCollection
Type: object
A collection of Job executions steps
Show Source
Match All
A collection of Job executions steps
Show Source
Nested Schema : items
Type: array
list of steps
Show Source
Nested Schema : BaseProperties
Type: object
Abstract collection of summary objects for LIST operations
Show Source
Nested Schema : StepSummary
Type: object
An object representing a Job execution step.
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