Get details on a specific SLA violation
GET/v1/slas/{sla_urn}/violations/{violation_urn}
Get details on a specific SLA violation
Path Parameters
sla_urn: string
violation_urn: string
Returns
allowable_downtime_hours: number
The total number of allowable downtime hours during the evaluation period, as defined by the SLA's terms
downtime_hours: number
The total number of downtime hours during the evaluation period
uptime_percentage: number
The percentage of uptime during the evaluation period
urn: string
A unique identifier composed of the SLA URN and the evaluation period
Get details on a specific SLA violation
curl https://developer.clarative.ai/v1/slas/$SLA_URN/violations/$VIOLATION_URN \
-H "Authorization: Bearer $CLARATIVE_API_KEY"{
"allowable_downtime_hours": 0,
"data_source": {
"excluded_product_tags": [
"string"
],
"included_product_tags": [
"string"
],
"urn": "urn",
"data_source_type": "STATUS_PAGE"
},
"data_source_type": "STATUS_PAGE",
"downtime_events": [
{
"duration_hours": 0,
"end_time": "2019-12-27T18:11:19.117Z",
"name": "name",
"start_time": "2019-12-27T18:11:19.117Z"
}
],
"downtime_hours": 0,
"evaluation_period": {
"end_month": {
"month": 0,
"year": 0
},
"start_month": {
"month": 0,
"year": 0
}
},
"sla": {
"description": "description",
"name": "name",
"urn": "urn",
"vendor_urn": "vendor_urn"
},
"uptime_percentage": 0,
"urn": "urn",
"vendor": {
"created_at": "2019-12-27T18:11:19.117Z",
"description": "description",
"name": "name",
"urn": "urn"
}
}Returns Examples
{
"allowable_downtime_hours": 0,
"data_source": {
"excluded_product_tags": [
"string"
],
"included_product_tags": [
"string"
],
"urn": "urn",
"data_source_type": "STATUS_PAGE"
},
"data_source_type": "STATUS_PAGE",
"downtime_events": [
{
"duration_hours": 0,
"end_time": "2019-12-27T18:11:19.117Z",
"name": "name",
"start_time": "2019-12-27T18:11:19.117Z"
}
],
"downtime_hours": 0,
"evaluation_period": {
"end_month": {
"month": 0,
"year": 0
},
"start_month": {
"month": 0,
"year": 0
}
},
"sla": {
"description": "description",
"name": "name",
"urn": "urn",
"vendor_urn": "vendor_urn"
},
"uptime_percentage": 0,
"urn": "urn",
"vendor": {
"created_at": "2019-12-27T18:11:19.117Z",
"description": "description",
"name": "name",
"urn": "urn"
}
}