Get the history metrics summary for all workflows by entity

get/entity/processes/history/metrics
Internal-Use Only

Retrieves the history metrics summary for all workflows by entity. The returned items are of type application/vnd.sas.investigation.workflow.historical.metrics.summary+json.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "self",
6 "href": "/workflows/processes",
7 "uri": "/workflows/processes",
8 "type": "application/vnd.sas.collection"
9 }
10 ],
11 "name": "workflowProcessHistoryMetricSummary",
12 "accept": "application/vnd.sas.investigation.workflow.historical.metrics.summary",
13 "start": 0,
14 "count": 1,
15 "items": [
16 {
17 "version": 1,
18 "name": "person",
19 "id": "person",
20 "label": "Person",
21 "meanTimePerTask": 8861798.406982422,
22 "medianTimePerTask": 4412228.406982422,
23 "timeOnCompletedTasks": 1906564,
24 "timeOnUncompletedTasks": 104435016.88378906,
25 "meanTimePerTaskClaimTimeBasis": 8643283.656982422,
26 "medianTimePerTaskClaimTimeBasis": 3508049.406982422,
27 "timeOnCompletedTasksClaimTimeBasis": 103719403.88378906,
28 "timeOnUncompletedTasksClaimTimeBasis": 103712036.88378906,
29 "workflowNames": [
30 {
31 "id": "person_workflow",
32 "name": "Person Workflow"
33 }
34 ]
35 }
36 ],
37 "limit": 1,
38 "version": 2
39}

Query Parameters

NameTypeRequiredDescription
assignee
string
false

Filters on tasks worked on by this user.

containsTaskName
string
false

Filters for all task names that contain this value.

containsWorkflowName
string
false

Filters for all tasks whose workflow name contain this value.

endedAt
string<date-time>
false

Filters based on this end timestamp.

fields
string
false

The comma-separated list of resource members to return in the collection.

filter
string
false

Filters the collection using prefix function syntax using selected resource members.

includeCancelledTasks
boolean
false

Includes tasks whose processes were canceled.

Default:
false
includeUnclaimedTasks
boolean
false

Includes those tasks not currently assigned.

Default:
false
limit
integer<int32>
false

The number of items that were requested for the collection.

Default:
10
sortBy
string
false

The sorting preference for selected resource members in the returned collection.

Default:
id:ascending
start
integer<int64>
false

The zero-based index of the first item in the collection.

Default:
0
startedAt
string<date-time>
false

Filters based on this start timestamp.

taskDefinitionId
string
false

Filters on the specific task.

taskName
string
false

Filters on the task name.

workflowName
string
false

Filters on the workflow name.

Responses

StatusMeaningDescription
200OKThe operation was successfulSchema