GET   checks/aggregated?mostrecent={mostrecent}&detail_level={detail_level}&scope={scope}

Gets aggregated data and SLA for the most recent periods in a scope. Note: Only the checks visible to the user will be retrieved.

URL Parameters

NameDescription
mostrecent

Number of most recent periods back (ie 3 days back if the scope is day). Type: numeric. Default value: 4.

detail_level

Result detalization level. Allowed values: 0, 1. Default value: 0.

scope

String representation of scope. Allowed values: y, q, m, w, d, h (where "y" is year, "h" is hour, etc). Default value: h.

Remarks

The default context for the route is the user context. To enable customer context (if it's allowed for the user) use the request query parameter customer_context=1.

Responses

Response body model examples and descriptions

When result detalization level is 0

[
  {
    "check_id": 1,
    "check_name": "sample string 2",
    "sla_records": [
      {
        "unit": "ms",
        "avg_attempts": 1.2,
        "avg": 583.0,
        "mdn": 522.0,
        "max": 1187,
        "min": 347,
        "std": 201.0,
        "from_utc": "2013-09-26T15:00:00",
        "to_utc": "2013-09-26T15:59:59",
        "sla_percent": 90.0,
        "total_count": 10,
        "i_count": 7,
        "w_count": 2,
        "e_count": 0,
        "f_count": 1,
        "u_count": 0
      },
      {
        "unit": "ms",
        "avg_attempts": 1.2,
        "avg": 583.0,
        "mdn": 522.0,
        "max": 1187,
        "min": 347,
        "std": 201.0,
        "from_utc": "2013-09-26T15:00:00",
        "to_utc": "2013-09-26T15:59:59",
        "sla_percent": 90.0,
        "total_count": 10,
        "i_count": 7,
        "w_count": 2,
        "e_count": 0,
        "f_count": 1,
        "u_count": 0
      },
      {
        "unit": "ms",
        "avg_attempts": 1.2,
        "avg": 583.0,
        "mdn": 522.0,
        "max": 1187,
        "min": 347,
        "std": 201.0,
        "from_utc": "2013-09-26T15:00:00",
        "to_utc": "2013-09-26T15:59:59",
        "sla_percent": 90.0,
        "total_count": 10,
        "i_count": 7,
        "w_count": 2,
        "e_count": 0,
        "f_count": 1,
        "u_count": 0
      }
    ],
    "from_utc": "2013-09-26T15:00:00",
    "to_utc": "2013-09-26T15:59:59"
  },
  {
    "check_id": 1,
    "check_name": "sample string 2",
    "sla_records": [
      {
        "unit": "ms",
        "avg_attempts": 1.2,
        "avg": 583.0,
        "mdn": 522.0,
        "max": 1187,
        "min": 347,
        "std": 201.0,
        "from_utc": "2013-09-26T15:00:00",
        "to_utc": "2013-09-26T15:59:59",
        "sla_percent": 90.0,
        "total_count": 10,
        "i_count": 7,
        "w_count": 2,
        "e_count": 0,
        "f_count": 1,
        "u_count": 0
      },
      {
        "unit": "ms",
        "avg_attempts": 1.2,
        "avg": 583.0,
        "mdn": 522.0,
        "max": 1187,
        "min": 347,
        "std": 201.0,
        "from_utc": "2013-09-26T15:00:00",
        "to_utc": "2013-09-26T15:59:59",
        "sla_percent": 90.0,
        "total_count": 10,
        "i_count": 7,
        "w_count": 2,
        "e_count": 0,
        "f_count": 1,
        "u_count": 0
      },
      {
        "unit": "ms",
        "avg_attempts": 1.2,
        "avg": 583.0,
        "mdn": 522.0,
        "max": 1187,
        "min": 347,
        "std": 201.0,
        "from_utc": "2013-09-26T15:00:00",
        "to_utc": "2013-09-26T15:59:59",
        "sla_percent": 90.0,
        "total_count": 10,
        "i_count": 7,
        "w_count": 2,
        "e_count": 0,
        "f_count": 1,
        "u_count": 0
      }
    ],
    "from_utc": "2013-09-26T15:00:00",
    "to_utc": "2013-09-26T15:59:59"
  },
  {
    "check_id": 1,
    "check_name": "sample string 2",
    "sla_records": [
      {
        "unit": "ms",
        "avg_attempts": 1.2,
        "avg": 583.0,
        "mdn": 522.0,
        "max": 1187,
        "min": 347,
        "std": 201.0,
        "from_utc": "2013-09-26T15:00:00",
        "to_utc": "2013-09-26T15:59:59",
        "sla_percent": 90.0,
        "total_count": 10,
        "i_count": 7,
        "w_count": 2,
        "e_count": 0,
        "f_count": 1,
        "u_count": 0
      },
      {
        "unit": "ms",
        "avg_attempts": 1.2,
        "avg": 583.0,
        "mdn": 522.0,
        "max": 1187,
        "min": 347,
        "std": 201.0,
        "from_utc": "2013-09-26T15:00:00",
        "to_utc": "2013-09-26T15:59:59",
        "sla_percent": 90.0,
        "total_count": 10,
        "i_count": 7,
        "w_count": 2,
        "e_count": 0,
        "f_count": 1,
        "u_count": 0
      },
      {
        "unit": "ms",
        "avg_attempts": 1.2,
        "avg": 583.0,
        "mdn": 522.0,
        "max": 1187,
        "min": 347,
        "std": 201.0,
        "from_utc": "2013-09-26T15:00:00",
        "to_utc": "2013-09-26T15:59:59",
        "sla_percent": 90.0,
        "total_count": 10,
        "i_count": 7,
        "w_count": 2,
        "e_count": 0,
        "f_count": 1,
        "u_count": 0
      }
    ],
    "from_utc": "2013-09-26T15:00:00",
    "to_utc": "2013-09-26T15:59:59"
  }
]
NameType Description
check_id Integer

No documentation available.

check_name String

No documentation available.

sla_records Array

No documentation available.

unit String

The unit of the check return value.

avg_attempts Float

The average number of attempts performed per check run during the period.

avg Float

The average check return value during the period.

mdn Float

The median check return value during the period.

max Integer

The maximum check return value during the period.

min Integer

The minumum check return value during the period.

std Float

The standard deviation for the check return value during the period.

from_utc DateTime

Start of the time period (UTC).

to_utc DateTime

End of the time period (UTC).

sla_percent Float

The ratio of successful (i.e. I and W severity) runs to total runs.

total_count Integer

Total number of check runs during the period.

i_count Integer

Number of check runs with severity=I during the period.

w_count Integer

Number of check runs with severity=W during the period.

e_count Integer

Number of check runs with severity=E during the period.

f_count Integer

Number of check runs with severity=F during the period.

u_count Integer

Number of check runs with unknown severity (U) during the period.

from_utc DateTime

No documentation available.

to_utc DateTime

No documentation available.

When result detalization level is 1

[
  {
    "check_guid": "3d789d3b-102d-4da8-a07d-9d29a441703e",
    "check_type": "sample string 2",
    "target_sla": "sample string 3",
    "check_id": 4,
    "check_name": "sample string 5",
    "sla_records": [
      {
        "unit": "ms",
        "avg_attempts": 1.2,
        "avg": 583.0,
        "mdn": 522.0,
        "max": 1187,
        "min": 347,
        "std": 201.0,
        "from_utc": "2013-09-26T15:00:00",
        "to_utc": "2013-09-26T15:59:59",
        "sla_percent": 90.0,
        "total_count": 10,
        "i_count": 7,
        "w_count": 2,
        "e_count": 0,
        "f_count": 1,
        "u_count": 0
      },
      {
        "unit": "ms",
        "avg_attempts": 1.2,
        "avg": 583.0,
        "mdn": 522.0,
        "max": 1187,
        "min": 347,
        "std": 201.0,
        "from_utc": "2013-09-26T15:00:00",
        "to_utc": "2013-09-26T15:59:59",
        "sla_percent": 90.0,
        "total_count": 10,
        "i_count": 7,
        "w_count": 2,
        "e_count": 0,
        "f_count": 1,
        "u_count": 0
      },
      {
        "unit": "ms",
        "avg_attempts": 1.2,
        "avg": 583.0,
        "mdn": 522.0,
        "max": 1187,
        "min": 347,
        "std": 201.0,
        "from_utc": "2013-09-26T15:00:00",
        "to_utc": "2013-09-26T15:59:59",
        "sla_percent": 90.0,
        "total_count": 10,
        "i_count": 7,
        "w_count": 2,
        "e_count": 0,
        "f_count": 1,
        "u_count": 0
      }
    ],
    "from_utc": "2013-09-26T15:00:00",
    "to_utc": "2013-09-26T15:59:59"
  },
  {
    "check_guid": "3d789d3b-102d-4da8-a07d-9d29a441703e",
    "check_type": "sample string 2",
    "target_sla": "sample string 3",
    "check_id": 4,
    "check_name": "sample string 5",
    "sla_records": [
      {
        "unit": "ms",
        "avg_attempts": 1.2,
        "avg": 583.0,
        "mdn": 522.0,
        "max": 1187,
        "min": 347,
        "std": 201.0,
        "from_utc": "2013-09-26T15:00:00",
        "to_utc": "2013-09-26T15:59:59",
        "sla_percent": 90.0,
        "total_count": 10,
        "i_count": 7,
        "w_count": 2,
        "e_count": 0,
        "f_count": 1,
        "u_count": 0
      },
      {
        "unit": "ms",
        "avg_attempts": 1.2,
        "avg": 583.0,
        "mdn": 522.0,
        "max": 1187,
        "min": 347,
        "std": 201.0,
        "from_utc": "2013-09-26T15:00:00",
        "to_utc": "2013-09-26T15:59:59",
        "sla_percent": 90.0,
        "total_count": 10,
        "i_count": 7,
        "w_count": 2,
        "e_count": 0,
        "f_count": 1,
        "u_count": 0
      },
      {
        "unit": "ms",
        "avg_attempts": 1.2,
        "avg": 583.0,
        "mdn": 522.0,
        "max": 1187,
        "min": 347,
        "std": 201.0,
        "from_utc": "2013-09-26T15:00:00",
        "to_utc": "2013-09-26T15:59:59",
        "sla_percent": 90.0,
        "total_count": 10,
        "i_count": 7,
        "w_count": 2,
        "e_count": 0,
        "f_count": 1,
        "u_count": 0
      }
    ],
    "from_utc": "2013-09-26T15:00:00",
    "to_utc": "2013-09-26T15:59:59"
  },
  {
    "check_guid": "3d789d3b-102d-4da8-a07d-9d29a441703e",
    "check_type": "sample string 2",
    "target_sla": "sample string 3",
    "check_id": 4,
    "check_name": "sample string 5",
    "sla_records": [
      {
        "unit": "ms",
        "avg_attempts": 1.2,
        "avg": 583.0,
        "mdn": 522.0,
        "max": 1187,
        "min": 347,
        "std": 201.0,
        "from_utc": "2013-09-26T15:00:00",
        "to_utc": "2013-09-26T15:59:59",
        "sla_percent": 90.0,
        "total_count": 10,
        "i_count": 7,
        "w_count": 2,
        "e_count": 0,
        "f_count": 1,
        "u_count": 0
      },
      {
        "unit": "ms",
        "avg_attempts": 1.2,
        "avg": 583.0,
        "mdn": 522.0,
        "max": 1187,
        "min": 347,
        "std": 201.0,
        "from_utc": "2013-09-26T15:00:00",
        "to_utc": "2013-09-26T15:59:59",
        "sla_percent": 90.0,
        "total_count": 10,
        "i_count": 7,
        "w_count": 2,
        "e_count": 0,
        "f_count": 1,
        "u_count": 0
      },
      {
        "unit": "ms",
        "avg_attempts": 1.2,
        "avg": 583.0,
        "mdn": 522.0,
        "max": 1187,
        "min": 347,
        "std": 201.0,
        "from_utc": "2013-09-26T15:00:00",
        "to_utc": "2013-09-26T15:59:59",
        "sla_percent": 90.0,
        "total_count": 10,
        "i_count": 7,
        "w_count": 2,
        "e_count": 0,
        "f_count": 1,
        "u_count": 0
      }
    ],
    "from_utc": "2013-09-26T15:00:00",
    "to_utc": "2013-09-26T15:59:59"
  }
]
NameType Description
check_guid Guid

No documentation available.

check_type String

No documentation available.

target_sla String

No documentation available.

check_id Integer

No documentation available.

check_name String

No documentation available.

sla_records Array

No documentation available.

unit String

The unit of the check return value.

avg_attempts Float

The average number of attempts performed per check run during the period.

avg Float

The average check return value during the period.

mdn Float

The median check return value during the period.

max Integer

The maximum check return value during the period.

min Integer

The minumum check return value during the period.

std Float

The standard deviation for the check return value during the period.

from_utc DateTime

Start of the time period (UTC).

to_utc DateTime

End of the time period (UTC).

sla_percent Float

The ratio of successful (i.e. I and W severity) runs to total runs.

total_count Integer

Total number of check runs during the period.

i_count Integer

Number of check runs with severity=I during the period.

w_count Integer

Number of check runs with severity=W during the period.

e_count Integer

Number of check runs with severity=E during the period.

f_count Integer

Number of check runs with severity=F during the period.

u_count Integer

Number of check runs with unknown severity (U) during the period.

from_utc DateTime

No documentation available.

to_utc DateTime

No documentation available.