Incidents service
Get incident aggregations
Retrieve aggregated incident data with support for grouping and filtering.
Requires the following permissions:
- incidents:read
get/incidents/aggregations/v1
Request
- Base URL: https://api.eu1.coralogix.com/mgmt/openapi/5
- URL: https://api.eu1.coralogix.com/mgmt/openapi/5/incidents/aggregations/v1
- Auth: API key in header Authorization
Query parameters
Filter for incidents
{
"metaLabels": [
{
"key": "key",
"value": "value"
}
],
"searchQuery": {
"query": "error"
}
}Pagination parameters
{
"pageSize": 10,
"pageToken": "next_page_token"
}Response
Example response
{
"incidentAggs": [
{
"aggAssignmentsCount": [
{
"assignedTo": {
"userId": "user_id"
},
"count": 10
}
],
"aggMetaLabelsCount": [
{
"count": 10,
"metaLabel": {
"key": "key",
"value": "value"
}
}
],
"aggSeverityCount": [
{
"count": 10
}
],
"aggStateCount": [
{
"count": 10
}
],
"aggStatusCount": [
{
"count": 10
}
],
"groupBysValue": [
{
"contextualLabels": {
"fieldName": "field_name",
"fieldValue": "field_value"
}
}
]
}
],
"pagination": {
"nextPageToken": "next_page_token",
"totalSize": 100
}
}Changes
No recorded changes to this operation across all 1 revision of this API.