curl --request GET \
--url https://api.coralogix.com/mgmt/openapi/3/incidents/incidents/v1/aggregations \
--header 'Authorization: <api-key>'{
"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
}
],
"allValuesCount": 123,
"firstCreatedAt": "2023-11-07T05:31:56Z",
"groupBysValue": [
{
"incidentField": {
"name": "<string>"
}
}
],
"lastClosedAt": "2023-11-07T05:31:56Z",
"lastStateUpdateTime": "2023-11-07T05:31:56Z",
"listIncidentsId": [
"<string>"
]
}
],
"pagination": {
"totalSize": 100,
"nextPageToken": "next_page_token"
}
}Retrieve aggregated incident data with support for grouping and filtering.
Requires the following permissions:
incidents:readcurl --request GET \
--url https://api.coralogix.com/mgmt/openapi/3/incidents/incidents/v1/aggregations \
--header 'Authorization: <api-key>'{
"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
}
],
"allValuesCount": 123,
"firstCreatedAt": "2023-11-07T05:31:56Z",
"groupBysValue": [
{
"incidentField": {
"name": "<string>"
}
}
],
"lastClosedAt": "2023-11-07T05:31:56Z",
"lastStateUpdateTime": "2023-11-07T05:31:56Z",
"listIncidentsId": [
"<string>"
]
}
],
"pagination": {
"totalSize": 100,
"nextPageToken": "next_page_token"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.coralogix.com/llms.txt
Use this file to discover all available pages before exploring further.
API key authentication
Filter configuration for incidents
Show child attributes
Show child attributes
Pagination parameters for list requests
Show child attributes
Was this page helpful?