Summarize execution results

post

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

Action to summarize execution KPIs and aggregate job run results. Use this for success/failure, runtime status, status bucket, or result summary questions. Parameters summarizeBy with list of items to summarize and optionally creationTime attributes to set date/time boundaries. Possible summarizeBy values are status, statusBucket and statusGroup. Without parameters return total count. When the user asks to summarize executions by status group, the request body must include `summarizeBy: ["statusGroup"]`.

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.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
A on object json body for summarize of executions and steps
Show Source
Match All
A on object json body for summarize of executions and steps
Show Source
Nested Schema : Summarize
Type: object
An object representing summarizing result
Show Source
Nested Schema : summarizeBy
Type: array
List of filters to summarize on
Show Source
Back to Top

Response

Supported Media Types

200 Response

Result of the execution summarize
Body ()
Root Schema : SummarizeResult
Type: array
An json object returned as result of summarize actions
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : SummarizeResultItem
Type: object
Item returned as result of summarize actions for specific summarizeBy parameter
Show Source
Nested Schema : items
Type: array
list of calculated values
Show Source

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