/workflows/missing_sla
Lists workflows with missed SLA.
Request
GET http://unravel-host
:3000/api/v1/workflows/missing_sla?from={date}&to={date}
Path parameters
None.
Query parameters
Name | Type | Description |
---|---|---|
| string | Start date. Format |
| string | End date. Format |
Response body
{ "duration": 0, "avgDuration": 0, "user": "string", "name": "string" }
Name | Type | Description |
---|---|---|
[No name] | array | JSON structure containing a JSON structure for each missed SLA |
Examples
Request:
curl -X GET "http://myserver.com:3000/api/v1/workflows/missing_sla?from=2019-02-01&to=2019-03-06" -H "accept: application/json" -H "Authorization: JWT token
"
Response where there are no missed SLAs:
[ ]
Response where there's one missed SLA:
{ "Benchmark: Road_Accident_2005-2016": { "key": "Benchmark: Road_Accident_2005-2016", "doc_count": 565, "duration_stats": { "count": 565, "min": 21000, "max": 772000, "avg": 174877.8761061947, "sum": 98806000, "sum_of_squares": 17972790000000, "variance": 1227976236.197041, "std_deviation": 35042.49186626204, "std_deviation_bounds": { "upper": 244962.85983871878, "lower": 104792.8923736706 } } } }