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
-
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.
Supported Media Types
- application/json
Root Schema : schema
Type:
objectA on object json body for summarize of executions and steps
Show Source
-
endTime: string
end date
-
endTimeGreaterThan: string
start date time greater than
-
endTimeLessThan: string
start date time less than
-
startTime: string
start date time
-
startTimeGreaterThan: string
start date time greater than
-
startTimeLessThan: string
start date time less than
Match All
A on object json body for summarize of executions and steps
Show Source
Nested Schema : Summarize
Type:
objectAn object representing summarizing result
Show Source
-
summarizeBy(required): array
summarizeBy
List of filters to summarize on
Nested Schema : summarizeBy
Type:
arrayList of filters to summarize on
Show Source
-
Array of:
string
filter to summarize on
Response
Supported Media Types
- application/json
200 Response
Result of the execution summarize
Root Schema : SummarizeResult
Type:
arrayAn json object returned as result of summarize actions
Show Source
Nested Schema : items
Type:
Show Source
object-
items: object
SummarizeResultItem
Item returned as result of summarize actions for specific summarizeBy parameter
Nested Schema : SummarizeResultItem
Type:
objectItem returned as result of summarize actions for specific summarizeBy parameter
Show Source
-
items: array
items
list of calculated values
-
summarizeBy: string
filter on which we are doing summary
-
total(required): string
total number of summarized items by specific filter
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