List availability reports
GET https://{{host}}/sla-api/v1/tests/:slaTestId/reports/availability?start={{start}}&end={{end}}
Returns an array of the results of availability tests run in the specified time period.
Body
PARAM
Key | Datatype | Required | Description |
start
|
string | (Required) Timestamp for the start of the data window, in UTC 8601 format. | |
end
|
string | (Required) Timestamp for the end of data window, in UTC 8601 format. | |
accountSwitchKey
|
string | (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys). |
HEADERS
Key | Datatype | Required | Description |
Accept
|
string |
RESPONSES
status OK
{
"akamaiTestErrors": [
{
"agentIp": "192.0.2.55",
"agentName": "Frankfurt, Germany",
"time": "2016-03-09T03:29:25Z"
},
{
"agentIp": "192.0.2.193",
"agentName": "Berlin, Germany",
"time": "2016-03-09T08:20:11Z"
},
{
"agentIp": "192.0.2.31",
"agentName": "Paris, France",
"time": "2016-03-09T09:31:37Z"
}
],
"estimatedAvailabilityPercentage": 1,
"originTestErrors": [
{
"agentIp": "192.0.2.164",
"agentName": "Frankfurt, Germany",
"time": "2016-03-09T03:29:25Z"
},
{
"agentIp": "192.0.2.71",
"agentName": "Berlin, Germany",
"time": "2016-03-09T08:20:11Z"
},
{
"agentIp": "192.0.2.209",
"agentName": "Paris, France",
"time": "2016-03-09T09:31:37Z"
}
]
} |
ENDPOINTS