GET
/service-levels
curl \
--request GET '/api/v1/service-levels' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "x-integration-id: IN7AB56CD456OP98BN54CAUB43211OU7"
Response examples (200)
{
"routes": [
{
"routeKey": "GET:api.example.com:8080:/api/users/{id}",
"route": {
"method": "GET",
"host": "api.example.com",
"port": 8080,
"path": "/api/users/{id}"
},
"latency": {
"percentiles": [
{
"percentile": "99.9%",
"breachLatency": "2s"
}
],
"windowDuration": "1h"
},
"status": {
"expected": [
"200",
"201",
"204"
],
"breachThreshold": "99.9%",
"windowDuration": "1h"
},
"validation": {
"schemaId": "S7AB56CD456OP98BN54CAUB43211OU78",
"breachThreshold": "99.9%",
"windowDuration": "1h"
}
}
]
}
Response examples (400)
{
"code": "string",
"message": "string"
}
Response examples (401)
{
"code": "string",
"message": "string"
}
Response examples (404)
{
"code": "string",
"message": "string"
}
Response examples (429)
{
"code": "string",
"message": "string"
}
Response examples (500)
{
"code": "string",
"message": "string"
}