Get anomalies and incidents
query Parameters
PagingCommand.Direction (string) or PagingCommand.Direction (string) Paging direction | |
namespace | Array of strings Namespace filter |
endTimestamp | integer <int64> End time in epoch seconds |
string or string Paging cursor | |
Array of IncidentCategory (strings) or Array of IncidentCategory (strings) Category filter | |
Array of strings or Array of strings Metric filter | |
Array of strings or Array of strings Source filter | |
service | Array of strings Service filter |
acknowledged | boolean Acknowledged filter |
Array of IncidentType (strings) or Array of IncidentType (strings) Type filter | |
resolution | string Resolution filter |
Array of IncidentStatus (strings) or Array of IncidentStatus (strings) Status filter | |
integer or integer Start time in epoch seconds | |
integer or integer Page size |
header Parameters
string or string Scope header | |
Api-Version | string API version |
Responses
Response samples
- 200
- 400
- 401
- 500
{- "data": [
- { }
], - "paging": {
- "cursor": {
- "firstId": 0,
- "lastId": 0
}, - "hasNext": true,
- "hasPrevious": true
}
}
Create or update an incident
header Parameters
Api-Version | string API version |
string or string Scope header |
Request Body schema: application/jsonrequired
JSON representation of the incident
type required | string (IncidentType) Enum: "INCIDENT" "ANOMALY" "ALERT" |
incidentId required | string <= 16 characters |
title required | string <= 255 characters |
category required | string (IncidentCategory) Enum: "PERFORMANCE" "RELIABILITY" "SECURITY" "CONFIGURATION" |
description required | string <= 2000 characters |
recommendation required | string <= 2000 characters |
source required | string <= 255 characters |
status required | string (IncidentStatus) Enum: "OPEN" "RESOLVED" |
resolution required | string <= 20 characters |
required | Array of objects (Incident.Service) non-empty |
metricNames required | Array of strings |
startTime | string <date-time> Either an ISO 8601 or second timestamp format |
endTime | string <date-time> Either an ISO 8601 or second timestamp format |
sourceSite required | string <= 50 characters |
severity required | string <= 10 characters |
priority required | string <= 10 characters |
required | object |
Responses
Request samples
- Payload
{- "type": "INCIDENT",
- "incidentId": "string",
- "title": "string",
- "category": "PERFORMANCE",
- "description": "string",
- "recommendation": "string",
- "source": "string",
- "status": "OPEN",
- "resolution": "string",
- "services": [
- {
- "namespace": "string",
- "name": "string"
}
], - "metricNames": [
- "string"
], - "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "sourceSite": "string",
- "severity": "string",
- "priority": "string",
- "metadata": { }
}
Response samples
- 200
- 208
- 400
- 401
- 500
1
Get anomalies and incidents with facets
query Parameters
PagingCommand.Direction (string) or PagingCommand.Direction (string) Paging direction | |
namespace | Array of strings Namespace filter |
endTimestamp | integer <int64> >= 0 End time in epoch seconds |
string or string Paging cursor | |
Array of IncidentCategory (strings) or Array of IncidentCategory (strings) Category filter | |
limit | integer [ 1 .. 100 ] Maximum page size |
Array of strings or Array of strings Metric filter | |
Array of strings or Array of strings Source filter | |
service | Array of strings Service filter |
acknowledged | boolean Acknowledged filter |
Array of IncidentType (strings) or Array of IncidentType (strings) Type filter | |
resolution | string Resolution filter |
Array of IncidentStatus (strings) or Array of IncidentStatus (strings) Status filter | |
integer or integer Start time in epoch seconds |
header Parameters
string or string Scope header | |
Api-Version | string API version |
Responses
Response samples
- 200
- 400
- 401
- 500
{- "data": [
- {
- "id": 0,
- "type": "INCIDENT",
- "incidentId": "string",
- "title": "string",
- "category": "PERFORMANCE",
- "description": "string",
- "recommendation": "string",
- "source": "string",
- "status": "OPEN",
- "resolution": "string",
- "services": [
- {
- "namespace": "string",
- "name": "string"
}
], - "metricNames": [
- "string"
], - "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "sourceSite": "string",
- "severity": "string",
- "priority": "string",
- "metadata": { },
- "ackTime": "2019-08-24T14:15:22Z",
- "ackUserId": "string",
- "ackUserEmail": "string"
}
], - "paging": {
- "cursor": {
- "firstId": 0,
- "lastId": 0
}, - "hasNext": true,
- "hasPrevious": true
}, - "facets": [
- {
- "id": "string",
- "name": "string",
- "values": [
- {
- "id": "string",
- "name": "string",
- "count": 0
}
]
}
]
}
Get anomaly or incident
path Parameters
id required | integer <int64> |
header Parameters
Api-Version | string API version |
string or string Scope header |
Responses
Response samples
- 200
- 400
- 401
- 404
- 500
{- "id": 0,
- "type": "INCIDENT",
- "incidentId": "string",
- "title": "string",
- "category": "PERFORMANCE",
- "description": "string",
- "recommendation": "string",
- "source": "string",
- "status": "OPEN",
- "resolution": "string",
- "services": [
- {
- "namespace": "string",
- "name": "string"
}
], - "metricNames": [
- "string"
], - "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "sourceSite": "string",
- "severity": "string",
- "priority": "string",
- "metadata": { },
- "ackTime": "2019-08-24T14:15:22Z",
- "ackUserId": "string",
- "ackUserEmail": "string"
}
Partially update an incident
path Parameters
id required | integer <int64> |
header Parameters
Api-Version | string API version |
string or string Scope header |
Request Body schema: application/jsonrequired
JSON representation of the incident
title required | string <= 255 characters |
description required | string <= 2000 characters |
recommendation required | string <= 2000 characters |
status required | string (IncidentStatus) Enum: "OPEN" "RESOLVED" |
resolution required | string <= 20 characters |
severity required | string <= 10 characters |
priority required | string <= 10 characters |
Responses
Request samples
- Payload
{- "title": "string",
- "description": "string",
- "recommendation": "string",
- "status": "OPEN",
- "resolution": "string",
- "severity": "string",
- "priority": "string"
}
Response samples
- 200
- 208
- 400
- 401
- 500
{- "id": 0,
- "type": "INCIDENT",
- "incidentId": "string",
- "title": "string",
- "category": "PERFORMANCE",
- "description": "string",
- "recommendation": "string",
- "source": "string",
- "status": "OPEN",
- "resolution": "string",
- "services": [
- {
- "namespace": "string",
- "name": "string"
}
], - "metricNames": [
- "string"
], - "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "sourceSite": "string",
- "severity": "string",
- "priority": "string",
- "metadata": { },
- "ackTime": "2019-08-24T14:15:22Z",
- "ackUserId": "string",
- "ackUserEmail": "string"
}
Get average time of incidents being open in the time frame
query Parameters
timestampTo | integer <int64> >= 0 End timestamp in epoch seconds |
timestampFrom | integer <int64> >= 0 Start timestamp in epoch seconds |
header Parameters
Api-Version | string API version |
string or string Scope header |
Responses
Response samples
- 200
- 400
- 401
- 500
null
Get the number of incidents grouped by type in buckets in the time frame. When status filter is set to RESOLVED it will count only resolved incidents at the given time range, otherwise counts OPEN incidents in the given time range
query Parameters
IncidentStatus (string) or IncidentStatus (string) Status filter | |
resolution | string Resolution filter |
integer or integer Timestamp from in epoch seconds | |
integer or integer Number of buckets to returns | |
integer or integer Timestamp to in epoch seconds | |
IncidentType (string) or IncidentType (string) Type filter |
header Parameters
Api-Version | string API version |
string or string Scope header |
Responses
Response samples
- 200
- 400
- 401
- 500
null
Get the number of current incidents
query Parameters
IncidentType (string) or IncidentType (string) Type filter | |
status required | string (IncidentStatus) Enum: "OPEN" "RESOLVED" Status filter |
header Parameters
Api-Version | string API version |
string or string Scope header |
Responses
Response samples
- 400
- 401
- 500
{- "_links": { },
- "_embedded": {
- "property1": [
- {
- "_links": {
- "empty": true
}, - "_embedded": {
- "empty": true
}
}
], - "property2": [
- {
- "_links": {
- "empty": true
}, - "_embedded": {
- "empty": true
}
}
]
}, - "message": "string",
- "logref": "string",
- "path": "string"
}
Get the number of current incidents split by priority
query Parameters
IncidentType (string) or IncidentType (string) Type filter | |
status required | string (IncidentStatus) Enum: "OPEN" "RESOLVED" Status filter |
header Parameters
Api-Version | string API version |
string or string Scope header |
Responses
Response samples
- 400
- 401
- 500
{- "_links": { },
- "_embedded": {
- "property1": [
- {
- "_links": {
- "empty": true
}, - "_embedded": {
- "empty": true
}
}
], - "property2": [
- {
- "_links": {
- "empty": true
}, - "_embedded": {
- "empty": true
}
}
]
}, - "message": "string",
- "logref": "string",
- "path": "string"
}
Get the number of opened incidents grouped by severity in buckets in the time frame.
query Parameters
integer or integer Timestamp from in epoch seconds | |
timestampTo | integer <int64> >= 0 Timestamp to in epoch seconds |
buckets | integer <int32> >= 1 Default: 1 Number of buckets to return |
header Parameters
Api-Version | string API version |
string or string Scope header |
Responses
Response samples
- 200
- 400
- 401
- 500
null
Get the number of incidents in the time frame
path Parameters
type required | string (IncidentType) Enum: "INCIDENT" "ANOMALY" "ALERT" |
query Parameters
timestampTo | integer <int64> >= 0 End timestamp in epoch seconds |
timestampFrom | integer <int64> >= 0 Start timestamp in epoch seconds |
header Parameters
Api-Version | string API version |
string or string Scope header |
Responses
Response samples
- 200
- 400
- 401
- 500
null
Get services with the most number of incidents
path Parameters
type required | string (IncidentType) Enum: "INCIDENT" "ANOMALY" "ALERT" |
query Parameters
startTimestampTo | integer <int64> >= 0 Start time to timestamp in epoch seconds |
startTimestampFrom | integer <int64> >= 0 Start time from timestamp in epoch seconds |
header Parameters
Api-Version | string API version |
string or string Scope header |
Responses
Response samples
- 200
- 400
- 401
- 500
null
Get incident note
path Parameters
noteId required | integer <int64> >= 0 Note id |
header Parameters
Api-Version | string API version |
string or string Scope header |
Responses
Response samples
- 200
- 400
- 401
- 404
- 500
{- "id": 0,
- "incidentId": 0,
- "body": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
Update note
path Parameters
noteId required | integer <int64> >= 0 Note id |
header Parameters
Api-Version | string API version |
string or string Scope header |
Request Body schema: application/jsonrequired
JSON representation of the incident note
body required | string non-empty |
Responses
Request samples
- Payload
{- "body": "string"
}
Response samples
- 400
- 401
- 404
- 500
{- "_links": { },
- "_embedded": {
- "property1": [
- {
- "_links": {
- "empty": true
}, - "_embedded": {
- "empty": true
}
}
], - "property2": [
- {
- "_links": {
- "empty": true
}, - "_embedded": {
- "empty": true
}
}
]
}, - "message": "string",
- "logref": "string",
- "path": "string"
}
Delete note
path Parameters
noteId required | integer <int64> >= 0 Note id |
header Parameters
Api-Version | string API version |
string or string Scope header |
Responses
Response samples
- 400
- 401
- 404
- 500
{- "_links": { },
- "_embedded": {
- "property1": [
- {
- "_links": {
- "empty": true
}, - "_embedded": {
- "empty": true
}
}
], - "property2": [
- {
- "_links": {
- "empty": true
}, - "_embedded": {
- "empty": true
}
}
]
}, - "message": "string",
- "logref": "string",
- "path": "string"
}
Create note for incident
path Parameters
incidentId required | integer <int64> >= 0 Incident id |
header Parameters
Api-Version | string API version |
string or string Scope header |
Request Body schema: application/jsonrequired
JSON representation of the incident note
body required | string non-empty |
Responses
Request samples
- Payload
{- "body": "string"
}
Response samples
- 200
- 400
- 401
- 404
- 500
null
Get scan report from a 3rd party tool
query Parameters
source required | string [ 1 .. 255 ] characters |
header Parameters
Api-Version | string API version |
string or string Scope header |
Responses
Response samples
- 200
- 400
- 401
- 404
- 500
{- "source": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "payload": "string"
}
Store a scan report from a 3rd party tool
header Parameters
Api-Version | string API version |
string or string Scope header |
Request Body schema: application/jsonrequired
JSON representation of the report
source required | string [ 1 .. 255 ] characters |
createdAt required | string <date-time> |
payload required | string |
Responses
Request samples
- Payload
{- "source": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "payload": "string"
}
Response samples
- 400
- 401
- 500
{- "_links": { },
- "_embedded": {
- "property1": [
- {
- "_links": {
- "empty": true
}, - "_embedded": {
- "empty": true
}
}
], - "property2": [
- {
- "_links": {
- "empty": true
}, - "_embedded": {
- "empty": true
}
}
]
}, - "message": "string",
- "logref": "string",
- "path": "string"
}
Acknowledge an incident
path Parameters
id required | integer <int64> |
header Parameters
Api-Version | string API version |
User-ID | string Current user identifier |
string or string Scope header |
Responses
Response samples
- 401
- 404
- 409
- 500
{- "_links": { },
- "_embedded": {
- "property1": [
- {
- "_links": {
- "empty": true
}, - "_embedded": {
- "empty": true
}
}
], - "property2": [
- {
- "_links": {
- "empty": true
}, - "_embedded": {
- "empty": true
}
}
]
}, - "message": "string",
- "logref": "string",
- "path": "string"
}