Get all details for a given step for a given job execution
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/jobs/{jobId}/executions/{executionId}/steps/{stepId}
Get all details for a given step for a given job execution. Prefer this endpoint for specific step error/output requests when stepId is known. Use jobId=all and executionId=all if the user supplies only stepId. Repeat the include query parameter, for example include=output&include=error, when the user asks for execution output, errors, detailed job results, or why a job, execution, or step failed. Failure analysis must be based on the returned step `output` and `error` fields, not on status fields alone.
Request
Path Parameters
-
executionId(required): string
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.
-
jobId(required): string
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.
-
stepId(required): string
Job execution step id. For a specific step request, use GetStep with this path parameter rather than a broad ListSteps search. Use jobId=all and executionId=all if only stepId is known.
Query Parameters
-
include: array[string]
Repeat the include query parameter for each requested value. Valid values are `error` and `output`. When calling generated tools, pass `include` as an array of separate values: error, output. For multiple values, construct the URL as `include=output&include=error`, not `include=output,error`. 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:
[ "error", "output" ]
-
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Get all details for a given step for given job execution
Root Schema : Step
Type:
objectStep resource
Match All
Step resource
Show Source
-
object
StepSummary
An object representing a Job execution step.
Nested Schema : StepSummary
Type:
objectAn object representing a Job execution step.
Show Source
-
commandType(required): number
Type of the step command type
-
dispatcherId(required): string
Id of dispatcher where job execution step run
-
endTime: string
End time of job execution
-
error: string
Error of job execution step
-
executionId(required): string
Job execution id
-
id(required): number
Id of the job execution step
-
jobId(required): string
Job id
-
jobName(required): string
Job name
-
jobType: string
Job type
-
links(required): object
SelfLink
A link to self
-
name(required): string
Name of the job execution step
-
omsName(required): string
Name of dispatcher where job execution step run
-
output: string
Output of job execution step
-
retryCount: number
Number of retries for this step
-
startTime(required): string
Actual start time of job execution
-
status(required): number
Step status
-
statusDisplayName(required): string
Allowed Values:
[ "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" ]Internal display name of job execution step status. Values come from `JobEngineConstants.getStatusName(status)`. -
type(required): number
Type of the job execution step
Nested Schema : SelfLink
Type:
objectA link to self
Show Source
-
self(required): object
Link
A link referencing to another api
Nested Schema : Link
Type:
objectA link referencing to another api
Show Source
-
href: string
the reference
400 Response
Bad Request
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
401 Response
Unauthorized
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
500 Response
Internal Server Error
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
503 Response
Service Unavailable
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported