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
  • 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 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 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
  • 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 Top

Response

Supported Media Types

200 Response

Get all details for a given step for given job execution
Body ()
Root Schema : Step
Type: object
Step resource
Match All
Step resource
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