# Atomic Batch Execute Actions
Source: https://docs.coralogix.com/api-reference/v5/actions-service/atomic-batch-execute-actions
openapi_v5.yaml post /actions/batch/v2
Creates multiple actions in a single request.
# Create Action
Source: https://docs.coralogix.com/api-reference/v5/actions-service/create-action
openapi_v5.yaml post /actions/actions/v2
Creates a new action.
# Delete Action
Source: https://docs.coralogix.com/api-reference/v5/actions-service/delete-action
openapi_v5.yaml delete /actions/actions/v2/{id}
Deletes the action with the specified ID.
# Get Action
Source: https://docs.coralogix.com/api-reference/v5/actions-service/get-action
openapi_v5.yaml get /actions/actions/v2/{id}
Returns the details of a specific action.
# List Actions
Source: https://docs.coralogix.com/api-reference/v5/actions-service/list-actions
openapi_v5.yaml get /actions/actions/v2
Returns all actions for the team.
# Order Actions
Source: https://docs.coralogix.com/api-reference/v5/actions-service/order-actions
openapi_v5.yaml post /actions/order/v2
Updates the display order of actions.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/actions-service/overview
# Actions service overview
Coralogix Actions provide powerful automation capabilities that trigger workflows based on data conditions, enabling teams to respond automatically to operational events. The Actions API enables programmatic creation and management of automation triggers with full CRUD operations. It supports advanced features like action ordering and atomic batch execution for reliable automation workflows.
## Constants
SourceType
| Value |
| ------------------------- |
| `SOURCE_TYPE_UNSPECIFIED` |
| `SOURCE_TYPE_LOG` |
| `SOURCE_TYPE_DATA_MAP` |
# Replace Action
Source: https://docs.coralogix.com/api-reference/v5/actions-service/replace-action
openapi_v5.yaml put /actions/actions/v2
Replaces all actions with the provided set.
# Bulk create alert definitions
Source: https://docs.coralogix.com/api-reference/v5/alert-definitions-service/bulk-create-alert-definitions
openapi_v5.yaml post /alerts/alerts/v3/all/create
Creates multiple alert definitions in a single request. The operation is best-effort - definitions that fail to be created are reported in the response and do not prevent creation of the others. Limited to 100 alert definitions per request.
Requires the following permissions:
- `alerts:UpdateConfig`
# Bulk delete alert definitions
Source: https://docs.coralogix.com/api-reference/v5/alert-definitions-service/bulk-delete-alert-definitions
openapi_v5.yaml post /alerts/alerts/v3/all/delete
Delete multiple alert definitions by their IDs. The operation is atomic - either all alerts are deleted or none are. Limited to 100 alert definitions per request.
Requires the following permissions:
- `alerts:UpdateConfig`
# Bulk replace alert definitions
Source: https://docs.coralogix.com/api-reference/v5/alert-definitions-service/bulk-replace-alert-definitions
openapi_v5.yaml put /alerts/alerts/v3/all/replace
Replaces multiple alert definitions in a single request. Each entry updates the existing alert definition with the matching ID; alert definitions not referenced in the request are left unchanged. The operation is best-effort - entries that fail are reported in the response and do not prevent other entries from being applied. Limited to 100 alert definitions per request.
Requires the following permissions:
- `alerts:UpdateConfig`
# Create an alert
Source: https://docs.coralogix.com/api-reference/v5/alert-definitions-service/create-an-alert
openapi_v5.yaml post /alerts/alerts/v3
Creates a new alert definition.
Requires the following permissions:
- `alerts:UpdateConfig`
# DeleteAlertDef
Source: https://docs.coralogix.com/api-reference/v5/alert-definitions-service/deletealertdef
openapi_v5.yaml delete /alerts/alerts/v3/{id}
Deletes the alert definition with the specified ID.
Requires the following permissions:
- `alerts:UpdateConfig`
# Download alerts
Source: https://docs.coralogix.com/api-reference/v5/alert-definitions-service/download-alerts
openapi_v5.yaml get /alerts/alerts/v3/all/download
Download alert definitions in base64-encoded byte format. When ids are provided, only those alert definitions are downloaded; otherwise all accessible alert definitions are downloaded.
Requires the following permissions:
- `alerts:ReadConfig`
# Get a list of all accessible alert definitions
Source: https://docs.coralogix.com/api-reference/v5/alert-definitions-service/get-a-list-of-all-accessible-alert-definitions
openapi_v5.yaml get /alerts/alerts/v3
Returns all alert definitions for the team.
Requires the following permissions:
- `alerts:ReadConfig`
# Get alert definition by alert version ID
Source: https://docs.coralogix.com/api-reference/v5/alert-definitions-service/get-alert-definition-by-alert-version-id
openapi_v5.yaml get /alerts/alerts/v3/version-ids/{alert_version_id}
Returns the alert definition with the specified version ID.
Requires the following permissions:
- `alerts:ReadConfig`
# Get alert definition by ID
Source: https://docs.coralogix.com/api-reference/v5/alert-definitions-service/get-alert-definition-by-id
openapi_v5.yaml get /alerts/alerts/v3/{id}
Returns the details of the specified alert definition.
Requires the following permissions:
- `alerts:ReadConfig`
# Get counts for filter options
Source: https://docs.coralogix.com/api-reference/v5/alert-definitions-service/get-counts-for-filter-options
openapi_v5.yaml get /alerts/alerts/v3/all/counts
Returns counts for different filter options based on the provided filters
Requires the following permissions:
- `alerts:ReadConfig`
# Overview
Source: https://docs.coralogix.com/api-reference/v5/alert-definitions-service/overview
# Alert definitions service overview
View and manage your alerts using alert definitions - data structures that contain the configuration required to create an alert.
Learn more about alerts in our [documentation](https://coralogix.com/docs/user-guides/alerting/introduction-to-alerts/).
## Authentication and permissions
To use the Alert definitions service API you need to [create a personal or team API key](https://coralogix.com/docs/user-guides/account-management/api-keys/api-keys/). It's recommended to use permission presets, as they are automatically updated with all relevant permissions. Alternatively, you can manually add the following individual permissions.
| Presets | Permission | Description |
| ------- | --------------------- | -------------------------------------------- |
| Alerts | `alerts:ReadConfig` | Grants access to read alerts |
| | `alerts:UpdateConfig` | Required to create, update, or delete alerts |
## Common error response codes
| Status Code | Description |
| --------------------------- | ----------------- |
| `400 Bad Request` | Response code 400 |
| `401 Unauthorized` | Response code 401 |
| `500 Internal Server Error` | Response code 500 |
## Protocol documentation
### AlertDef
Represents An Existing or Created Alert Definition
| Field | Type | Label | Description |
| ---------------------- | --------------------------- | ----- | ------------------------------------------------------------------------------------------------ |
| alert\_def\_properties | AlertDefProperties | | |
| id | google.protobuf.StringValue | | This is the Alert Definition's Persistent ID (does not change on replace) , AKA UniqueIDentifier |
| alert\_version\_id | google.protobuf.StringValue | | the old alertID |
| created\_time | google.protobuf.Timestamp | | |
| updated\_time | google.protobuf.Timestamp | | |
### AlertDefProperties
Represents The non generated alert definition properties (the ones that are set by the user)
| Field | Type | Label | Description |
| ------------------------------- | ------------------------------------ | -------- | ----------- |
| name | google.protobuf.StringValue | | |
| description | google.protobuf.StringValue | | |
| enabled | google.protobuf.BoolValue | | |
| priority | AlertDefPriority | | |
| active\_on | ActivitySchedule | | |
| type | AlertDefType | | |
| logs\_immediate | LogsImmediateType | | |
| tracing\_immediate | TracingImmediateType | | |
| logs\_threshold | LogsThresholdType | | |
| logs\_ratio\_threshold | LogsRatioThresholdType | | |
| logs\_time\_relative\_threshold | LogsTimeRelativeThresholdType | | |
| metric\_threshold | MetricThresholdType | | |
| tracing\_threshold | TracingThresholdType | | |
| flow | FlowType | | |
| logs\_anomaly | LogsAnomalyType | | |
| metric\_anomaly | MetricAnomalyType | | |
| logs\_new\_value | LogsNewValueType | | |
| logs\_unique\_count | LogsUniqueCountType | | |
| group\_by\_keys | google.protobuf.StringValue | repeated | |
| incidents\_settings | AlertDefIncidentSettings | | |
| notification\_group | AlertDefNotificationGroup | | |
| entity\_labels | AlertDefProperties.EntityLabelsEntry | repeated | |
| phantom\_mode | google.protobuf.BoolValue | | |
| deleted | google.protobuf.BoolValue | | |
### AlertDefProperties.EntityLabelsEntry
| Field | Type | Label | Description |
| ----- | ------ | ----- | ----------- |
| key | string | | |
| value | string | | |
### AlertDefIncidentSettings
| Field | Type | Label | Description |
| ---------- | --------------------------- | ----- | ----------- |
| minutes | google.protobuf.UInt32Value | | |
| notify\_on | NotifyOn | | |
### AlertDefNotificationGroup
| Field | Type | Label | Description |
| --------------- | --------------------------- | -------- | ----------- |
| group\_by\_keys | google.protobuf.StringValue | repeated | |
| webhooks | AlertDefWebhooksSettings | repeated | |
### AlertDefWebhooksSettings
| Field | Type | Label | Description |
| ----------- | --------------------------- | -------- | ----------- |
| minutes | google.protobuf.UInt32Value | | |
| notify\_on | NotifyOn | optional | |
| integration | IntegrationType | | |
### IntegrationType
| Field | Type | Label | Description |
| --------------- | --------------------------- | ----- | ----------- |
| integration\_id | google.protobuf.UInt32Value | | |
| recipients | Recipients | | |
### Recipients
| Field | Type | Label | Description |
| ------ | --------------------------- | -------- | ----------- |
| emails | google.protobuf.StringValue | repeated | |
### NotifyOn
| Name | Number | Description |
| ---------------------------------------- | ------ | ----------- |
| NOTIFY\_ON\_TRIGGERED\_ONLY\_UNSPECIFIED | 0 | |
| NOTIFY\_ON\_TRIGGERED\_AND\_RESOLVED | 1 | |
### AlertDefPriority
| Name | Number | Description |
| ----------------------------------------- | ------ | ----------- |
| ALERT\_DEF\_PRIORITY\_P5\_OR\_UNSPECIFIED | 0 | |
| ALERT\_DEF\_PRIORITY\_P4 | 1 | |
| ALERT\_DEF\_PRIORITY\_P3 | 2 | |
| ALERT\_DEF\_PRIORITY\_P2 | 3 | |
| ALERT\_DEF\_PRIORITY\_P1 | 4 | |
### ActivitySchedule
| Field | Type | Label | Description |
| ------------- | --------- | -------- | ----------- |
| day\_of\_week | DayOfWeek | repeated | |
| start\_time | TimeOfDay | | |
| end\_time | TimeOfDay | | |
### TimeOfDay
| Field | Type | Label | Description |
| ------- | ----- | ----- | ------------------------------------------------------- |
| hours | int32 | | Hours of day in 24 hour format. Should be from 0 to 23. |
| minutes | int32 | | Minutes of hour of day. Must be from 0 to 59. |
### DayOfWeek
| Name | Number | Description |
| -------------------------------------- | ------ | ----------- |
| DAY\_OF\_WEEK\_MONDAY\_OR\_UNSPECIFIED | 0 | |
| DAY\_OF\_WEEK\_TUESDAY | 1 | |
| DAY\_OF\_WEEK\_WEDNESDAY | 2 | |
| DAY\_OF\_WEEK\_THURSDAY | 3 | |
| DAY\_OF\_WEEK\_FRIDAY | 4 | |
| DAY\_OF\_WEEK\_SATURDAY | 5 | |
| DAY\_OF\_WEEK\_SUNDAY | 6 | |
### AlertDefType
| Name | Number | Description |
| -------------------------------------------------- | ------ | ----------- |
| ALERT\_DEF\_TYPE\_LOGS\_IMMEDIATE\_OR\_UNSPECIFIED | 0 | |
| ALERT\_DEF\_TYPE\_LOGS\_THRESHOLD | 1 | |
| ALERT\_DEF\_TYPE\_LOGS\_ANOMALY | 3 | |
| ALERT\_DEF\_TYPE\_LOGS\_RATIO\_THRESHOLD | 4 | |
| ALERT\_DEF\_TYPE\_LOGS\_NEW\_VALUE | 6 | |
| ALERT\_DEF\_TYPE\_LOGS\_UNIQUE\_COUNT | 7 | |
| ALERT\_DEF\_TYPE\_LOGS\_TIME\_RELATIVE\_THRESHOLD | 8 | |
| ALERT\_DEF\_TYPE\_METRIC\_THRESHOLD | 10 | |
| ALERT\_DEF\_TYPE\_METRIC\_ANOMALY | 14 | |
| ALERT\_DEF\_TYPE\_TRACING\_IMMEDIATE | 15 | |
| ALERT\_DEF\_TYPE\_TRACING\_THRESHOLD | 16 | |
| ALERT\_DEF\_TYPE\_FLOW | 17 | |
### ActivityAnalysis
| Field | Type | Label | Description |
| ------ | ---------------------- | -------- | ----------- |
| rules | string | repeated | |
| status | ActivityAnalysisStatus | | |
### ActivityAnalysisStatus
| Name | Number | Description |
| ----------------------------------------------------- | ------ | ----------- |
| ACTIVITY\_ANALYSIS\_STATUS\_ACTIVATE\_OR\_UNSPECIFIED | 0 | |
| ACTIVITY\_ANALYSIS\_STATUS\_MUTE | 1 | |
### FlowStages
| Field | Type | Label | Description |
| -------------------- | -------------------------- | ----- | ----------- |
| flow\_stages\_groups | FlowStagesGroups | | |
| timeframe\_ms | google.protobuf.Int64Value | | |
| timeframe\_type | TimeframeType | | |
### FlowStagesGroup
| Field | Type | Label | Description |
| ----------- | ------------------------- | -------- | ----------- |
| alert\_defs | FlowStagesGroupsAlertDefs | repeated | |
| next\_op | NextOp | | |
| alerts\_op | AlertsOp | | |
### FlowStagesGroups
| Field | Type | Label | Description |
| ------ | --------------- | -------- | ----------- |
| groups | FlowStagesGroup | repeated | |
### FlowStagesGroupsAlertDefs
| Field | Type | Label | Description |
| ----- | --------------------------- | ----- | ----------- |
| id | google.protobuf.StringValue | | |
| not | google.protobuf.BoolValue | | |
### FlowType
| Field | Type | Label | Description |
| -------------------- | ------------------------- | -------- | ----------- |
| stages | FlowStages | repeated | |
| enforce\_suppression | google.protobuf.BoolValue | | |
### AlertsOp
| Name | Number | Description |
| -------------------------------- | ------ | ----------- |
| ALERTS\_OP\_AND\_OR\_UNSPECIFIED | 0 | |
| ALERTS\_OP\_OR | 1 | |
### NextOp
| Name | Number | Description |
| ------------------------------ | ------ | ----------- |
| NEXT\_OP\_AND\_OR\_UNSPECIFIED | 0 | |
| NEXT\_OP\_OR | 1 | |
### TimeframeType
| Name | Number | Description |
| ---------------------------- | ------ | ----------- |
| TIMEFRAME\_TYPE\_UNSPECIFIED | 0 | |
| TIMEFRAME\_TYPE\_UP\_TO | 1 | |
### LogsAnomalyConditionType
| Name | Number | Description |
| ------------------------------------------------------------------ | ------ | ----------- |
| LOGS\_ANOMALY\_CONDITION\_TYPE\_MORE\_THAN\_USUAL\_OR\_UNSPECIFIED | 0 | |
### LabelFilterType
| Field | Type | Label | Description |
| --------- | --------------------------- | ----- | ----------- |
| value | google.protobuf.StringValue | | |
| operation | LogFilterOperationType | | |
### LabelFilters
| Field | Type | Label | Description |
| ----------------- | --------------- | -------- | ----------- |
| application\_name | LabelFilterType | repeated | |
| subsystem\_name | LabelFilterType | repeated | |
| severities | LogSeverity | repeated | |
### LogsFilter
| Field | Type | Label | Description |
| -------------- | ---------------- | ----- | ----------- |
| simple\_filter | LogsSimpleFilter | | |
### LogsSimpleFilter
| Field | Type | Label | Description |
| -------------- | --------------------------- | ----- | ----------- |
| lucene\_query | google.protobuf.StringValue | | |
| label\_filters | LabelFilters | | |
### LogFilterOperationType
| Name | Number | Description |
| ------------------------------------------------- | ------ | ----------- |
| LOG\_FILTER\_OPERATION\_TYPE\_IS\_OR\_UNSPECIFIED | 0 | |
| LOG\_FILTER\_OPERATION\_TYPE\_INCLUDES | 1 | |
| LOG\_FILTER\_OPERATION\_TYPE\_ENDS\_WITH | 2 | |
| LOG\_FILTER\_OPERATION\_TYPE\_STARTS\_WITH | 3 | |
### LogSeverity
| Name | Number | Description |
| ----------------------------------- | ------ | ----------- |
| LOG\_SEVERITY\_VERBOSE\_UNSPECIFIED | 0 | |
| LOG\_SEVERITY\_DEBUG | 1 | |
| LOG\_SEVERITY\_INFO | 2 | |
| LOG\_SEVERITY\_WARNING | 3 | |
| LOG\_SEVERITY\_ERROR | 4 | |
| LOG\_SEVERITY\_CRITICAL | 5 | |
### LogsTimeWindow
| Field | Type | Label | Description |
| ----------------------------------- | ------------------- | ----- | ----------- |
| logs\_time\_window\_specific\_value | LogsTimeWindowValue | | |
### LogsTimeWindowValue
| Name | Number | Description |
| ------------------------------------------------------ | ------ | ----------- |
| LOGS\_TIME\_WINDOW\_VALUE\_MINUTES\_5\_OR\_UNSPECIFIED | 0 | |
| LOGS\_TIME\_WINDOW\_VALUE\_MINUTES\_10 | 1 | |
| LOGS\_TIME\_WINDOW\_VALUE\_MINUTES\_20 | 2 | |
| LOGS\_TIME\_WINDOW\_VALUE\_MINUTES\_15 | 3 | |
| LOGS\_TIME\_WINDOW\_VALUE\_MINUTES\_30 | 4 | |
| LOGS\_TIME\_WINDOW\_VALUE\_HOUR\_1 | 5 | |
| LOGS\_TIME\_WINDOW\_VALUE\_HOURS\_2 | 6 | |
| LOGS\_TIME\_WINDOW\_VALUE\_HOURS\_4 | 7 | |
| LOGS\_TIME\_WINDOW\_VALUE\_HOURS\_6 | 8 | |
| LOGS\_TIME\_WINDOW\_VALUE\_HOURS\_12 | 9 | |
| LOGS\_TIME\_WINDOW\_VALUE\_HOURS\_24 | 10 | |
| LOGS\_TIME\_WINDOW\_VALUE\_HOURS\_36 | 11 | |
### LogsAnomalyCondition
| Field | Type | Label | Description |
| ------------------ | --------------------------- | ----- | ----------- |
| minimum\_threshold | google.protobuf.DoubleValue | | |
| time\_window | LogsTimeWindow | | |
| condition\_type | LogsAnomalyConditionType | | |
### LogsAnomalyRule
| Field | Type | Label | Description |
| --------- | -------------------- | ----- | ----------- |
| condition | LogsAnomalyCondition | | |
### LogsAnomalyType
| Field | Type | Label | Description |
| ----------------------------- | --------------------------- | -------- | ----------- |
| logs\_filter | LogsFilter | | |
| rules | LogsAnomalyRule | repeated | |
| notification\_payload\_filter | google.protobuf.StringValue | repeated | |
### LogsImmediateType
| Field | Type | Label | Description |
| ----------------------------- | --------------------------- | -------- | ----------- |
| logs\_filter | LogsFilter | | |
| notification\_payload\_filter | google.protobuf.StringValue | repeated | |
### LogsNewValueCondition
| Field | Type | Label | Description |
| ------------------ | --------------------------- | ----- | ----------- |
| keypath\_to\_track | google.protobuf.StringValue | | |
| time\_window | LogsNewValueTimeWindow | | |
### LogsNewValueRule
| Field | Type | Label | Description |
| --------- | --------------------- | ----- | ----------- |
| condition | LogsNewValueCondition | | |
### LogsNewValueType
| Field | Type | Label | Description |
| ----------------------------- | --------------------------- | -------- | ----------- |
| logs\_filter | LogsFilter | | |
| rules | LogsNewValueRule | repeated | |
| notification\_payload\_filter | google.protobuf.StringValue | repeated | |
### LogsRatioCondition
| Field | Type | Label | Description |
| --------------- | --------------------------- | ----- | ----------- |
| threshold | google.protobuf.DoubleValue | | |
| time\_window | LogsRatioTimeWindow | | |
| condition\_type | LogsRatioConditionType | | |
### LogsRatioRules
| Field | Type | Label | Description |
| --------- | ------------------ | ----- | ----------- |
| condition | LogsRatioCondition | | |
| override | AlertDefOverride | | |
### LogsRatioThresholdType
| Field | Type | Label | Description |
| ------------------------------ | --------------------------- | -------- | ----------- |
| numerator | LogsFilter | | |
| numerator\_alias | google.protobuf.StringValue | | |
| denominator | LogsFilter | | |
| denominator\_alias | google.protobuf.StringValue | | |
| rules | LogsRatioRules | repeated | |
| ignore\_infinity | google.protobuf.BoolValue | | |
| notification\_payload\_filter | google.protobuf.StringValue | repeated | |
| group\_by\_for | LogsRatioGroupByFor | | |
| undetected\_values\_management | UndetectedValuesManagement | | |
### LogsThresholdCondition
| Field | Type | Label | Description |
| --------------- | --------------------------- | ----- | ----------- |
| threshold | google.protobuf.DoubleValue | | |
| time\_window | LogsTimeWindow | | |
| condition\_type | LogsThresholdConditionType | | |
### LogsThresholdRule
| Field | Type | Label | Description |
| --------- | ---------------------- | ----- | ----------- |
| condition | LogsThresholdCondition | | |
| override | AlertDefOverride | | |
### LogsThresholdType
| Field | Type | Label | Description |
| ------------------------------ | --------------------------- | -------- | ----------- |
| logs\_filter | LogsFilter | | |
| undetected\_values\_management | UndetectedValuesManagement | | |
| rules | LogsThresholdRule | repeated | |
| notification\_payload\_filter | google.protobuf.StringValue | repeated | |
### LogsTimeRelativeCondition
| Field | Type | Label | Description |
| --------------- | ----------------------------- | ----- | ----------- |
| threshold | google.protobuf.DoubleValue | | |
| compared\_to | LogsTimeRelativeComparedTo | | |
| condition\_type | LogsTimeRelativeConditionType | | |
### LogsTimeRelativeRule
| Field | Type | Label | Description |
| --------- | ------------------------- | ----- | ----------- |
| condition | LogsTimeRelativeCondition | | |
| override | AlertDefOverride | | |
### LogsTimeRelativeThresholdType
| Field | Type | Label | Description |
| ------------------------------ | --------------------------- | -------- | ----------- |
| logs\_filter | LogsFilter | | |
| rules | LogsTimeRelativeRule | repeated | |
| ignore\_infinity | google.protobuf.BoolValue | | |
| notification\_payload\_filter | google.protobuf.StringValue | repeated | |
| undetected\_values\_management | UndetectedValuesManagement | | |
### LogsUniqueCountCondition
| Field | Type | Label | Description |
| ------------------ | -------------------------- | ----- | ----------- |
| max\_unique\_count | google.protobuf.Int64Value | | |
| time\_window | LogsUniqueValueTimeWindow | | |
### LogsUniqueCountRule
| Field | Type | Label | Description |
| --------- | ------------------------ | ----- | ----------- |
| condition | LogsUniqueCountCondition | | |
### LogsUniqueCountType
| Field | Type | Label | Description |
| --------------------------------------- | --------------------------- | -------- | ----------- |
| logs\_filter | LogsFilter | | |
| rules | LogsUniqueCountRule | repeated | |
| notification\_payload\_filter | google.protobuf.StringValue | repeated | |
| max\_unique\_count\_per\_group\_by\_key | google.protobuf.Int64Value | | |
| unique\_count\_keypath | google.protobuf.StringValue | | |
### LogsNewValueTimeWindow
| Field | Type | Label | Description |
| ----------------------------------------------- | --------------------------- | ----- | ----------- |
| logs\_new\_value\_time\_window\_specific\_value | LogsNewValueTimeWindowValue | | |
### LogsNewValueTimeWindowValue
| Name | Number | Description |
| ----------------------------------------------------------------- | ------ | ----------- |
| LOGS\_NEW\_VALUE\_TIME\_WINDOW\_VALUE\_HOURS\_12\_OR\_UNSPECIFIED | 0 | |
| LOGS\_NEW\_VALUE\_TIME\_WINDOW\_VALUE\_HOURS\_24 | 1 | |
| LOGS\_NEW\_VALUE\_TIME\_WINDOW\_VALUE\_HOURS\_48 | 2 | |
| LOGS\_NEW\_VALUE\_TIME\_WINDOW\_VALUE\_HOURS\_72 | 3 | |
| LOGS\_NEW\_VALUE\_TIME\_WINDOW\_VALUE\_WEEK\_1 | 4 | |
| LOGS\_NEW\_VALUE\_TIME\_WINDOW\_VALUE\_MONTH\_1 | 5 | |
| LOGS\_NEW\_VALUE\_TIME\_WINDOW\_VALUE\_MONTHS\_2 | 6 | |
| LOGS\_NEW\_VALUE\_TIME\_WINDOW\_VALUE\_MONTHS\_3 | 7 | |
### LogsRatioConditionType
| Name | Number | Description |
| --------------------------------------------------------- | ------ | ----------- |
| LOGS\_RATIO\_CONDITION\_TYPE\_MORE\_THAN\_OR\_UNSPECIFIED | 0 | |
| LOGS\_RATIO\_CONDITION\_TYPE\_LESS\_THAN | 1 | |
### LogsRatioGroupByFor
| Name | Number | Description |
| -------------------------------------------------- | ------ | ----------- |
| LOGS\_RATIO\_GROUP\_BY\_FOR\_BOTH\_OR\_UNSPECIFIED | 0 | |
| LOGS\_RATIO\_GROUP\_BY\_FOR\_NUMERATOR\_ONLY | 1 | |
| LOGS\_RATIO\_GROUP\_BY\_FOR\_DENUMERATOR\_ONLY | 2 | |
### LogsRatioTimeWindow
| Field | Type | Label | Description |
| ------------------------------------------ | ------------------------ | ----- | ----------- |
| logs\_ratio\_time\_window\_specific\_value | LogsRatioTimeWindowValue | | |
### LogsRatioTimeWindowValue
| Name | Number | Description |
| ------------------------------------------------------------- | ------ | ----------- |
| LOGS\_RATIO\_TIME\_WINDOW\_VALUE\_MINUTES\_5\_OR\_UNSPECIFIED | 0 | |
| LOGS\_RATIO\_TIME\_WINDOW\_VALUE\_MINUTES\_10 | 1 | |
| LOGS\_RATIO\_TIME\_WINDOW\_VALUE\_MINUTES\_15 | 2 | |
| LOGS\_RATIO\_TIME\_WINDOW\_VALUE\_MINUTES\_30 | 3 | |
| LOGS\_RATIO\_TIME\_WINDOW\_VALUE\_HOUR\_1 | 4 | |
| LOGS\_RATIO\_TIME\_WINDOW\_VALUE\_HOURS\_2 | 5 | |
| LOGS\_RATIO\_TIME\_WINDOW\_VALUE\_HOURS\_4 | 6 | |
| LOGS\_RATIO\_TIME\_WINDOW\_VALUE\_HOURS\_6 | 7 | |
| LOGS\_RATIO\_TIME\_WINDOW\_VALUE\_HOURS\_12 | 8 | |
| LOGS\_RATIO\_TIME\_WINDOW\_VALUE\_HOURS\_24 | 9 | |
| LOGS\_RATIO\_TIME\_WINDOW\_VALUE\_HOURS\_36 | 10 | |
### LogsThresholdConditionType
| Name | Number | Description |
| ------------------------------------------------------------- | ------ | ----------- |
| LOGS\_THRESHOLD\_CONDITION\_TYPE\_MORE\_THAN\_OR\_UNSPECIFIED | 0 | |
| LOGS\_THRESHOLD\_CONDITION\_TYPE\_LESS\_THAN | 1 | |
### LogsTimeRelativeComparedTo
| Name | Number | Description |
| ------------------------------------------------------------------- | ------ | ----------- |
| LOGS\_TIME\_RELATIVE\_COMPARED\_TO\_PREVIOUS\_HOUR\_OR\_UNSPECIFIED | 0 | |
| LOGS\_TIME\_RELATIVE\_COMPARED\_TO\_SAME\_HOUR\_YESTERDAY | 1 | |
| LOGS\_TIME\_RELATIVE\_COMPARED\_TO\_SAME\_HOUR\_LAST\_WEEK | 2 | |
| LOGS\_TIME\_RELATIVE\_COMPARED\_TO\_YESTERDAY | 3 | |
| LOGS\_TIME\_RELATIVE\_COMPARED\_TO\_SAME\_DAY\_LAST\_WEEK | 4 | |
| LOGS\_TIME\_RELATIVE\_COMPARED\_TO\_SAME\_DAY\_LAST\_MONTH | 5 | |
### LogsTimeRelativeConditionType
| Name | Number | Description |
| ------------------------------------------------------------------ | ------ | ----------- |
| LOGS\_TIME\_RELATIVE\_CONDITION\_TYPE\_MORE\_THAN\_OR\_UNSPECIFIED | 0 | |
| LOGS\_TIME\_RELATIVE\_CONDITION\_TYPE\_LESS\_THAN | 1 | |
### LogsUniqueValueTimeWindow
| Field | Type | Label | Description |
| -------------------------------------------------- | ------------------------------ | ----- | ----------- |
| logs\_unique\_value\_time\_window\_specific\_value | LogsUniqueValueTimeWindowValue | | |
### LogsUniqueValueTimeWindowValue
| Name | Number | Description |
| -------------------------------------------------------------------- | ------ | ----------- |
| LOGS\_UNIQUE\_VALUE\_TIME\_WINDOW\_VALUE\_MINUTE\_1\_OR\_UNSPECIFIED | 0 | |
| LOGS\_UNIQUE\_VALUE\_TIME\_WINDOW\_VALUE\_MINUTES\_15 | 1 | |
| LOGS\_UNIQUE\_VALUE\_TIME\_WINDOW\_VALUE\_MINUTES\_20 | 2 | |
| LOGS\_UNIQUE\_VALUE\_TIME\_WINDOW\_VALUE\_MINUTES\_30 | 3 | |
| LOGS\_UNIQUE\_VALUE\_TIME\_WINDOW\_VALUE\_HOURS\_1 | 4 | |
| LOGS\_UNIQUE\_VALUE\_TIME\_WINDOW\_VALUE\_HOURS\_2 | 5 | |
| LOGS\_UNIQUE\_VALUE\_TIME\_WINDOW\_VALUE\_HOURS\_4 | 6 | |
| LOGS\_UNIQUE\_VALUE\_TIME\_WINDOW\_VALUE\_HOURS\_6 | 7 | |
| LOGS\_UNIQUE\_VALUE\_TIME\_WINDOW\_VALUE\_HOURS\_12 | 8 | |
| LOGS\_UNIQUE\_VALUE\_TIME\_WINDOW\_VALUE\_HOURS\_24 | 9 | |
### MetricAnomalyConditionType
| Name | Number | Description |
| -------------------------------------------------------------------- | ------ | ----------- |
| METRIC\_ANOMALY\_CONDITION\_TYPE\_MORE\_THAN\_USUAL\_OR\_UNSPECIFIED | 0 | |
| METRIC\_ANOMALY\_CONDITION\_TYPE\_LESS\_THAN\_USUAL | 1 | |
### MetricTimeWindow
| Field | Type | Label | Description |
| ------------------------------------- | --------------------- | ----- | ----------- |
| metric\_time\_window\_specific\_value | MetricTimeWindowValue | | |
### MetricTimeWindowValue
| Name | Number | Description |
| -------------------------------------------------------- | ------ | ----------- |
| METRIC\_TIME\_WINDOW\_VALUE\_MINUTES\_1\_OR\_UNSPECIFIED | 0 | |
| METRIC\_TIME\_WINDOW\_VALUE\_MINUTES\_5 | 1 | |
| METRIC\_TIME\_WINDOW\_VALUE\_MINUTES\_10 | 2 | |
| METRIC\_TIME\_WINDOW\_VALUE\_MINUTES\_15 | 3 | |
| METRIC\_TIME\_WINDOW\_VALUE\_MINUTES\_30 | 4 | |
| METRIC\_TIME\_WINDOW\_VALUE\_HOUR\_1 | 5 | |
| METRIC\_TIME\_WINDOW\_VALUE\_HOURS\_2 | 6 | |
| METRIC\_TIME\_WINDOW\_VALUE\_HOURS\_4 | 7 | |
| METRIC\_TIME\_WINDOW\_VALUE\_HOURS\_6 | 8 | |
| METRIC\_TIME\_WINDOW\_VALUE\_HOURS\_12 | 9 | |
| METRIC\_TIME\_WINDOW\_VALUE\_HOURS\_24 | 10 | |
### MetricFilter
| Field | Type | Label | Description |
| ------ | --------------------------- | ----- | ----------- |
| promql | google.protobuf.StringValue | | |
### MetricAnomalyCondition
| Field | Type | Label | Description |
| --------------------------- | --------------------------- | ----- | ----------- |
| threshold | google.protobuf.DoubleValue | | |
| for\_over\_pct | google.protobuf.UInt32Value | | |
| of\_the\_last | MetricTimeWindow | | |
| min\_non\_null\_values\_pct | google.protobuf.UInt32Value | | |
| condition\_type | MetricAnomalyConditionType | | |
### MetricAnomalyRule
| Field | Type | Label | Description |
| --------- | ---------------------- | ----- | ----------- |
| condition | MetricAnomalyCondition | | |
### MetricAnomalyType
| Field | Type | Label | Description |
| -------------- | ----------------- | -------- | ----------- |
| metric\_filter | MetricFilter | | |
| rules | MetricAnomalyRule | repeated | |
### MetricThresholdCondition
| Field | Type | Label | Description |
| --------------- | ---------------------------- | ----- | ----------- |
| threshold | google.protobuf.DoubleValue | | |
| for\_over\_pct | google.protobuf.UInt32Value | | |
| of\_the\_last | MetricTimeWindow | | |
| condition\_type | MetricThresholdConditionType | | |
### MetricThresholdRule
| Field | Type | Label | Description |
| --------- | ------------------------ | ----- | ----------- |
| condition | MetricThresholdCondition | | |
| override | AlertDefOverride | | |
### MetricThresholdType
| Field | Type | Label | Description |
| ------------------------------ | -------------------------- | -------- | ----------- |
| metric\_filter | MetricFilter | | |
| rules | MetricThresholdRule | repeated | |
| missing\_values | MetricMissingValues | | |
| undetected\_values\_management | UndetectedValuesManagement | | |
### MetricThresholdConditionType
| Name | Number | Description |
| --------------------------------------------------------------- | ------ | ----------- |
| METRIC\_THRESHOLD\_CONDITION\_TYPE\_MORE\_THAN\_OR\_UNSPECIFIED | 0 | |
| METRIC\_THRESHOLD\_CONDITION\_TYPE\_LESS\_THAN | 1 | |
| METRIC\_THRESHOLD\_CONDITION\_TYPE\_MORE\_THAN\_OR\_EQUALS | 2 | |
| METRIC\_THRESHOLD\_CONDITION\_TYPE\_LESS\_THAN\_OR\_EQUALS | 3 | |
### MetricMissingValues
| Field | Type | Label | Description |
| --------------------------- | --------------------------- | ----- | ----------- |
| replace\_with\_zero | google.protobuf.BoolValue | | |
| min\_non\_null\_values\_pct | google.protobuf.UInt32Value | | |
### AlertDefOverride
| Field | Type | Label | Description |
| -------- | ---------------- | ----- | ----------- |
| priority | AlertDefPriority | | |
### TracingFilter
| Field | Type | Label | Description |
| -------------- | ------------------- | ----- | ----------- |
| simple\_filter | TracingSimpleFilter | | |
### TracingFilterType
| Field | Type | Label | Description |
| --------- | --------------------------- | -------- | ----------- |
| values | google.protobuf.StringValue | repeated | |
| operation | TracingFilterOperationType | | |
### TracingLabelFilters
| Field | Type | Label | Description |
| ----------------- | --------------------------- | -------- | ----------- |
| application\_name | TracingFilterType | repeated | |
| subsystem\_name | TracingFilterType | repeated | |
| service\_name | TracingFilterType | repeated | |
| operation\_name | TracingFilterType | repeated | |
| span\_fields | TracingSpanFieldsFilterType | repeated | |
### TracingSimpleFilter
| Field | Type | Label | Description |
| ----------------------- | --------------------------- | ----- | ----------- |
| tracing\_label\_filters | TracingLabelFilters | | |
| latency\_threshold\_ms | google.protobuf.UInt32Value | | |
### TracingSpanFieldsFilterType
| Field | Type | Label | Description |
| ------------ | --------------------------- | ----- | ----------- |
| key | google.protobuf.StringValue | | |
| filter\_type | TracingFilterType | | |
### TracingFilterOperationType
| Name | Number | Description |
| ----------------------------------------------------- | ------ | ----------- |
| TRACING\_FILTER\_OPERATION\_TYPE\_IS\_OR\_UNSPECIFIED | 0 | |
| TRACING\_FILTER\_OPERATION\_TYPE\_INCLUDES | 1 | |
| TRACING\_FILTER\_OPERATION\_TYPE\_ENDS\_WITH | 2 | |
| TRACING\_FILTER\_OPERATION\_TYPE\_STARTS\_WITH | 3 | |
| TRACING\_FILTER\_OPERATION\_TYPE\_IS\_NOT | 4 | |
### TracingThresholdConditionType
| Name | Number | Description |
| ---------------------------------------------------------------- | ------ | ----------- |
| TRACING\_THRESHOLD\_CONDITION\_TYPE\_MORE\_THAN\_OR\_UNSPECIFIED | 0 | |
### TracingTimeWindow
| Field | Type | Label | Description |
| ---------------------------- | ---------------------- | ----- | ----------- |
| tracing\_time\_window\_value | TracingTimeWindowValue | | |
### TracingTimeWindowValue
| Name | Number | Description |
| --------------------------------------------------------- | ------ | ----------- |
| TRACING\_TIME\_WINDOW\_VALUE\_MINUTES\_5\_OR\_UNSPECIFIED | 0 | |
| TRACING\_TIME\_WINDOW\_VALUE\_MINUTES\_10 | 1 | |
| TRACING\_TIME\_WINDOW\_VALUE\_MINUTES\_15 | 2 | |
| TRACING\_TIME\_WINDOW\_VALUE\_MINUTES\_30 | 3 | |
| TRACING\_TIME\_WINDOW\_VALUE\_HOUR\_1 | 4 | |
| TRACING\_TIME\_WINDOW\_VALUE\_HOURS\_2 | 5 | |
| TRACING\_TIME\_WINDOW\_VALUE\_HOURS\_4 | 6 | |
| TRACING\_TIME\_WINDOW\_VALUE\_HOURS\_6 | 7 | |
| TRACING\_TIME\_WINDOW\_VALUE\_HOURS\_12 | 8 | |
| TRACING\_TIME\_WINDOW\_VALUE\_HOURS\_24 | 9 | |
| TRACING\_TIME\_WINDOW\_VALUE\_HOURS\_36 | 10 | |
### TracingImmediateType
| Field | Type | Label | Description |
| ----------------------------- | --------------------------- | -------- | ----------- |
| tracing\_filter | TracingFilter | | |
| notification\_payload\_filter | google.protobuf.StringValue | repeated | |
### TracingThresholdCondition
| Field | Type | Label | Description |
| --------------- | ----------------------------- | ----- | ----------- |
| span\_amount | google.protobuf.DoubleValue | | |
| time\_window | TracingTimeWindow | | |
| condition\_type | TracingThresholdConditionType | | |
### TracingThresholdRule
| Field | Type | Label | Description |
| --------- | ------------------------- | ----- | ----------- |
| condition | TracingThresholdCondition | | |
### TracingThresholdType
| Field | Type | Label | Description |
| ----------------------------- | --------------------------- | -------- | ----------- |
| tracing\_filter | TracingFilter | | |
| rules | TracingThresholdRule | repeated | |
| notification\_payload\_filter | google.protobuf.StringValue | repeated | |
### UndetectedValuesManagement
| Field | Type | Label | Description |
| --------------------------- | ------------------------- | -------- | ----------- |
| trigger\_undetected\_values | google.protobuf.BoolValue | | |
| auto\_retire\_timeframe | AutoRetireTimeframe | optional | |
### AutoRetireTimeframe
| Name | Number | Description |
| ----------------------------------------------- | ------ | ----------- |
| AUTO\_RETIRE\_TIMEFRAME\_NEVER\_OR\_UNSPECIFIED | 0 | |
| AUTO\_RETIRE\_TIMEFRAME\_MINUTES\_5 | 1 | |
| AUTO\_RETIRE\_TIMEFRAME\_MINUTES\_10 | 2 | |
| AUTO\_RETIRE\_TIMEFRAME\_HOUR\_1 | 3 | |
| AUTO\_RETIRE\_TIMEFRAME\_HOURS\_2 | 4 | |
| AUTO\_RETIRE\_TIMEFRAME\_HOURS\_6 | 5 | |
| AUTO\_RETIRE\_TIMEFRAME\_HOURS\_12 | 6 | |
| AUTO\_RETIRE\_TIMEFRAME\_HOURS\_24 | 7 | |
### AuditLogDescription
| Field | Type | Label | Description |
| ----------- | ------ | -------- | ----------- |
| description | string | optional | |
### BatchGetAlertDefRequest
| Field | Type | Label | Description |
| ----- | --------------------------- | -------- | ----------- |
| ids | google.protobuf.StringValue | repeated | |
### BatchGetAlertDefResponse
| Field | Type | Label | Description |
| --------------- | --------------------------------------- | -------- | ----------- |
| alert\_defs | BatchGetAlertDefResponse.AlertDefsEntry | repeated | |
| not\_found\_ids | google.protobuf.StringValue | repeated | |
### BatchGetAlertDefResponse.AlertDefsEntry
| Field | Type | Label | Description |
| ----- | -------- | ----- | ----------- |
| key | string | | |
| value | AlertDef | | |
### CreateAlertDefRequest
| Field | Type | Label | Description |
| ---------------------- | ------------------ | ----- | ----------- |
| alert\_def\_properties | AlertDefProperties | | |
### CreateAlertDefResponse
| Field | Type | Label | Description |
| ---------- | -------- | ----- | ----------- |
| alert\_def | AlertDef | | |
### DeleteAlertDefRequest
| Field | Type | Label | Description |
| ----- | --------------------------- | ----- | ----------- |
| id | google.protobuf.StringValue | | |
### DeleteAlertDefResponse
### DownloadAlertsRequest
### DownloadAlertsResponse
| Field | Type | Label | Description |
| ------- | ----- | ----- | ----------- |
| content | bytes | | |
### GetAlertDefRequest
| Field | Type | Label | Description |
| ----- | --------------------------- | ----- | --------------------------- |
| id | google.protobuf.StringValue | | The Alert's non changing ID |
### GetAlertDefResponse
| Field | Type | Label | Description |
| ---------- | -------- | ----- | ----------- |
| alert\_def | AlertDef | | |
### ListAlertDefsRequest
### ListAlertDefsResponse
| Field | Type | Label | Description |
| ----------- | -------- | -------- | ----------- |
| alert\_defs | AlertDef | repeated | |
### OrderBy
| Field | Type | Label | Description |
| ----------- | ---------------- | ----- | ----------- |
| field\_name | OrderByFields | | |
| direction | OrderByDirection | | |
### ReplaceAlertDefRequest
| Field | Type | Label | Description |
| ---------------------- | --------------------------- | ----- | -------------------------------- |
| alert\_def\_properties | AlertDefProperties | | |
| id | google.protobuf.StringValue | | The AlertDef's ID to be replaced |
### ReplaceAlertDefResponse
| Field | Type | Label | Description |
| ---------- | -------- | ----- | ----------- |
| alert\_def | AlertDef | | |
### SetActiveRequest
```
message AlertExecutionRequest {
oneof request {
CreateAlertDefRequest create = 1;
ReplaceAlertDefRequest replace = 2;
DeleteAlertDefRequest delete = 3;
}
}
message AlertExecutionResponse {
oneof response {
CreateAlertDefResponse create = 1;
ReplaceAlertDefResponse replace = 2;
DeleteAlertDefResponse delete = 3;
}
}
message GetLimitsRequest {}
message GetLimitsResponse {
google.protobuf.StringValue company_id = 1;
google.protobuf.Int32Value limit = 2;
google.protobuf.Int32Value used = 3;
}
message ValidateAlertRequest {
Alert alert = 1;
}
message ValidateAlertResponse {
google.protobuf.BoolValue valid = 1;
}
```
| Field | Type | Label | Description |
| ------ | --------------------------- | ----- | ----------- |
| id | google.protobuf.StringValue | | |
| active | google.protobuf.BoolValue | | |
### SetActiveResponse
### OrderByDirection
| Name | Number | Description |
| ------------------------------------------ | ------ | ----------- |
| ORDER\_BY\_DIRECTION\_ASC\_OR\_UNSPECIFIED | 0 | |
| ORDER\_BY\_DIRECTION\_DESC | 1 | |
### OrderByFields
| Name | Number | Description |
| -------------------------------- | ------ | ----------- |
| `ORDER_BY_FIELDS_UNSPECIFIED` | `0` | |
| `ORDER_BY_FIELDS_NAME` | `1` | |
| `ORDER_BY_FIELDS_ID` | `2` | |
| `ORDER_BY_FIELDS_SEVERITY` | `3` | |
| `ORDER_BY_FIELDS_CREATED_TIME` | `4` | |
| `ORDER_BY_FIELDS_UPDATED_TIME` | `5` | |
| `ORDER_BY_FIELDS_LAST_TRIGGERED` | `6` | |
### File-level Extensions
| Extension | Type | Base | Number | Description |
| ----------------------- | ------------------- | ------------------------------ | ------ | ----------- |
| audit\_log\_description | AuditLogDescription | .google.protobuf.MethodOptions | 5000 | |
# Replace an alert definition
Source: https://docs.coralogix.com/api-reference/v5/alert-definitions-service/replace-an-alert-definition
openapi_v5.yaml put /alerts/alerts/v3
Updates an existing alert definition.
Requires the following permissions:
- `alerts:UpdateConfig`
# Get alert event by ID
Source: https://docs.coralogix.com/api-reference/v5/alert-events-service/get-alert-event-by-id
openapi_v5.yaml get /v3/alert-event/{id}
Returns the alert event with the specified ID.
Requires the following permissions:
- `alerts:ReadConfig`
# Get alert events statistics
Source: https://docs.coralogix.com/api-reference/v5/alert-events-service/get-alert-events-statistics
openapi_v5.yaml get /v3/alert-event-stats
Returns statistical data for alert events.
Requires the following permissions:
- `alerts:ReadConfig`
# Overview
Source: https://docs.coralogix.com/api-reference/v5/alert-events-service/overview
# Alert events service overview
Get information regarding your alert events - instances of alerts being triggered.
Learn more about alert events and incidents in our [documentation](https://coralogix.com/docs/user-guides/alerting/incidents/).
## Authentication and permissions
To use the Alert events service API you need to [create a personal or team API key](https://coralogix.com/docs/user-guides/account-management/api-keys/api-keys/). It's recommended to use permission presets, as they are automatically updated with all relevant permissions. Alternatively, you can manually add the following individual permissions.
| Presets | Permission | Description |
| ------- | ------------------- | ---------------------------- |
| Alerts | `alerts:ReadConfig` | Grants access to read alerts |
## Common error response codes
| Status Code | Description |
| --------------------------- | ----------------- |
| `400 Bad Request` | Response code 400 |
| `401 Unauthorized` | Response code 401 |
| `500 Internal Server Error` | Response code 500 |
## Constants
FilterMatcher
| Value |
| ---------------------------- |
| `FILTER_MATCHER_UNSPECIFIED` |
| `FILTER_MATCHER_EQUALS` |
| `FILTER_MATCHER_NOT_EQUALS` |
FilterValuesOperator
| Value |
| ------------------------------------ |
| `FILTER_VALUES_OPERATOR_UNSPECIFIED` |
| `FILTER_VALUES_OPERATOR_OR` |
| `FILTER_VALUES_OPERATOR_AND` |
AlertDefType
| Value |
| ---------------------------------------------- |
| `ALERT_DEF_TYPE_LOGS_IMMEDIATE_OR_UNSPECIFIED` |
| `ALERT_DEF_TYPE_LOGS_THRESHOLD` |
| `ALERT_DEF_TYPE_LOGS_ANOMALY` |
| `ALERT_DEF_TYPE_LOGS_RATIO_THRESHOLD` |
| `ALERT_DEF_TYPE_LOGS_NEW_VALUE` |
| `ALERT_DEF_TYPE_LOGS_UNIQUE_COUNT` |
| `ALERT_DEF_TYPE_LOGS_TIME_RELATIVE_THRESHOLD` |
| `ALERT_DEF_TYPE_METRIC_THRESHOLD` |
| `ALERT_DEF_TYPE_METRIC_ANOMALY` |
| `ALERT_DEF_TYPE_TRACING_IMMEDIATE` |
| `ALERT_DEF_TYPE_TRACING_THRESHOLD` |
| `ALERT_DEF_TYPE_FLOW` |
| `ALERT_DEF_TYPE_SLO_THRESHOLD` |
DayOfWeek
| Value |
| ----------------------------------- |
| `DAY_OF_WEEK_MONDAY_OR_UNSPECIFIED` |
| `DAY_OF_WEEK_TUESDAY` |
| `DAY_OF_WEEK_WEDNESDAY` |
| `DAY_OF_WEEK_THURSDAY` |
| `DAY_OF_WEEK_FRIDAY` |
| `DAY_OF_WEEK_SATURDAY` |
| `DAY_OF_WEEK_SUNDAY` |
NotifyOn
| Value |
| -------------------------------------- |
| `NOTIFY_ON_TRIGGERED_ONLY_UNSPECIFIED` |
| `NOTIFY_ON_TRIGGERED_AND_RESOLVED` |
DurationUnit
| Value |
| --------------------------- |
| `DURATION_UNIT_UNSPECIFIED` |
| `DURATION_UNIT_HOURS` |
BooleanOperator
| Value |
| ---------------------------------- |
| `BOOLEAN_OPERATOR_AND_UNSPECIFIED` |
| `BOOLEAN_OPERATOR_OR` |
OrderByDirection
| Value |
| --------------------------------------- |
| `ORDER_BY_DIRECTION_ASC_OR_UNSPECIFIED` |
| `ORDER_BY_DIRECTION_DESC` |
OrderByFields
| Value |
| -------------------------------- |
| `ORDER_BY_FIELDS_UNSPECIFIED` |
| `ORDER_BY_FIELDS_NAME` |
| `ORDER_BY_FIELDS_ID` |
| `ORDER_BY_FIELDS_SEVERITY` |
| `ORDER_BY_FIELDS_CREATED_TIME` |
| `ORDER_BY_FIELDS_UPDATED_TIME` |
| `ORDER_BY_FIELDS_LAST_TRIGGERED` |
AlertDefPriority
| Value |
| -------------------------------------- |
| `ALERT_DEF_PRIORITY_P5_OR_UNSPECIFIED` |
| `ALERT_DEF_PRIORITY_P4` |
| `ALERT_DEF_PRIORITY_P3` |
| `ALERT_DEF_PRIORITY_P2` |
| `ALERT_DEF_PRIORITY_P1` |
AutoRetireTimeframe
| Value |
| -------------------------------------------- |
| `AUTO_RETIRE_TIMEFRAME_NEVER_OR_UNSPECIFIED` |
| `AUTO_RETIRE_TIMEFRAME_MINUTES_5` |
| `AUTO_RETIRE_TIMEFRAME_MINUTES_10` |
| `AUTO_RETIRE_TIMEFRAME_HOUR_1` |
| `AUTO_RETIRE_TIMEFRAME_HOURS_2` |
| `AUTO_RETIRE_TIMEFRAME_HOURS_6` |
| `AUTO_RETIRE_TIMEFRAME_HOURS_12` |
| `AUTO_RETIRE_TIMEFRAME_HOURS_24` |
TracingFilterOperationType
| Value |
| ------------------------------------------------- |
| `TRACING_FILTER_OPERATION_TYPE_IS_OR_UNSPECIFIED` |
| `TRACING_FILTER_OPERATION_TYPE_INCLUDES` |
| `TRACING_FILTER_OPERATION_TYPE_ENDS_WITH` |
| `TRACING_FILTER_OPERATION_TYPE_STARTS_WITH` |
| `TRACING_FILTER_OPERATION_TYPE_IS_NOT` |
TracingTimeWindowValue
| Value |
| ---------------------------------------------------- |
| `TRACING_TIME_WINDOW_VALUE_MINUTES_5_OR_UNSPECIFIED` |
| `TRACING_TIME_WINDOW_VALUE_MINUTES_10` |
| `TRACING_TIME_WINDOW_VALUE_MINUTES_15` |
| `TRACING_TIME_WINDOW_VALUE_MINUTES_20` |
| `TRACING_TIME_WINDOW_VALUE_MINUTES_30` |
| `TRACING_TIME_WINDOW_VALUE_HOUR_1` |
| `TRACING_TIME_WINDOW_VALUE_HOURS_2` |
| `TRACING_TIME_WINDOW_VALUE_HOURS_4` |
| `TRACING_TIME_WINDOW_VALUE_HOURS_6` |
| `TRACING_TIME_WINDOW_VALUE_HOURS_12` |
| `TRACING_TIME_WINDOW_VALUE_HOURS_24` |
| `TRACING_TIME_WINDOW_VALUE_HOURS_36` |
TracingThresholdConditionType
| Value |
| ----------------------------------------------------------- |
| `TRACING_THRESHOLD_CONDITION_TYPE_MORE_THAN_OR_UNSPECIFIED` |
LogsAnomalyConditionType
| Value |
| ------------------------------------------------------------ |
| `LOGS_ANOMALY_CONDITION_TYPE_MORE_THAN_USUAL_OR_UNSPECIFIED` |
LogsUniqueValueTimeWindowValue
| Value |
| ------------------------------------------------------------- |
| `LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_MINUTE_1_OR_UNSPECIFIED` |
| `LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_MINUTES_5` |
| `LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_MINUTES_10` |
| `LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_MINUTES_15` |
| `LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_MINUTES_20` |
| `LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_MINUTES_30` |
| `LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_HOURS_1` |
| `LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_HOURS_2` |
| `LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_HOURS_4` |
| `LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_HOURS_6` |
| `LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_HOURS_12` |
| `LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_HOURS_24` |
| `LOGS_UNIQUE_VALUE_TIME_WINDOW_VALUE_HOURS_36` |
LogsRatioGroupByFor
| Value |
| --------------------------------------------- |
| `LOGS_RATIO_GROUP_BY_FOR_BOTH_OR_UNSPECIFIED` |
| `LOGS_RATIO_GROUP_BY_FOR_NUMERATOR_ONLY` |
| `LOGS_RATIO_GROUP_BY_FOR_DENUMERATOR_ONLY` |
LogsRatioTimeWindowValue
| Value |
| ------------------------------------------------------- |
| `LOGS_RATIO_TIME_WINDOW_VALUE_MINUTES_5_OR_UNSPECIFIED` |
| `LOGS_RATIO_TIME_WINDOW_VALUE_MINUTES_10` |
| `LOGS_RATIO_TIME_WINDOW_VALUE_MINUTES_15` |
| `LOGS_RATIO_TIME_WINDOW_VALUE_MINUTES_30` |
| `LOGS_RATIO_TIME_WINDOW_VALUE_HOUR_1` |
| `LOGS_RATIO_TIME_WINDOW_VALUE_HOURS_2` |
| `LOGS_RATIO_TIME_WINDOW_VALUE_HOURS_4` |
| `LOGS_RATIO_TIME_WINDOW_VALUE_HOURS_6` |
| `LOGS_RATIO_TIME_WINDOW_VALUE_HOURS_12` |
| `LOGS_RATIO_TIME_WINDOW_VALUE_HOURS_24` |
| `LOGS_RATIO_TIME_WINDOW_VALUE_HOURS_36` |
LogsRatioConditionType
| Value |
| ---------------------------------------------------- |
| `LOGS_RATIO_CONDITION_TYPE_MORE_THAN_OR_UNSPECIFIED` |
| `LOGS_RATIO_CONDITION_TYPE_LESS_THAN` |
LogsTimeRelativeConditionType
| Value |
| ------------------------------------------------------------ |
| `LOGS_TIME_RELATIVE_CONDITION_TYPE_MORE_THAN_OR_UNSPECIFIED` |
| `LOGS_TIME_RELATIVE_CONDITION_TYPE_LESS_THAN` |
LogsTimeRelativeComparedTo
| Value |
| ------------------------------------------------------------- |
| `LOGS_TIME_RELATIVE_COMPARED_TO_PREVIOUS_HOUR_OR_UNSPECIFIED` |
| `LOGS_TIME_RELATIVE_COMPARED_TO_SAME_HOUR_YESTERDAY` |
| `LOGS_TIME_RELATIVE_COMPARED_TO_SAME_HOUR_LAST_WEEK` |
| `LOGS_TIME_RELATIVE_COMPARED_TO_YESTERDAY` |
| `LOGS_TIME_RELATIVE_COMPARED_TO_SAME_DAY_LAST_WEEK` |
| `LOGS_TIME_RELATIVE_COMPARED_TO_SAME_DAY_LAST_MONTH` |
LogsTimeWindowValue
| Value |
| ------------------------------------------------- |
| `LOGS_TIME_WINDOW_VALUE_MINUTES_5_OR_UNSPECIFIED` |
| `LOGS_TIME_WINDOW_VALUE_MINUTES_10` |
| `LOGS_TIME_WINDOW_VALUE_MINUTES_20` |
| `LOGS_TIME_WINDOW_VALUE_MINUTES_15` |
| `LOGS_TIME_WINDOW_VALUE_MINUTES_30` |
| `LOGS_TIME_WINDOW_VALUE_HOUR_1` |
| `LOGS_TIME_WINDOW_VALUE_HOURS_2` |
| `LOGS_TIME_WINDOW_VALUE_HOURS_4` |
| `LOGS_TIME_WINDOW_VALUE_HOURS_6` |
| `LOGS_TIME_WINDOW_VALUE_HOURS_12` |
| `LOGS_TIME_WINDOW_VALUE_HOURS_24` |
| `LOGS_TIME_WINDOW_VALUE_HOURS_36` |
LogFilterOperationType
| Value |
| --------------------------------------------- |
| `LOG_FILTER_OPERATION_TYPE_IS_OR_UNSPECIFIED` |
| `LOG_FILTER_OPERATION_TYPE_INCLUDES` |
| `LOG_FILTER_OPERATION_TYPE_ENDS_WITH` |
| `LOG_FILTER_OPERATION_TYPE_STARTS_WITH` |
LogSeverity
| Value |
| ---------------------------------- |
| `LOG_SEVERITY_VERBOSE_UNSPECIFIED` |
| `LOG_SEVERITY_DEBUG` |
| `LOG_SEVERITY_INFO` |
| `LOG_SEVERITY_WARNING` |
| `LOG_SEVERITY_ERROR` |
| `LOG_SEVERITY_CRITICAL` |
LogsThresholdConditionType
| Value |
| -------------------------------------------------------- |
| `LOGS_THRESHOLD_CONDITION_TYPE_MORE_THAN_OR_UNSPECIFIED` |
| `LOGS_THRESHOLD_CONDITION_TYPE_LESS_THAN` |
LogsNewValueTimeWindowValue
| Value |
| ---------------------------------------------------------- |
| `LOGS_NEW_VALUE_TIME_WINDOW_VALUE_HOURS_12_OR_UNSPECIFIED` |
| `LOGS_NEW_VALUE_TIME_WINDOW_VALUE_HOURS_24` |
| `LOGS_NEW_VALUE_TIME_WINDOW_VALUE_HOURS_48` |
| `LOGS_NEW_VALUE_TIME_WINDOW_VALUE_HOURS_72` |
| `LOGS_NEW_VALUE_TIME_WINDOW_VALUE_WEEK_1` |
| `LOGS_NEW_VALUE_TIME_WINDOW_VALUE_MONTH_1` |
| `LOGS_NEW_VALUE_TIME_WINDOW_VALUE_MONTHS_2` |
| `LOGS_NEW_VALUE_TIME_WINDOW_VALUE_MONTHS_3` |
ActivityAnalysisStatus
| Value |
| -------------------------------------------------- |
| `ACTIVITY_ANALYSIS_STATUS_ACTIVATE_OR_UNSPECIFIED` |
| `ACTIVITY_ANALYSIS_STATUS_MUTE` |
MetricAnomalyConditionType
| Value |
| -------------------------------------------------------------- |
| `METRIC_ANOMALY_CONDITION_TYPE_MORE_THAN_USUAL_OR_UNSPECIFIED` |
| `METRIC_ANOMALY_CONDITION_TYPE_LESS_THAN_USUAL` |
MetricTimeWindowValue
| Value |
| --------------------------------------------------- |
| `METRIC_TIME_WINDOW_VALUE_MINUTES_1_OR_UNSPECIFIED` |
| `METRIC_TIME_WINDOW_VALUE_MINUTES_5` |
| `METRIC_TIME_WINDOW_VALUE_MINUTES_10` |
| `METRIC_TIME_WINDOW_VALUE_MINUTES_15` |
| `METRIC_TIME_WINDOW_VALUE_MINUTES_20` |
| `METRIC_TIME_WINDOW_VALUE_MINUTES_30` |
| `METRIC_TIME_WINDOW_VALUE_HOUR_1` |
| `METRIC_TIME_WINDOW_VALUE_HOURS_2` |
| `METRIC_TIME_WINDOW_VALUE_HOURS_4` |
| `METRIC_TIME_WINDOW_VALUE_HOURS_6` |
| `METRIC_TIME_WINDOW_VALUE_HOURS_12` |
| `METRIC_TIME_WINDOW_VALUE_HOURS_24` |
| `METRIC_TIME_WINDOW_VALUE_HOURS_36` |
MetricThresholdConditionType
| Value |
| ---------------------------------------------------------- |
| `METRIC_THRESHOLD_CONDITION_TYPE_MORE_THAN_OR_UNSPECIFIED` |
| `METRIC_THRESHOLD_CONDITION_TYPE_LESS_THAN` |
| `METRIC_THRESHOLD_CONDITION_TYPE_MORE_THAN_OR_EQUALS` |
| `METRIC_THRESHOLD_CONDITION_TYPE_LESS_THAN_OR_EQUALS` |
NextOp
| Value |
| ---------------------------- |
| `NEXT_OP_AND_OR_UNSPECIFIED` |
| `NEXT_OP_OR` |
AlertsOp
| Value |
| ------------------------------ |
| `ALERTS_OP_AND_OR_UNSPECIFIED` |
| `ALERTS_OP_OR` |
TimeframeType
| Value |
| ---------------------------- |
| `TIMEFRAME_TYPE_UNSPECIFIED` |
| `TIMEFRAME_TYPE_UP_TO` |
AlertStatus
| Value |
| -------------------------------------- |
| `ALERT_STATUS_RESOLVED_OR_UNSPECIFIED` |
| `ALERT_STATUS_TRIGGERED` |
OrderByAlertEventFields
| Value |
| ----------------------------------------- |
| `ORDER_BY_ALERT_EVENT_FIELDS_UNSPECIFIED` |
| `ORDER_BY_ALERT_EVENT_FIELDS_TIMESTAMP` |
OrderByAlertEventDirection
| Value |
| -------------------------------------------- |
| `ORDER_BY_ALERT_EVENT_DIRECTION_UNSPECIFIED` |
| `ORDER_BY_ALERT_EVENT_DIRECTION_ASC` |
| `ORDER_BY_ALERT_EVENT_DIRECTION_DESC` |
SpecialRatioValues
| Value |
| ---------------------------------------------- |
| `SPECIAL_RATIO_VALUES_INFINITY_OR_UNSPECIFIED` |
# Create an alert scheduler rule
Source: https://docs.coralogix.com/api-reference/v5/alert-scheduler-rule-service/create-an-alert-scheduler-rule
openapi_v5.yaml post /alerts/suppression-rules/v1
Creates a new alert suppression rule.
# Create multiple alert scheduler rules
Source: https://docs.coralogix.com/api-reference/v5/alert-scheduler-rule-service/create-multiple-alert-scheduler-rules
openapi_v5.yaml post /alerts/suppression-rules/v1/all/rules
Returns all alert suppression rules matching the given criteria.
# Delete an alert scheduler rule
Source: https://docs.coralogix.com/api-reference/v5/alert-scheduler-rule-service/delete-an-alert-scheduler-rule
openapi_v5.yaml delete /alerts/suppression-rules/v1/{alert_scheduler_rule_id}
Deletes the alert suppression rule with the specified ID.
# Get an alert scheduler rule
Source: https://docs.coralogix.com/api-reference/v5/alert-scheduler-rule-service/get-an-alert-scheduler-rule
openapi_v5.yaml get /alerts/suppression-rules/v1/{alert_scheduler_rule_id}
Returns the details of the specified alert suppression rule.
# Get multiple alert scheduler rules
Source: https://docs.coralogix.com/api-reference/v5/alert-scheduler-rule-service/get-multiple-alert-scheduler-rules
openapi_v5.yaml get /alerts/suppression-rules/v1
Returns alert suppression rules with optional pagination.
# Update an alert scheduler rule
Source: https://docs.coralogix.com/api-reference/v5/alert-scheduler-rule-service/update-an-alert-scheduler-rule
openapi_v5.yaml put /alerts/suppression-rules/v1
Updates an existing alert suppression rule.
# Update multiple alert scheduler rules
Source: https://docs.coralogix.com/api-reference/v5/alert-scheduler-rule-service/update-multiple-alert-scheduler-rules
openapi_v5.yaml put /alerts/suppression-rules/v1/all/rules
Replaces all alert suppression rules with the provided set.
# Delete API Keys
Source: https://docs.coralogix.com/api-reference/v5/api-keys-admin-service/delete-api-keys
openapi_v5.yaml post /aaa/api-keys/v3/all/delete
Delete specified API keys.
# Get Team Members API Keys
Source: https://docs.coralogix.com/api-reference/v5/api-keys-admin-service/get-team-members-api-keys
openapi_v5.yaml get /aaa/api-keys/v3
Retrieve all API keys for team members.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/api-keys-admin-service/overview
# API Keys Admin service overview
The API Keys Admin service provides team-wide, administrative operations on API keys in Coralogix. While the [API Keys Service](../api-keys-service/overview) handles individual key management, this service lets administrators list every API key issued to team members and perform bulk delete or bulk activate/deactivate actions. Typical uses include periodic [key rotation](https://coralogix.com/docs/user-guides/account-management/api-keys/api-keys/#security), revoking keys when offboarding users, and team-wide audits. Access requires team-admin–level privileges; see the [API Keys](https://coralogix.com/docs/user-guides/account-management/api-keys/api-keys/) user guide for the key model, permission presets, and the [permissions list](https://coralogix.com/docs/user-guides/aaa/access-control/permissions/permissions-list/) for the underlying permissions.
## Methods
| Method | Path | Description |
| ------ | ----------------------------- | ---------------------------------------------- |
| `GET` | `/aaa/api-keys/v3` | Retrieve all API keys for team members. |
| `POST` | `/aaa/api-keys/v3/all/delete` | Delete the specified API keys. |
| `POST` | `/aaa/api-keys/v3/all/status` | Activate or deactivate the specified API keys. |
# Update API Keys Status
Source: https://docs.coralogix.com/api-reference/v5/api-keys-admin-service/update-api-keys-status
openapi_v5.yaml post /aaa/api-keys/v3/all/status
Activate or deactivate specified API keys.
# Create API Key
Source: https://docs.coralogix.com/api-reference/v5/api-keys-service/create-api-key
openapi_v5.yaml post /aaa/api-keys/v3
Creates a new API key for the authenticated team.
# Delete API Key
Source: https://docs.coralogix.com/api-reference/v5/api-keys-service/delete-api-key
openapi_v5.yaml delete /aaa/api-keys/v3/{key_id}
Deletes the API key with the given ID.
# Get "Send Data" API Keys
Source: https://docs.coralogix.com/api-reference/v5/api-keys-service/get-"send-data"-api-keys
openapi_v5.yaml get /aaa/send-data-keys/v3
Returns all send-data API keys for the authenticated team.
# Get API Key
Source: https://docs.coralogix.com/api-reference/v5/api-keys-service/get-api-key
openapi_v5.yaml get /aaa/api-keys/v3/{key_id}
Returns the details of the specified API key.
# Get API Keys
Source: https://docs.coralogix.com/api-reference/v5/api-keys-service/get-api-keys
openapi_v5.yaml get /aaa/api-keys/v3/list/all
Returns all API keys for the authenticated team.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/api-keys-service/overview
# API Keys service overview
Coralogix API Keys provide secure, fine-grained access control for all platform APIs, enabling safe and auditable integrations with third-party systems, CI/CD pipelines, and automation scripts. The API Keys API allows users to programmatically create, retrieve, update, and delete API keys, each scoped with specific permissions or permission presets. In addition, API keys support policy-based access control (PBAC), letting you control which users and groups can view or manage each key through configurable access policies. Keys can be assigned to users, teams, or organizations, and tailored with granular read/write permissions across Coralogix services.
Learn more in our [API Keys](https://coralogix.com/docs/user-guides/account-management/api-keys/api-keys/) documentation.
## Examples
### Send-Your-Data API key Access Policy
```
{
"version": "v2025-01-01",
"rules": [],
"default": {
"permissions": {
"data-ingest-api-keys:ReadConfig": "grant",
"data-ingest-api-keys:Manage": "grant",
"data-ingest-api-keys:ReadAccessPolicy": "grant",
"data-ingest-api-keys:UpdateAccessPolicy": "grant"
},
}
}
```
### Send-Your-Data API key Access Policy with rules
NB: Rule amount is unlimited.
```
{
"version": "v2025-01-01",
"rules": [
{
"targets": [
{
"group": "120173"
},
{
"group": "87434"
}
],
"permissions": {
"data-ingest-api-keys:ReadConfig": "grant",
"data-ingest-api-keys:Manage": "grant"
},
"additionalInfo": null
}
],
"default": {
"permissions": {
"data-ingest-api-keys:ReadConfig": "grant",
"data-ingest-api-keys:Manage": "grant",
"data-ingest-api-keys:ReadAccessPolicy": "grant",
"data-ingest-api-keys:UpdateAccessPolicy": "grant"
},
"additionalInfo": null
}
}
```
### Permissions
#### Send-Your-Data API key
```
"data-ingest-api-keys:ReadConfig": "Read Send-Your-Data-Key",
"data-ingest-api-keys:Manage": "Update Send-Your-Data-Key",
"data-ingest-api-keys:ReadAccessPolicy": "Read Access Policy",
"data-ingest-api-keys:UpdateAccessPolicy": "Manage Access Policy"
```
#### Team key
```
"team-custom-api-keys:ReadConfig": "Read Team API key",
"team-custom-api-keys:Manage": "Update Team API Key",
"team-custom-api-keys:ReadAccessPolicy": "Read Access Policy",
"team-custom-api-keys:UpdateAccessPolicy": "Update Access Policy"
```
# Update API Key
Source: https://docs.coralogix.com/api-reference/v5/api-keys-service/update-api-key
openapi_v5.yaml put /aaa/api-keys/v3/{key_id}
Updates the specified API key.
# Create a comment event
Source: https://docs.coralogix.com/api-reference/v5/case-events-service/create-a-comment-event
openapi_v5.yaml post /cases/cases/v1/{case_id}/comments
Create a new comment event for a case.
Requires the following permissions:
- `case:Comment`
# Delete a comment event
Source: https://docs.coralogix.com/api-reference/v5/case-events-service/delete-a-comment-event
openapi_v5.yaml delete /cases/events/v1/{event_id}/comments
Delete an existing comment event from a case.
Requires the following permissions:
- `case:Comment`
# Get an event by ID
Source: https://docs.coralogix.com/api-reference/v5/case-events-service/get-an-event-by-id
openapi_v5.yaml get /cases/events/v1/{event_id}
Retrieve a single event by its unique identifier.
Requires the following permissions:
- `case:Read`
# List events for a case
Source: https://docs.coralogix.com/api-reference/v5/case-events-service/list-events-for-a-case
openapi_v5.yaml get /cases/cases/v1/{case_id}/events
Retrieve all events associated with a specific case.
Requires the following permissions:
- `case:Read`
# Overview
Source: https://docs.coralogix.com/api-reference/v5/case-events-service/overview
# Case Events service overview
The Case Events service manages the events that appear on a case's Activity timeline. Use it to list the events on a case, retrieve a single event by ID, and create, update, or delete comment events on a case. The service also exposes a sync endpoint that lets Coralogix Cases pull comments from external systems (for example, Slack) into the case timeline.
Learn more in our [documentation](https://coralogix.com/docs/user-guides/cases/working-with-cases/#activity-tab).
## Authentication and permissions
To use the Case Events service API you need to [create a personal or team API key](https://coralogix.com/docs/user-guides/account-management/api-keys/api-keys/). Cases do not ship with a permission preset; add the individual `case:*` permissions you need.
| Presets | Permission | Description |
| ------- | -------------- | ---------------------------------------------------------------------------------------------------------- |
| | `case:Read` | List events for a case and retrieve a single event by ID. |
| | `case:Comment` | Create, update, or delete a comment event, and sync events from an external system into the case timeline. |
## Common error response codes
| Status Code | Description |
| --------------------------- | ----------------------------------------------- |
| `400 Bad Request` | Response code 400 |
| `401 Unauthorized` | Response code 401 |
| `403 Forbidden` | Response code 403 |
| `404 Not Found` | Returned when the case or event does not exist. |
| `500 Internal Server Error` | Response code 500 |
# Sync external Case events
Source: https://docs.coralogix.com/api-reference/v5/case-events-service/sync-external-case-events
openapi_v5.yaml post /cases/cases/v1/{case_id}/sync-external-thread-comments
Synchronize events from an external source (e.g. Slack) into the case.
Requires the following permissions:
- `case:Comment`
# Update a comment event
Source: https://docs.coralogix.com/api-reference/v5/case-events-service/update-a-comment-event
openapi_v5.yaml put /cases/events/v1/{event_id}/comments
Modify the content of an existing comment event.
Requires the following permissions:
- `case:Comment`
# Create a case settings team configuration
Source: https://docs.coralogix.com/api-reference/v5/case-settings-service/create-a-case-settings-team-configuration
openapi_v5.yaml post /cases/cases/case-settings/v1/configs
Create a new case settings team configuration with an optional display name and settings.
Requires the following permissions:
- `case-config:Update`
# Delete a case settings team configuration
Source: https://docs.coralogix.com/api-reference/v5/case-settings-service/delete-a-case-settings-team-configuration
openapi_v5.yaml delete /cases/cases/case-settings/v1/configs/{id}
Delete a case settings team configuration by its identifier.
Requires the following permissions:
- `case-config:Update`
# Get a case settings team configuration
Source: https://docs.coralogix.com/api-reference/v5/case-settings-service/get-a-case-settings-team-configuration
openapi_v5.yaml get /cases/cases/case-settings/v1/configs/{id}
Retrieve a single case settings team configuration by its identifier.
Requires the following permissions:
- `case-config:Read`
# Get system default case settings team configuration settings
Source: https://docs.coralogix.com/api-reference/v5/case-settings-service/get-system-default-case-settings-team-configuration-settings
openapi_v5.yaml get /cases/cases/case-settings/v1/configs:getSystemDefaults
Retrieve the platform-wide default settings for case settings team configurations.
Requires the following permissions:
- `case-config:Read`
# Get the active case settings team configuration
Source: https://docs.coralogix.com/api-reference/v5/case-settings-service/get-the-active-case-settings-team-configuration
openapi_v5.yaml get /cases/cases/case-settings/v1/configs:getActive
Retrieve the currently active case settings team configuration (after any org- or user-level precedence resolution).
Requires the following permissions:
- `case-config:Read`
# Overview
Source: https://docs.coralogix.com/api-reference/v5/case-settings-service/overview
# Case Settings service overview
The Case Settings service manages the team-level configurations that control how cases are created and handled, such as the suppression window and snooze period. Use it to create, retrieve, update, and delete case settings team configurations, to get the configuration currently active for the team, and to get the system default configuration.
Learn more in our [documentation](https://coralogix.com/docs/user-guides/cases/cases-setting/).
## Authentication and permissions
To use the Case Settings service API you need to [create a personal or team API key](https://coralogix.com/docs/user-guides/account-management/api-keys/api-keys/). Add the individual `case-config:*` permissions you need.
| Presets | Permission | Description |
| ------- | -------------------- | ------------------------------------------------------------------------------------ |
| | `CASE-CONFIG:READ` | Get a case settings configuration, the active configuration, and the system default. |
| | `CASE-CONFIG:UPDATE` | Create, update, and delete case settings configurations. |
## Common error response codes
| Status Code | Description |
| --------------------------- | ------------------------------------------------------------- |
| `400 Bad Request` | Response code 400 |
| `401 Unauthorized` | Response code 401 |
| `403 Forbidden` | Response code 403 |
| `404 Not Found` | Returned when the case settings configuration does not exist. |
| `409 Conflict` | Returned when a configuration conflicts with an existing one. |
| `500 Internal Server Error` | Response code 500 |
# Update a case settings team configuration
Source: https://docs.coralogix.com/api-reference/v5/case-settings-service/update-a-case-settings-team-configuration
openapi_v5.yaml patch /cases/cases/case-settings/v1/configs/{id}
Update the display name and/or settings of an existing case settings team configuration.
Requires the following permissions:
- `case-config:Update`
# List notification deliveries for cases
Source: https://docs.coralogix.com/api-reference/v5/cases-notification-service/list-notification-deliveries-for-cases
openapi_v5.yaml post /cases/notifications/v1/deliveries
Retrieve notification delivery records for one or more cases, including routing, target, and outcome information.
Requires the following permissions:
- `case:Read`
# Overview
Source: https://docs.coralogix.com/api-reference/v5/cases-notification-service/overview
# Cases Notification service overview
The Cases Notification service tracks notification-adjacent data for cases. Use it to retrieve the notification delivery records routed for one or more cases, including routing, target, and outcome information for each delivery attempt.
Learn more in our [documentation](https://coralogix.com/docs/user-guides/cases/working-with-cases/#notification-evidence).
## Authentication and permissions
To use the Cases Notification service API you need to [create a personal or team API key](https://coralogix.com/docs/user-guides/account-management/api-keys/api-keys/). Cases do not ship with a permission preset; add the individual `case:Read` permission to the key.
| Presets | Permission | Description |
| ------- | ----------- | --------------------------------------------------------- |
| | `case:Read` | List notification delivery records for one or more cases. |
## Common error response codes
| Status Code | Description |
| --------------------------- | ----------------- |
| `400 Bad Request` | Response code 400 |
| `401 Unauthorized` | Response code 401 |
| `500 Internal Server Error` | Response code 500 |
# Acknowledge a case
Source: https://docs.coralogix.com/api-reference/v5/cases-service/acknowledge-a-case
openapi_v5.yaml put /cases/acknowledged/v1/{id}
Mark the case as acknowledged by a user.
Requires the following permissions:
- `case:Acknowledge`
# Acknowledge multiple cases
Source: https://docs.coralogix.com/api-reference/v5/cases-service/acknowledge-multiple-cases
openapi_v5.yaml post /cases/acknowledged/v1
Mark multiple cases as acknowledged in a single operation.
Requires the following permissions:
- `case:Acknowledge`
# Assign a case to a user
Source: https://docs.coralogix.com/api-reference/v5/cases-service/assign-a-case-to-a-user
openapi_v5.yaml post /cases/assigned/v1/{id}
Assign a case to a specific user.
Requires the following permissions:
- `case:Assign`
# Assign multiple cases to a user
Source: https://docs.coralogix.com/api-reference/v5/cases-service/assign-multiple-cases-to-a-user
openapi_v5.yaml put /cases/assigned/v1
Assign multiple cases to a specific user in a single operation.
Requires the following permissions:
- `case:Assign`
# Close a case
Source: https://docs.coralogix.com/api-reference/v5/cases-service/close-a-case
openapi_v5.yaml post /cases/closed/v1/{id}
Close a case that no longer requires action.
Requires the following permissions:
- `case:Close`
# Close multiple cases
Source: https://docs.coralogix.com/api-reference/v5/cases-service/close-multiple-cases
openapi_v5.yaml post /cases/closed/v1
Close multiple cases in a single operation.
Requires the following permissions:
- `case:Close`
# Get available filter values
Source: https://docs.coralogix.com/api-reference/v5/cases-service/get-available-filter-values
openapi_v5.yaml post /cases/filter-values/v1
Retrieve available filter and aggregation values for cases.
Requires the following permissions:
- `case:Read`
# Get available grouping keys
Source: https://docs.coralogix.com/api-reference/v5/cases-service/get-available-grouping-keys
openapi_v5.yaml get /cases/grouping-keys/v1
Retrieve all available grouping keys that can be used for organizing and filtering Cases.
Requires the following permissions:
- `case:Read`
# Get case by ID
Source: https://docs.coralogix.com/api-reference/v5/cases-service/get-case-by-id
openapi_v5.yaml get /cases/cases/v1/{id}
Retrieve detailed information about a single case by its unique identifier.
Requires the following permissions:
- `case:Read`
# Get case by indicator
Source: https://docs.coralogix.com/api-reference/v5/cases-service/get-case-by-indicator
openapi_v5.yaml post /cases/indicators/v1/get
Retrieve a case by its source indicator. Currently supports Prometheus AlertManager alerts identified by fingerprint and start time.
Requires the following permissions:
- `case:Read`
# Get case deep links
Source: https://docs.coralogix.com/api-reference/v5/cases-service/get-case-deep-links
openapi_v5.yaml get /cases/cases/v1/{case_id}/deep-links
Retrieve deep-link URLs for a case.
Requires the following permissions:
- `case:Read`
# List cases with filters
Source: https://docs.coralogix.com/api-reference/v5/cases-service/list-cases-with-filters
openapi_v5.yaml post /cases/cases/v1
List cases using filters, pagination and custom ordering.
Requires the following permissions:
- `case:Read`
# Override priority for multiple cases
Source: https://docs.coralogix.com/api-reference/v5/cases-service/override-priority-for-multiple-cases
openapi_v5.yaml post /cases/priority-override/v1
Override the priority with for multiple cases in a single operation.
Requires the following permissions:
- `case:Update`
# Overview
Source: https://docs.coralogix.com/api-reference/v5/cases-service/overview
# Cases service overview
The Cases service manages case entities in Coralogix, which track and correlate events across the system and, like alerts, can generate notifications through the Notification Center. The service supports the full case lifecycle, including retrieving and listing cases with filters and pagination, updating case fields, assigning and unassigning owners, acknowledging cases, resolving and closing cases, and overriding computed priority values. It also provides bulk operations for all major actions and exposes aggregation, filter, and grouping metadata to support UI workflows and case organization. Case entities progress through defined states, from created and active, to acknowledged, resolved, and closed, enabling structured investigation, ownership, and follow-up.
Learn more in our [documentation](https://coralogix.com/docs/user-guides/cases/working-with-cases/).
## Authentication and permissions
To use the Cases service API you need to [create a personal or team API key](https://coralogix.com/docs/user-guides/account-management/api-keys/api-keys/). Cases do not ship with a permission preset; add the individual `case:*` permissions you need.
| Presets | Permission | Description |
| ------- | ------------------ | ---------------------------------------------------------------------------------------------------- |
| | `case:Read` | Grants access to read cases, list cases, retrieve filter values, grouping keys, and case deep links. |
| | `case:Update` | Update case fields and priority overrides. |
| | `case:Assign` | Assign and unassign cases, including bulk operations. |
| | `case:Acknowledge` | Acknowledge and unacknowledge cases, including bulk operations. |
| | `case:Close` | Resolve and close cases, including bulk operations. |
## Common error response codes
| Status Code | Description |
| --------------------------- | ----------------- |
| `400 Bad Request` | Response code 400 |
| `401 Unauthorized` | Response code 401 |
| `500 Internal Server Error` | Response code 500 |
# Remove assignment from multiple cases
Source: https://docs.coralogix.com/api-reference/v5/cases-service/remove-assignment-from-multiple-cases
openapi_v5.yaml delete /cases/assigned/v1
Remove the current assignee from multiple cases in a single operation.
Requires the following permissions:
- `case:Assign`
# Remove case assignment
Source: https://docs.coralogix.com/api-reference/v5/cases-service/remove-case-assignment
openapi_v5.yaml delete /cases/assigned/v1/{id}
Remove the current assignee from a case.
Requires the following permissions:
- `case:Assign`
# Remove priority override
Source: https://docs.coralogix.com/api-reference/v5/cases-service/remove-priority-override
openapi_v5.yaml delete /cases/priority-override/v1/{id}
Remove a previously set priority override for a case.
Requires the following permissions:
- `case:Update`
# Remove priority override from multiple cases
Source: https://docs.coralogix.com/api-reference/v5/cases-service/remove-priority-override-from-multiple-cases
openapi_v5.yaml delete /cases/priority-override/v1
Remove previously set priority overrides from multiple cases in a single operation.
Requires the following permissions:
- `case:Update`
# Resolve a case
Source: https://docs.coralogix.com/api-reference/v5/cases-service/resolve-a-case
openapi_v5.yaml put /cases/resolved/v1/{id}
Mark a case as resolved.
Requires the following permissions:
- `case:Close`
# Resolve multiple cases
Source: https://docs.coralogix.com/api-reference/v5/cases-service/resolve-multiple-cases
openapi_v5.yaml post /cases/resolved/v1
Resolve multiple cases in a single operation.
Requires the following permissions:
- `case:Close`
# Set priority override
Source: https://docs.coralogix.com/api-reference/v5/cases-service/set-priority-override
openapi_v5.yaml put /cases/priority-override/v1/{id}
Override a case's computed priority with a specific value.
Requires the following permissions:
- `case:Update`
# Unacknowledge a case
Source: https://docs.coralogix.com/api-reference/v5/cases-service/unacknowledge-a-case
openapi_v5.yaml delete /cases/acknowledged/v1/{id}
Remove the acknowledgment from a case.
Requires the following permissions:
- `case:Acknowledge`
# Update case fields
Source: https://docs.coralogix.com/api-reference/v5/cases-service/update-case-fields
openapi_v5.yaml put /cases/cases/v1/{id}
Apply a partial update (patch) to a case.
Requires the following permissions:
- `case:Update`
# Get Connector Schema
Source: https://docs.coralogix.com/api-reference/v5/connector-schema-service/get-connector-schema
openapi_v5.yaml get /notifications/notification-center/v1/connector-schemas
Returns the schema definition for notification connectors.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/connector-schema-service/overview
# Connector Schema service overview
The Connector Schema service returns the schema for a Notification Center connector of a given type (for example, Slack, generic HTTPS, or PagerDuty). The response contains both `connector_config_schema` — the fields needed to configure the connector itself — and one or more `message_config_schemas`, which define the preset (message) fields for that connector type. Each schema lists every field's name, type, allowed values, and whether it is required. Check `connector_config_schema` before creating a connector and `message_config_schemas` before creating a preset.
Learn more in our [documentation](https://coralogix.com/docs/user-guides/notification-center/introduction/).
## Authentication and permissions
To use the Connector Schema service API you need to [create a personal or team API key](https://coralogix.com/docs/user-guides/account-management/api-keys/api-keys/). The key needs one of the following permissions.
| Permission | Description |
| -------------------------------------------- | ----------------------- |
| `notification-center-connectors:ReadSummary` | View connector schemas. |
| `notification-center-presets:ReadSummary` | View preset schemas. |
## Common error response codes
| Status Code | Description |
| --------------------------- | ----------------- |
| `400 Bad Request` | Response code 400 |
| `401 Unauthorized` | Response code 401 |
| `500 Internal Server Error` | Response code 500 |
# Batch Get Connectors
Source: https://docs.coralogix.com/api-reference/v5/connectors-service/batch-get-connectors
openapi_v5.yaml get /notifications/notification-center/v1/connectors/all/list
Returns all notification connectors for the team.
# Batch Get Connectors Summaries
Source: https://docs.coralogix.com/api-reference/v5/connectors-service/batch-get-connectors-summaries
openapi_v5.yaml get /notifications/notification-center/v1/connectors/all/summaries
Returns summary information for all notification connectors.
# Create a Connector
Source: https://docs.coralogix.com/api-reference/v5/connectors-service/create-a-connector
openapi_v5.yaml post /notifications/notification-center/v1/connectors
Creates a new notification connector.
# Delete a Connector
Source: https://docs.coralogix.com/api-reference/v5/connectors-service/delete-a-connector
openapi_v5.yaml delete /notifications/notification-center/v1/connectors/{id}
Deletes the notification connector with the specified ID.
# Get a Connector
Source: https://docs.coralogix.com/api-reference/v5/connectors-service/get-a-connector
openapi_v5.yaml get /notifications/notification-center/v1/connectors/{id}
Returns the details of the specified notification connector.
# Get Connector Type Summaries
Source: https://docs.coralogix.com/api-reference/v5/connectors-service/get-connector-type-summaries
openapi_v5.yaml get /notifications/notification-center/v1/connectors/types/summaries
Returns summary information for all available connector types.
# List Connector Summaries
Source: https://docs.coralogix.com/api-reference/v5/connectors-service/list-connector-summaries
openapi_v5.yaml get /notifications/notification-center/v1/connectors/list/summaries
Returns a paginated list of notification connector summaries.
# List Connectors
Source: https://docs.coralogix.com/api-reference/v5/connectors-service/list-connectors
openapi_v5.yaml get /notifications/notification-center/v1/connectors
Returns notification connectors with optional pagination.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/connectors-service/overview
# Connectors Service overview
## Constants
OrderByDirection
| Value |
| -------------------------------- |
| `ORDER_BY_DIRECTION_UNSPECIFIED` |
| `ASC` |
| `DESC` |
ConnectorType
| Value |
| ---------------------------- |
| `CONNECTOR_TYPE_UNSPECIFIED` |
| `SLACK` |
| `GENERIC_HTTPS` |
| `PAGERDUTY` |
| `AWS` |
| `IBM_EVENT_NOTIFICATIONS` |
PresetType
| Value |
| ------------------------- |
| `PRESET_TYPE_UNSPECIFIED` |
| `SYSTEM` |
| `CUSTOM` |
TriggerType
| Value |
| -------------------------- |
| `TRIGGER_TYPE_UNSPECIFIED` |
| `MANUAL` |
| `AUTOMATIC` |
FailureReason
| Value |
| ----------------------------------- |
| `FAILURE_REASON_UNSPECIFIED` |
| `INVALID_TEMPLATE` |
| `FIELD_NOT_FOUND` |
| `TEMPLATE_EXCEEDS_MAX_LENGTH` |
| `RENDERED_VALUE_EXCEEDS_MAX_LENGTH` |
# Replace a Connector
Source: https://docs.coralogix.com/api-reference/v5/connectors-service/replace-a-connector
openapi_v5.yaml put /notifications/notification-center/v1/connectors
Updates an existing notification connector.
# Delete contextual data integration
Source: https://docs.coralogix.com/api-reference/v5/contextual-data-integration-service/delete-contextual-data-integration
openapi_v5.yaml delete /integrations/contextual-data/v1/{id}
Deletes the specified contextual data integration.
Requires the following permissions:
- `contextual-data:UpdateConfig`
# Get all contextual data integrations accessible
Source: https://docs.coralogix.com/api-reference/v5/contextual-data-integration-service/get-all-contextual-data-integrations-accessible
openapi_v5.yaml get /integrations/contextual-data/v1
Returns all contextual data integrations for the team.
Requires the following permissions:
- `contextual-data:ReadConfig`
# Overview
Source: https://docs.coralogix.com/api-reference/v5/contextual-data-integration-service/overview
# Contextual data integration service overview
Query for contextual data integration information.
## Authentication and permissions
To use the Contextual data integration service API you need to [create a personal or team API key](https://coralogix.com/docs/user-guides/account-management/api-keys/api-keys/). It's recommended to use permission presets, as they are automatically updated with all relevant permissions. Alternatively, you can manually add the following individual permissions.
| Presets | Permission | Description |
| --------------- | ------------------------------ | ----------------------------------------------------- |
| Contextual Data | `contextual-data:ReadConfig` | Grants access to read contextual-data |
| | `contextual-data:UpdateConfig` | Required to create, update, or delete contextual-data |
## Common error response codes
| Status Code | Description |
| --------------------------- | ----------------- |
| `400 Bad Request` | Response code 400 |
| `401 Unauthorized` | Response code 401 |
| `500 Internal Server Error` | Response code 500 |
## Constants
TargetDomain
| Value |
| --------------------- |
| `ACTION` |
| `ALERT` |
| `ENRICHMENT` |
| `GRAFANA_DASHBOARD` |
| `KIBANA_DASHBOARD` |
| `PARSING_RULE` |
| `SAVED_VIEW` |
| `CX_CUSTOM_DASHBOARD` |
| `METRICS_RULE_GROUP` |
| `EVENTS_TO_METRICS` |
| `ALERT_V3` |
BinaryType
| Value |
| -------------------------------- |
| `PREVIEW_IMAGE` |
| `KIBANA_DASHBOARD_DEFINITION` |
| `GRAFANA_DASHBOARD_DEFINITION` |
| `ENRICHMENT_CSV` |
| `CX_CUSTOM_DASHBOARD_DEFINITION` |
PermissionResource
| Value |
| ------------------------------------ |
| `UNKNOWN` |
| `ACTION` |
| `ALERT` |
| `CUSTOM_ENRICHMENT` |
| `GEO_ENRICHMENT` |
| `SECURITY_ENRICHMENT` |
| `RESOURCE_CLOUD_METADATA_ENRICHMENT` |
| `GRAFANA_DASHBOARD` |
| `KIBANA_DASHBOARD` |
| `PARSING_RULE` |
| `SAVED_VIEW` |
| `CX_CUSTOM_DASHBOARD` |
| `METRICS_RULE_GROUP` |
| `SPAN_EVENTS_TO_METRICS` |
| `LOGS_EVENTS_TO_METRICS` |
BinaryType
| Value |
| ---------------------- |
| `KIBANA_INDEX_PATTERN` |
PushBasedPlatform
| Value |
| --------------------- |
| `UNDEFINED` |
| `PLATFORM_BITBUCKET` |
| `PLATFORM_GITHUB` |
| `PLATFORM_GITLAB` |
| `PLATFORM_AWS_SNS` |
| `PLATFORM_OPSGENIE` |
| `PLATFORM_PAGERDUTY` |
| `PLATFORM_PROMETHEUS` |
| `PLATFORM_SLACK` |
| `PLATFORM_INTERCOM` |
ConnectionStatus
| Value |
| ---------------- |
| `PENDING` |
| `ACTIVE` |
| `FAILING` |
| `STATUS_UNKNOWN` |
Variant
| Value |
| --------- |
| `DEFAULT` |
| `GCP` |
| `OAUTH` |
| `CUSTOM` |
InputType
| Value |
| -------------------- |
| `API_KEY` |
| `TEXT` |
| `LIST_TEXT` |
| `MULTIPLE_SELECTION` |
| `BOOLEAN` |
| `SELECT` |
| `JSON` |
| `NUMBER` |
| `SENSITIVE_DATA` |
| `JSON_OBJECT_ARRAY` |
ConditionType
| Value |
| --------- |
| `UNKNOWN` |
| `OR` |
| `AND` |
Language
| Value |
| ------------ |
| `UNKNOWN` |
| `BASH` |
| `JAVASCRIPT` |
WebhookType
| Value |
| ------------------------- |
| `UNKNOWN` |
| `GENERIC` |
| `SLACK` |
| `PAGERDUTY` |
| `SEND_LOG` |
| `EMAIL_GROUP` |
| `MICROSOFT_TEAMS` |
| `JIRA` |
| `OPSGENIE` |
| `DEMISTO` |
| `AWS_EVENT_BRIDGE` |
| `IBM_EVENT_NOTIFICATIONS` |
| `MS_TEAMS_WORKFLOW` |
MethodType
| Value |
| --------- |
| `UNKNOWN` |
| `GET` |
| `POST` |
| `PUT` |
DigestType
| Value |
| ------------------------- |
| `UNKNOWN` |
| `ERROR_AND_CRITICAL_LOGS` |
| `FLOW_ANOMALIES` |
| `SPIKE_ANOMALIES` |
| `DATA_USAGE` |
AttachmentType
| Value |
| ----------------- |
| `EMPTY` |
| `METRIC_SNAPSHOT` |
| `LOGS` |
EndpointType
| Value |
| --------------------------------- |
| `ENDPOINT_TYPE_DEFAULT_OR_PUBLIC` |
| `ENDPOINT_TYPE_PRIVATE` |
# Changelog
Source: https://docs.coralogix.com/changelog
Public API changes, grouped by release version and the date it shipped.
* Added new comparison values to the alert threshold enums in the alert-definition payload. Non-breaking; additive. The values are reachable across the alerts REST API as follows:
* **Request bodies**: `POST /alerts/alerts/v3` (create), `PUT /alerts/alerts/v3` (replace), `POST /alerts/alerts/v3/all/create` (batch-create), and `PUT /alerts/alerts/v3/all/replace` (batch-replace).
* **Response bodies**: in the `alertDef` object of `POST /alerts/alerts/v3`, `PUT /alerts/alerts/v3`, `GET /alerts/alerts/v3/{id}`, and `GET /alerts/alerts/v3/version-ids/{alert_version_id}`; and in the `alertDefs` array of `GET /alerts/alerts/v3` (list), `POST /alerts/alerts/v3/all/create`, and `PUT /alerts/alerts/v3/all/replace`.
* The metric threshold `conditionType` string enum gains `METRIC_THRESHOLD_CONDITION_TYPE_EQUALS` and `METRIC_THRESHOLD_CONDITION_TYPE_NOT_EQUALS`; it now holds `METRIC_THRESHOLD_CONDITION_TYPE_MORE_THAN_OR_UNSPECIFIED`, `METRIC_THRESHOLD_CONDITION_TYPE_LESS_THAN`, `METRIC_THRESHOLD_CONDITION_TYPE_MORE_THAN_OR_EQUALS`, `METRIC_THRESHOLD_CONDITION_TYPE_LESS_THAN_OR_EQUALS`, `METRIC_THRESHOLD_CONDITION_TYPE_EQUALS`, and `METRIC_THRESHOLD_CONDITION_TYPE_NOT_EQUALS`.
* The logs threshold `conditionType` string enum gains `LOGS_THRESHOLD_CONDITION_TYPE_EQUALS` and `LOGS_THRESHOLD_CONDITION_TYPE_NOT_EQUALS`; it now holds `LOGS_THRESHOLD_CONDITION_TYPE_MORE_THAN_OR_UNSPECIFIED`, `LOGS_THRESHOLD_CONDITION_TYPE_LESS_THAN`, `LOGS_THRESHOLD_CONDITION_TYPE_EQUALS`, and `LOGS_THRESHOLD_CONDITION_TYPE_NOT_EQUALS`.
* The analytics threshold `operator` string enum gains `ANALYTICS_THRESHOLD_OPERATOR_NOT_EQUALS`; it now holds `ANALYTICS_THRESHOLD_OPERATOR_MORE_THAN_OR_UNSPECIFIED`, `ANALYTICS_THRESHOLD_OPERATOR_LESS_THAN`, `ANALYTICS_THRESHOLD_OPERATOR_MORE_THAN_OR_EQUALS`, `ANALYTICS_THRESHOLD_OPERATOR_LESS_THAN_OR_EQUALS`, `ANALYTICS_THRESHOLD_OPERATOR_EQUALS`, and `ANALYTICS_THRESHOLD_OPERATOR_NOT_EQUALS`.
* Added an optional `customDataprimeQueries` array of strings to alert indicators in the Cases REST API response payload. It appears at `case.caseIndicators.alertIndicators[].customDataprimeQueries` in the responses of `PUT /cases/acknowledged/v1/{id}`, `DELETE /cases/acknowledged/v1/{id}`, `POST /cases/assigned/v1/{id}`, `DELETE /cases/assigned/v1/{id}`, `GET /cases/cases/v1/{id}`, `PUT /cases/cases/v1/{id}`, `POST /cases/closed/v1/{id}`, `POST /cases/indicators/v1/get`, `PUT /cases/priority-override/v1/{id}`, `DELETE /cases/priority-override/v1/{id}`, and `PUT /cases/resolved/v1/{id}`; and at `cases[].caseIndicators.alertIndicators[].customDataprimeQueries` in the responses of `POST /cases/acknowledged/v1`, `PUT /cases/assigned/v1`, `DELETE /cases/assigned/v1`, `POST /cases/cases/v1`, `POST /cases/closed/v1`, `POST /cases/priority-override/v1`, `DELETE /cases/priority-override/v1`, and `POST /cases/resolved/v1`. The array holds up to 1000 entries, each a custom DataPrime query string configured on the alert definition and up to 65535 characters long. Non-breaking; additive.
* Added an `EVENTBRIDGE` value to the notification-center `ConnectorType` string enum, which now holds `CONNECTOR_TYPE_UNSPECIFIED`, `SLACK`, `GENERIC_HTTPS`, `PAGERDUTY`, `IBM_EVENT_NOTIFICATIONS`, `SERVICE_NOW`, `EMAIL`, `PAGERDUTY_INCIDENTS`, `MICROSOFT_TEAMS`, and `EVENTBRIDGE`. Non-breaking; additive. The enum is reachable across the notification-center REST API as follows:
* **Connectors**: the `type` field accepts it in the request and response bodies of `POST /notifications/notification-center/v1/connectors` (create), `PUT /notifications/notification-center/v1/connectors` (replace), `POST /notifications/notification-center/v1/connectors:initialize`, and `POST /notifications/notification-center/v1/connectors:initializeUpdate`; it also appears in the response body of `GET /notifications/notification-center/v1/connectors` (list), `GET /notifications/notification-center/v1/connectors/{id}` (get), and `GET /notifications/notification-center/v1/connectors/all/list` (batch-get). The `connector_type` query parameter on `GET /notifications/notification-center/v1/connectors` also accepts it. The request body's `type` field on `POST /notifications/notification-center/v1/connectors:testConfig` accepts it too.
* **Connector summaries**: the `type` field appears in the response body of `GET /notifications/notification-center/v1/connectors/{id}/summary`, `GET /notifications/notification-center/v1/connectors/all/summaries`, and `GET /notifications/notification-center/v1/connectors/list/summaries`; the `connector_type` query parameter on the latter also accepts it.
* **Connector types**: the `type` field appears in the response body of `GET /notifications/notification-center/v1/connectors/types/summaries`, and both the `type` query parameter and the response body's `type` field on `GET /notifications/notification-center/v1/connector-schemas` accept/return it.
* **Presets**: the `connectorType` field accepts it in the request body, and appears in the response body, of `POST /notifications/notification-center/v1/presets:createCustom` (create custom) and `PUT /notifications/notification-center/v1/presets:replaceCustom` (replace custom); it also appears in the response body of `GET /notifications/notification-center/v1/presets` (batch-get) and `GET /notifications/notification-center/v1/presets/{id}` (get). The `connector_type` query parameter, and the returned preset summary's `connectorType` field, on `GET /notifications/notification-center/v1/presets/summaries/system` (system default summary), `GET /notifications/notification-center/v1/presets:getDefaultSummary` (default summary), and `GET /notifications/notification-center/v1/presets:summariesList` (list summaries) also accept/return it.
* Documented the validation the incidents REST API already enforces, across `GET` and `POST /incidents/incidents/v1`, `GET /incidents/incidents/v1/{id}`, `GET /incidents/incidents/v1/{incident_id}/events`, `POST /incidents/incidents/v1/all/acknowledge`, `POST /incidents/incidents/v1/all/resolve`, `POST /incidents/incidents/v1/all/closed`, `POST` and `DELETE /incidents/incidents/v1/all/by-user`, `GET /incidents/aggregations/v1`, `GET /incidents/events/v1`, `GET /incidents/events/v1/{event_id}`, `POST /incidents/events/v1/{event_id}/acknowledge`, `POST /incidents/events/v1/{event_id}/resolve`, `GET /incidents/events/v1/all/count`, `POST /incidents/filter-values/v1`, and `GET /incidents/filter-values/v1/events`. Strings gained `minLength`/`maxLength`/`pattern`, integers `minimum`/`maximum`, and arrays `minItems`/`maxItems`. Values outside these bounds were already rejected, so this is non-breaking. By field:
* **Incident identifiers** are UUID strings (`minLength` and `maxLength` 36, UUID `pattern`, hex accepted in either case): the `id` path parameter of `GET /incidents/incidents/v1/{id}`, the `incident_id` path parameter of `GET /incidents/incidents/v1/{incident_id}/events`, the `ids` query parameter of `GET /incidents/incidents/v1` (array of 1–10000 items), the `incidentIds` array in the request bodies of `POST /incidents/incidents/v1/all/acknowledge`, `POST /incidents/incidents/v1/all/resolve`, `POST /incidents/incidents/v1/all/closed`, and `POST /incidents/incidents/v1/all/by-user` (1–10000 items), the `incident_ids` query parameter of `DELETE /incidents/incidents/v1/all/by-user` (an array of 1–10000 items — that operation takes no request body), the response `notFoundIds` array (0–10000 items), and the incident payload's `id`.
* **Incident payload** — returned by `GET` and `POST /incidents/incidents/v1`, `GET /incidents/incidents/v1/{id}`, the four bulk operations (`POST /incidents/incidents/v1/all/acknowledge`, `POST /incidents/incidents/v1/all/resolve`, `POST /incidents/incidents/v1/all/closed`, and `POST` and `DELETE /incidents/incidents/v1/all/by-user`), and the event operations `GET /incidents/events/v1/{event_id}`, `POST /incidents/events/v1/{event_id}/acknowledge`, and `POST /incidents/events/v1/{event_id}/resolve`: `name` string 1–500; `description` string 1–2000; `lastStateUpdateKey` string 1–2000; `assignments` array ≤1000 items, each with a `userId` string 1–300; `metaLabels` array ≤1000 items, each with `key` and `value` strings 1–255; `events` array ≤10000 items; `createdAt`, `closedAt`, and `lastStateUpdateTime` strings 20–30 characters.
* **Aggregation payload** (`incidentAggs[]` of `GET /incidents/aggregations/v1`, which does not carry the incident payload): `groupBysValue`, `aggStateCount`, `aggStatusCount`, `aggSeverityCount`, `aggAssignmentsCount`, and `aggMetaLabelsCount` arrays ≤1000 items; `listIncidentsId` array ≤1000 UUID-string items; `allValuesCount` and each nested `count` integer 0–1000000000; `firstCreatedAt`, `lastClosedAt`, and `lastStateUpdateTime` strings 20–30 characters.
* **Pagination**: `pageSize` integer 1–10000 and `pageToken` string 1–4096, in the `pagination` object of the `POST /incidents/incidents/v1` request body and of the `pagination` query parameter on `GET /incidents/aggregations/v1` and `GET /incidents/events/v1`; the response `pagination.nextPageToken` string is 1–4096. `GET /incidents/events/v1` accepts at most 1000 items per page and defaults to 100 when `pageSize` is omitted — its operation description and the description of its `pagination` parameter now say so, while the shared `pageSize` schema keeps `maximum: 10000` because the other two operations do accept 10000.
* **Filters, ordering and search** (`POST /incidents/incidents/v1`, `POST /incidents/filter-values/v1`, the `filter` query parameter of `GET /incidents/aggregations/v1`, and `GET /incidents/events/v1`): `assignee` array ≤1000 items of strings 1–300; `applicationName` and `subsystemName` arrays ≤1000 items of strings 1–256; `searchQuery.query` string 1–4096; the order-by/search field selector's `applicationName` and `subsystemName` strings 1–256; the `contextualLabels` and `displayLabels` maps' `contextualLabelValues` and `displayLabelValues` arrays hold ≤1000 items of strings 0–4096, and the filter-value responses' `contextualLabelValue` and `displayLabelValue` are strings 0–4096 — an empty label value is accepted, matching the empty values readable from the incident payload's `contextualLabels`/`displayLabels` maps.
* **Response collections**: `incidents` (list and bulk responses) and `incidentAggs` (`GET /incidents/aggregations/v1`) arrays ≤10000 items, matching the maximum page size; the incident-events `items` array ≤1000; `count` and the aggregation count fields integers 0–1000000000. The events total `count` on `GET /incidents/events/v1/all/count` is a numeric string of 1–20 characters.
* **Incident-event payload** (`GET /incidents/events/v1`, `GET /incidents/events/v1/{event_id}`, `POST /incidents/events/v1/{event_id}/acknowledge`, `POST /incidents/events/v1/{event_id}/resolve`, and `GET /incidents/incidents/v1/{incident_id}/events`): each `items[]` entry's `cxEventKey` string 1–4096 and `incidentEvent.id` string 1–64; the extended metadata's `alertId` string 1–64, `alertName` string 1–4096, `alertGroupByFields` array ≤100 items of strings 1–256, and `alertLabels` array ≤1000 items; the originator's `userId` string 1–300 and `systemName` string 1–256; and the `incidentEvents` array of `GET /incidents/incidents/v1/{incident_id}/events` ≤10000 items. On the request side, the `event_id` path parameter is a string 1–64 on `GET /incidents/events/v1/{event_id}`, `POST /incidents/events/v1/{event_id}/acknowledge`, and `POST /incidents/events/v1/{event_id}/resolve` (event IDs are free-form, not UUIDs), and the event filter's `name` is a string 1–500 on `GET /incidents/events/v1`, `GET /incidents/events/v1/all/count`, and `GET /incidents/filter-values/v1/events`.
* **Snooze event**: `durationMinutes` integer 1–525960 and `userId` string 1–300.
* **Filter, ordering and filter-value collections** (`POST /incidents/incidents/v1`, `GET /incidents/aggregations/v1`, `POST /incidents/filter-values/v1`, `GET /incidents/filter-values/v1/events`, `GET /incidents/events/v1`, and `GET /incidents/events/v1/all/count`): the `status`, `state`, and `severity` filter arrays hold ≤1000 items; `orderBys` and `groupBys` ≤100 items; the filter-value count arrays (`assigneeWithCount`, `statusWithCount`, `stateWithCount`, `severityWithCount`, `metaLabelsWithCount`, and the contextual- and display-label `valuesWithCount`) ≤1000 items; the `contextualLabel` field of a group-by, order-by, or search selector is a string 1–256; the contextual-label pair's `fieldName` is 1–256 and `fieldValue` 0–4096; and the list response's `totalSize` is an integer 0–1000000000.
* Documented the validation the cases REST API already enforces, and corrected three bounds the spec had stated incorrectly. Strings gained `minLength`/`maxLength`/`pattern` and arrays `minItems`/`maxItems`. Non-breaking; the service already rejected values outside these bounds. UUID strings below are 36 characters with a `pattern` that accepts hex in either case. By payload:
* **Case payload** — returned by `POST /cases/cases/v1` (list), `GET` and `PUT /cases/cases/v1/{id}`, `POST /cases/indicators/v1/get`, and the case-state operations `POST /cases/acknowledged/v1`, `PUT` and `DELETE /cases/acknowledged/v1/{id}`, `PUT` and `DELETE /cases/assigned/v1`, `POST` and `DELETE /cases/assigned/v1/{id}`, `POST /cases/closed/v1`, `POST /cases/closed/v1/{id}`, `POST /cases/resolved/v1`, `PUT /cases/resolved/v1/{id}`, `POST` and `DELETE /cases/priority-override/v1`, and `PUT` and `DELETE /cases/priority-override/v1/{id}`: `title` is 1–512, previously documented as 4096; `aiSummary` is 1–10000, previously documented as 4096, which understated what the service returns.
* **Update-case request** (`PUT /cases/cases/v1/{id}`): `title` 1–512 and `resolutionReason` 1–500, both previously documented as 4096. Requests above the real limits were already rejected, and `aiSummary` values above 4096 were already being returned, so no working request or response changes behavior.
* **Case labels** — `key` and `value` strings 1–4096, in both directions. As a **request** input they appear at `filters.caseLabelsFilter.flatLabels[]` of `POST /cases/cases/v1` (list) and `POST /cases/filter-values/v1`, and in the indicator label settings of `POST /cases/cases/case-settings/v1/configs` and `PATCH /cases/cases/case-settings/v1/configs/{id}`. In **responses** they appear in the case payload's `labels`, `groupings[]`, and `caseIndicators.genericIndicators[].labels[]` on the operations above, in the `flatLabelsAggregation[].filter` of `POST /cases/filter-values/v1`, and in the settings payload of those two operations plus `GET /cases/cases/case-settings/v1/configs/{id}`, `GET /cases/cases/case-settings/v1/configs:getActive`, and `GET /cases/cases/case-settings/v1/configs:getSystemDefaults`. On the case-settings operations the indicator settings' `filteringConditions` array also holds ≤1000 items.
* **Case events** (`POST /cases/cases/v1/{case_id}/comments`, `GET /cases/cases/v1/{case_id}/events`, `GET /cases/events/v1/{event_id}`, `PUT /cases/events/v1/{event_id}/comments`): `eventId` a UUID string; the title-changed event's `from`/`to` 1–512 and the resolution-reason-changed event's `from`/`to` 1–500; comment `text` (request) and `unsafeText` (response) 1–10000, with `attachments` ≤100 items; a log attachment's `logId` a UUID, `logContent` 1–10000, and `queryLinkSuffix` 0–4096; a dashboard-widget attachment's `customDashboardId` and `widgetId` 1–4096 with its own `queryLinkSuffix` 0–4096; a file attachment's `fileId` a UUID and `fileName` 1–4096; `assigneeUserId` and `previousAssigneeUserId` UUID strings; Slack comment metadata `workspaceId`, `channelId`, `threadId`, `userId`, and `userEmail` 1–256; the notification-sent event's `notificationRequestId` a UUID with `notifications` ≤1000 items, each carrying a `token` string 1–4096; the notification-failed event's `error` 1–4096; and an unknown-assignee error's `unknownAssigneeEmail` 1–256.
* **Case-event actor** (same four operations, at `event.actor`): a user actor's `id` is a UUID string; a Slack actor's `slackUserId`, `displayName`, and `userEmail` are strings 1–256 with `coralogixUserId` a UUID; a ServiceNow actor's `id`, `username`, and `userEmail` are strings 1–256 with `coralogixUserId` a UUID; an API-key actor's `id` and `name` are strings 1–256.
* **`event_id` path parameter** — a UUID string on `GET /cases/events/v1/{event_id}` and on `PUT` and `DELETE /cases/events/v1/{event_id}/comments`.
* **Deep links** (`GET /cases/cases/v1/{case_id}/deep-links`): `detail` and each impacted entity `url` are strings 1–2048, `alertDef` is 0–2048, and `impactedEntities` holds ≤1000 items. Every alert-indicator deep-link URL variant under `alertIndicators` is likewise a string 1–2048: `logs`, `metrics`, `rum`, `slo`, and `tracing`.
* **Notification deliveries** (`POST /cases/notifications/v1/deliveries`): request `caseIds` array 1–1000 items of strings 1–64; response `notificationDeliveries` and `matchedRouters` arrays ≤1000 items; `attempts` array ≤100 items; `requestNotificationId` a UUID string and `timestamp` 20–30 characters; `connectorId` and `routerId` strings 1–128 matching `^[a-zA-Z0-9][a-zA-Z0-9_-]*$` — the same shape the notification-center API documents for connector and router IDs, so custom (non-UUID) IDs stay valid; `connectorName` and `routerName` strings 1–256; `evidenceUrl` 1–2048; `errorMessage` 1–4096.
* **Whitespace-only values are rejected** for the fields the service trims before checking they are non-empty: `title`, `resolutionReason`, `aiSummary`, comment `text` and `unsafeText`, `logContent`, `fileName`, `customDashboardId`, `widgetId`, and the `from`/`to` of the title-changed and resolution-reason-changed events. Their `pattern` now requires at least one non-whitespace character, so a value such as `" "` no longer validates — it was already rejected by the service. The service also applies the maximum length *after* trimming, which a `maxLength` cannot express, so a value whose trimmed form fits may still exceed the documented maximum.
* Added an optional `resolveWithSignal` boolean to alert indicators in the Cases REST API response payload. It appears at `case.caseIndicators.alertIndicators[].resolveWithSignal` in the responses of `PUT /cases/acknowledged/v1/{id}`, `DELETE /cases/acknowledged/v1/{id}`, `POST /cases/assigned/v1/{id}`, `DELETE /cases/assigned/v1/{id}`, `GET /cases/cases/v1/{id}`, `PUT /cases/cases/v1/{id}`, `POST /cases/closed/v1/{id}`, `POST /cases/indicators/v1/get`, `PUT /cases/priority-override/v1/{id}`, `DELETE /cases/priority-override/v1/{id}`, and `PUT /cases/resolved/v1/{id}`; and at `cases[].caseIndicators.alertIndicators[].resolveWithSignal` in the responses of `POST /cases/acknowledged/v1`, `PUT /cases/assigned/v1`, `DELETE /cases/assigned/v1`, `POST /cases/cases/v1`, `POST /cases/closed/v1`, `POST /cases/priority-override/v1`, `DELETE /cases/priority-override/v1`, and `POST /cases/resolved/v1`. `true` or omission means the case resolves together with the alert signal; `false` means the case stays open for manual resolution. Non-breaking; additive.
* Added an optional `pbacTruncated` boolean to the response body of `POST /cases/cases/v1` (list cases). It indicates whether the returned list was truncated because of PBAC (Policy-Based Access Control) restrictions, meaning the caller may not have access to every case matching the filters. Non-breaking; additive.
* Added documented validation constraints on the Actions REST API (`GET`, `POST`, and `PUT` on `/actions/actions/v2`, `GET` and `DELETE` on `/actions/actions/v2/{id}`, `POST /actions/order/v2`, and `POST /actions/batch/v2`). The action `name` is limited to 1–50 characters and `url` to 32768 characters and must start with `http://` or `https://` (both matching the validation the service already enforces); `description` and `dpxlFilter` allow up to 65535 characters; `createdBy` up to 255. Action `id` values (including the `id` path parameter on get and delete) are documented as 36-character UUID strings. The `applicationNames` and `subsystemNames` arrays declare up to 1000 items of up to 1024 characters each, `urlFields` up to 1000 items (each entry requires both `name` and `required`, unique by `name`), the batch `requests` array up to 1000 items, and the `actions`/`matchingResponses` response arrays up to 10000/1000 items. The integer map values of `privateActionsOrder` and `sharedActionsOrder` declare an explicit 0–4294967295 range. Documentation-only — the constraints describe validation the API already enforces. Non-breaking.
* Added documented validation constraints on the enrichment-rules REST API (`GET`, `POST`, `PUT`, and `DELETE` on `/enrichment-rules/enrichment-rules/v1`, `PUT /enrichment-rules/enrichment-rules/v1/all`, `GET /enrichment-rules/enrichment-rules/v1/limit`, `GET /enrichment-rules/enrichment-rules/v1/settings`, `GET`, `POST`, and `PUT` on `/enrichment-rules/custom-enrichment-rules/v1`, `GET` and `DELETE` on `/enrichment-rules/custom-enrichment-rules/v1/{id}`, and `POST /enrichment-rules/custom-enrichment-rules/v1/all/contents`). String fields backed by stored columns — `name`, `description`, `fieldName`, `enrichedFieldName`, and `fileName` — are limited to 255 characters (the custom enrichment `name` additionally accepts only letters, digits, and underscores) (`name`, `fieldName`, and `enrichedFieldName` require at least 1 character). The file content fields allow up to 20971520 characters for `textual` and 27962028 characters for `binary` (base64 of the default 20 MiB file-size limit), and the file `extension` must be `csv` (the only supported format). Integer fields such as `id`, `version`, `fileSize`, `limit`, `used`, `enrichmentAmountLimit`, `enrichmentsInUse`, `rowLimit`, and `queryOnlyRowLimit` declare an explicit 0–2147483647 range. Arrays declare `minItems`/`maxItems` bounds: `requestEnrichments` up to 100 items, the `enrichment_ids` delete query parameter up to 1000, `searchClauses` and `customEnrichmentsData` up to 1000, `selectedColumns` up to 100 items of up to 1024 characters, and the `enrichments` response arrays up to 1000 (`customEnrichments` up to 30). Documentation-only — the constraints describe validation the API already enforces. Non-breaking.
* Added documented validation constraints on the dataplans policies REST API (`GET`, `POST`, and `PUT` on `/dataplans/policies/v1`, `GET` and `DELETE` on `/dataplans/policies/v1/{id}`, `POST /dataplans/policies/v1/all/reorder`, `POST /dataplans/policies/v1/all/test-policies`, `POST /dataplans/policies/v1/all/forecast-usage`, `PUT /dataplans/log-policies/v1`, `PUT /dataplans/span-policies/v1`, and `PUT /dataplans/rum-policies/v1`). Policy `id` values (including the `id` path parameter, reorder `orders[].id`, and `archiveRetention.id`) are documented as 36-character UUID strings. `name` and `description` are limited to 255 Latin-1 characters (pattern-enforced), `tagName` to 255 characters and must start with `tags.`, and `dpxlExpression`, rule `name`, and `tagValue` allow up to 65535 characters (rule values must be non-empty). The target `dataset` allows up to 512 characters. The policy `order` integer documents that negative values occur (range −2147483648 to 2147483647), while reorder `orders[].order` requires a positive value; `companyId` declares 0–2147483647 and `usageTiers[].dailyQuotaPercentage` declares its enforced 0–100 range. Arrays declare `minItems`/`maxItems` bounds matching service limits: `targets` up to 5 per policy, `tagRules` up to 100, `severities` up to 6, `usageTiers` up to 3, overwrite `policies` up to 200 per source type (10000 for RUM), reorder `orders` up to 200, `metaFieldsValuesList` up to 50 (each field non-empty, up to 1024 characters), and the list response `policies` up to 30000. Documentation-only except where noted — the constraints describe validation the API already enforces. Non-breaking.
* Message and enum fields across the Management API that previously appeared as a bare `$ref` now keep their field-level OpenAPI metadata — `description`, and where annotated also `example`, `deprecated`, and `readOnly` — by wrapping the `$ref` in `allOf`. The same metadata is kept on array fields whose items are a message or enum `$ref`. Non-breaking; documentation-only — request and response wire shapes are unchanged.
* 10 query parameters that were documented as optional are now documented as required, so the spec matches what the services already enforce. Server behavior is unchanged — omitting any of these was already rejected. Affected parameters, with their JSON shapes:
* `ids`, an array of strings: `GET /aaa/team-scopes/v1` and `GET /slo/slos/v1/all/list` (the latter is a batch-get by IDs, not a filtered list).
* `enrichment_ids`, an array of `int64` integers: `DELETE /enrichment-rules/enrichment-rules/v1`.
* `incident_ids`, an array of strings: `DELETE /incidents/incidents/v1/all/by-user`.
* `alert_ids`, an array of strings, and `timestamp_range`, an object with `from` and `to`: `GET /alerts/alerts/v3/all/events`.
* `filter`, an object with `cxEventKeys`, `cxEventLabelsFilters`, `cxEventMetadataFilters`, `cxEventTypes`, and `timestamp`: `GET /alerts/events/v3`, `GET /alerts/events/v3/all/count`, `GET /alerts/events/v3/all/statistics`.
* `pagination`, an object with `pageSize` and `pageToken`: `GET /alerts/events/v3`.
* Added documented OpenAPI validation constraints across the integrations and extensions REST API (`GET`, `POST`, and `PUT` on `/integrations/contextual-data/v1`; `GET` and `DELETE` on `/integrations/contextual-data/v1/{id}`; `GET /integrations/contextual-data/v1/definitions/{id}`; `POST /integrations/contextual-data/v1/test/{integration_id}`; `POST /integrations/extensions/v1`; `GET /integrations/extensions/v1/catalog/{id}`; `GET`, `POST`, `PUT`, and `DELETE` on `/integrations/extensions/v1/deployed`; `GET /integrations/integrations/v1`; `GET /integrations/integrations/v1/{id}`; `GET /integrations/integrations/v1/definitions/{id}`; `GET /integrations/integrations/v1/deployed/{integration_id}`; `DELETE /integrations/integrations/v1/instances/{integration_id}`; `GET /integrations/integrations/v1/rum/app-versions`; `GET /integrations/managed/v1`; `GET /integrations/managed/v1/{integration_id}`; `POST` and `PUT` on `/integrations/metadata/v1`; `POST /integrations/metadata/v1/test`; and `GET /integrations/template/v1`). Non-breaking; the constraints describe values the service already accepts:
* Most string fields (for example `id`, `name`, `description`, `version`, `integrationKey`, and parameter `key`) now declare `maxLength: 65535` and a permissive `^[\s\S]*$` pattern.
* Larger free-form content fields — installation commands/templates, Terraform configuration block values, parameter `apiKey.value`/`stringValue`, and markdown descriptions (`descriptionMd`, `upgradeInstructionsMd`) — declare `maxLength: 1048576` characters with the same pattern.
* Extension binary payloads (`binaries[].data`), returned only in the responses of `GET /integrations/contextual-data/v1/{id}`, `GET /integrations/extensions/v1/catalog/{id}`, and `GET /integrations/integrations/v1/{id}`, declare `maxLength: 5000000` characters.
* Extension item `stableId` fields declare `maxLength: 63`.
* Array fields declare `maxItems: 10000`.
* Integer count fields — `amountIntegrations` and the deployed-extension/revision item counts (`actions`, `alerts`, `customDashboards`, `enrichments`, `eventsToMetrics`, `grafanaDashboards`, `kibanaDashboards`, `metricsRuleGroup`, `parsingRules`, `savedViews`) — declare an explicit `maximum` of `4294967295`.
* Added an optional `impactedEntities` array to the case filters object in the request bodies of `POST /cases/cases/v1` (list cases) and `POST /cases/filter-values/v1` (filter values). Each item must set exactly one of `apmService` (object with a required `name` string) or `apmDatabase` (object with a required `name` string) — an item with neither arm set is rejected. A case is returned if it impacts ANY of the listed entities (OR logic); names are matched case-insensitively; an empty array applies no filtering. Non-breaking; additive.
* Documented the connector summary object in the notification-center REST API. It now declares the title `Connector Summary` and the description "A summary of a connector, excluding sensitive configuration values.", which renders on the values of the `connectorSummaries` object map in the `GET /notifications/notification-center/v1/connectors/all/summaries` response and on the items of the `connectors` array in the `GET /notifications/notification-center/v1/connectors/list/summaries` response. Non-breaking; documentation-only.
* Added an optional `highlighted` boolean to a widget in the dashboard payload — `true` means the widget is marked as highlighted for all users of the dashboard, `false` (or omitted) means it is not. It appears in the request bodies of `POST /dashboards/dashboards/v1` (create), `PUT /dashboards/dashboards/v1` (replace), and `POST /dashboards/check/v1` (check), and in the dashboard read responses of `GET /dashboards/dashboards/v1/{dashboard_id}` and `GET /dashboards/dashboards/v1/slugs/lookup/{slug}`. Not allowed on a widget reference (a widget whose `reference` field is set instead of a `definition`); the API rejects it. Additive — the field is new and does not alter existing fields. Note that `PUT /dashboards/dashboards/v1` is a full-replace operation: a client must send the current `highlighted` value (or `true` to keep the widget highlighted, or `false`/omit it to clear highlighting) when replacing a dashboard, otherwise the field is reset to `false` on the written-back widget.
* Added optional `caseLifecycle.autoClose` object to the case-settings REST API. When present, the object requires a `postResolutionPeriod` string for configuring automatic closure of resolved cases. It is accepted in the request bodies of `POST /cases/cases/case-settings/v1/configs` and `PATCH /cases/cases/case-settings/v1/configs/{id}`; returned as `caseSettings.caseLifecycle.autoClose` in the response bodies of `POST /cases/cases/case-settings/v1/configs`, `GET /cases/cases/case-settings/v1/configs/{id}`, `PATCH /cases/cases/case-settings/v1/configs/{id}`, and `GET /cases/cases/case-settings/v1/configs:getActive`; and returned as `caseLifecycle.autoClose` in the response body of `GET /cases/cases/case-settings/v1/configs:getSystemDefaults`. Non-breaking; omitting it preserves existing behavior.
* Documented existing requiredness and semantics of the `variablesV2` payload in the dashboard REST API — request bodies of `POST /dashboards/dashboards/v1` and `PUT /dashboards/dashboards/v1` and the `dashboard` field of `POST /dashboards/check/v1`, and dashboard read responses of `GET /dashboards/dashboards/v1/{dashboard_id}` and `GET /dashboards/dashboards/v1/slugs/lookup/{slug}`. The spec now declares what the service already enforces, so this is non-breaking: each variable requires `id` (UUID string), `name` (string), `displayName` (string), `displayType` (enum string), `source` (object), and `value` (object); a static source requires `values` (array of `{ value, label }` objects), `valuesOrderDirection` (enum string), and `allOption` (object), and each static value entry requires both `value` (string) and `label` (string); a query source requires `valuesOrderDirection` (enum string) and `allOption` (object), and exactly one of the query objects `logsQuery` / `metricsQuery` / `spansQuery` / `dataprimeQuery` (a `oneOf`) must be set — the service rejects a `query` object with no arm (this exactly-one rule is enforced by the API, not by the OpenAPI `oneOf` schema); `allOption` requires an explicit `includeAll` boolean. Also documented that the zero values `VARIABLE_DISPLAY_TYPE_V2_UNSPECIFIED` and `ORDER_DIRECTION_UNSPECIFIED` are rejected (accepted `displayType`: `VARIABLE_DISPLAY_TYPE_V2_LABEL_VALUE` / `VARIABLE_DISPLAY_TYPE_V2_VALUE` / `VARIABLE_DISPLAY_TYPE_V2_NOTHING`; accepted `valuesOrderDirection`: `ORDER_DIRECTION_ASC` / `ORDER_DIRECTION_DESC` / `ORDER_DIRECTION_NONE`), and that a spans query `fieldValue` should set `observationField` (its legacy alternative `value` is documented as deprecated). Also fixed the description of the variable `name` field. Separately, clarified the shared `dataModeType` enum description — an omitted value (or `DATA_MODE_TYPE_HIGH_UNSPECIFIED`) queries high-priority ("Frequent Search") data while `DATA_MODE_TYPE_ARCHIVE` queries archive ("Monitoring") data. Because that enum is shared, the clarified description also renders on the other `dataModeType` fields that reference it — the dashboard annotation fields (`annotations[].source.logs.dataModeType`, `annotations[].source.spans.dataModeType`, `annotations[].source.dataprime.dataModeType`) the variable textbox Lucene default (`variablesV2[].source.textbox.defaultValue.defaultLuceneValue.dataModeType`), and the variable Dataprime query default (`variablesV2[].source.query.dataprimeQuery.type.queryText.dataModeType`) — across the same create/replace/check/read dashboard payloads. Additionally documented several existing backend constraints the spec had not surfaced: `displayFullRow` may be `true` only for a textbox source; a logs `fieldValue` requires `observationField`; a metrics `labelValue` requires `labelName`; and PromQL (`metricsQuery.type.promqlQuery`) and Dataprime (`dataprimeQuery.type.queryText`) query text is syntax-checked only by `POST /dashboards/check/v1` (create and replace accept it without compiling). Non-breaking; documentation-only.
* Added a bulk-create operation for alert definitions: `POST /alerts/alerts/v3/all/create`. The request body's required `alertDefsToCreate` array accepts 1–100 items; each item holds a required `alertDefProperties` object (the same alert-definition properties object used by the `POST /alerts/alerts/v3` create request) and an optional `accessPolicy` string (raw access-policy JSON, 0–65536 characters; setting it requires the `alerts:UpdateAccessPolicy` permission, and when it is omitted the alert is created without an access policy). The operation is best-effort per entry: the response's `alertDefs` array returns the successfully created alert definitions in the order of their corresponding request entries, and `failedToCreateAlertDefs` reports each failed request entry as an object with a required zero-based integer `index` (0–99) into the request list and a required human-readable `reason` string; a failed entry does not prevent other entries from being created. Non-breaking; additive (new endpoint).
* Capped bulk alert operations at 100 items per request. In the `PUT /alerts/alerts/v3/all/replace` request body, the `alertDefsToReplace` array now accepts at most 100 items (previously up to 1000); requests with more than 100 items are rejected, and an empty array remains valid. This is a breaking change for callers that sent more than 100 alert definitions in a single request — split such requests into batches of at most 100. Batching is safe: the operation updates only the alert definitions referenced in the request (matched by `id`) and leaves all others unchanged, so consecutive batches do not overwrite each other. The operation description has been clarified accordingly, and now also states that the operation is best-effort — entries that fail are reported in the response arrays (`notFoundIds`, `failedToReplaceAlertDefs`, `skippedIds`) and do not prevent other entries from being applied. These description updates document existing service behavior; the wire behavior is unchanged. Additionally, each item in the `failedToReplaceAlertDefs` response array now documents an optional `reason` string explaining why the entry failed to be replaced; the field may be omitted when no further detail is available. Non-breaking; additive. The bulk-delete request limit on `POST /alerts/alerts/v3/all/delete` is unchanged (`ids` already accepted 1–100 items). Accordingly, the documented maximum size of the bulk response arrays dropped from 1000 to 100 items: `alertDefs`, `failedToReplaceAlertDefs`, `notFoundIds`, and `skippedIds` in the `PUT /alerts/alerts/v3/all/replace` response, and `deletedIds` and `notFoundIds` in the `POST /alerts/alerts/v3/all/delete` response. Non-breaking on the response side.
* Added an optional `microsoftTeams` object to the comment case event payload — a sibling of the existing `slack` object — carrying Microsoft Teams source metadata for the comment. In the response bodies it appears at `event.eventData.comment.microsoftTeams` in `POST /cases/cases/v1/{case_id}/comments` (create comment), `GET /cases/events/v1/{event_id}` (get event), and `PUT /cases/events/v1/{event_id}/comments` (update comment), and at `events[].eventData.comment.microsoftTeams` in `GET /cases/cases/v1/{case_id}/events` (list case events). The object holds optional string fields `tenantId` (a UUID), `teamId`, `channelId`, `messageId`, `userId`, `userEmail`, and `messageUrl`. Non-breaking; additive.
* Added an `OLLY_SCHEDULED_TASKS` value to the notification-center `EntityType` string enum, which now holds `ENTITY_TYPE_UNSPECIFIED`, `ALERTS`, `TEST_NOTIFICATIONS`, `CASES`, and `OLLY_SCHEDULED_TASKS`. Non-breaking; additive. The enum is reachable across the notification-center REST API as follows:
* **Entity types**: `GET /notifications/notification-center/v1/entity-types` returns it as a possible value in the response `entityTypes[]` array; the `entity_type` path parameter on `GET /notifications/notification-center/v1/entity-types/{entity_type}/attachment-types` and `GET /notifications/notification-center/v1/entity-types/{entity_type}/entity-subtypes` also accepts it.
* **Connectors**: the `configOverrides[].entityType` field accepts it in the request body of `POST /notifications/notification-center/v1/connectors` (create) and `PUT /notifications/notification-center/v1/connectors` (replace), and appears in the response body of those two plus `GET /notifications/notification-center/v1/connectors` (list), `GET /notifications/notification-center/v1/connectors/{id}` (get), `GET /notifications/notification-center/v1/connectors/all/list` (batch-get), `GET /notifications/notification-center/v1/connectors/all/summaries` (batch-get summaries), and `GET /notifications/notification-center/v1/connectors/list/summaries` (list summaries). The `supported_by_entity_type` query parameter on `GET /notifications/notification-center/v1/connectors`, `GET /notifications/notification-center/v1/connectors/list/summaries`, and `GET /notifications/notification-center/v1/connectors/types/summaries` also accepts it. The request body's `entityType` field on `POST /notifications/notification-center/v1/connectors:testConfig` and `POST /notifications/notification-center/v1/destinations:test` accepts it too.
* **Presets**: the `entityType` field accepts it in the request body of `POST /notifications/notification-center/v1/presets:createCustom` (create custom) and `PUT /notifications/notification-center/v1/presets:replaceCustom` (replace custom), and appears in the response body of those two plus `GET /notifications/notification-center/v1/presets` (batch-get) and `GET /notifications/notification-center/v1/presets/{id}` (get). The `entity_type` query parameter, and the returned preset summary's `entityType` field, on `GET /notifications/notification-center/v1/presets/summaries/system` (system default summary), `GET /notifications/notification-center/v1/presets:getDefaultSummary` (default summary), and `GET /notifications/notification-center/v1/presets:summariesList` (list summaries) also accept/return it. The request body's `entityType` field on `POST /notifications/notification-center/v1/presets:test` and `POST /notifications/notification-center/v1/presets:testConfig` accepts it too.
* **Routers**: the `entityType` field, plus the nested `rules[].entityType` and `fallbackTargets[].entityType` fields, accept it in the request body of `POST /notifications/notification-center/v1/routers` (create) and `PUT /notifications/notification-center/v1/routers` (replace), and appear in the response body of those two plus `GET /notifications/notification-center/v1/routers` (list), `GET /notifications/notification-center/v1/routers/{id}` (get), and `GET /notifications/notification-center/v1/routers/all/summaries` (batch-get). The `entity_type` query parameter on `GET /notifications/notification-center/v1/routers` also accepts it.
* **Testing**: the request body's `entityType` field on `POST /notifications/notification-center/v1/routers:testCondition` and `POST /notifications/notification-center/v1/templates:test` accepts it too.
* Added optional per-alert access-policy support to the alerts REST API. Non-breaking; additive.
* **Write requests**: an optional `accessPolicy` string (raw access-policy JSON, 0–65536 characters) in the `POST /alerts/alerts/v3` (create) request body; and an optional `accessPolicy` object in the `PUT /alerts/alerts/v3` (replace) request body and in each item of the `alertDefsToReplace` array in the `PUT /alerts/alerts/v3/all/replace` (bulk replace) request body. That object is a choice of either `upsert` (a raw access-policy JSON string, 0–65536 characters) or `delete` (an empty object that removes the alert's access policy entirely — after removal a new policy and policy owner can be assigned); omitting `accessPolicy` leaves the current policy unchanged. Setting or changing `accessPolicy` requires the `alerts:UpdateAccessPolicy` permission.
* **Read requests**: an optional `include_access_permissions` boolean query parameter on `GET /alerts/alerts/v3/{id}`, `GET /alerts/alerts/v3/version-ids/{alert_version_id}`, and `GET /alerts/alerts/v3` (list). It defaults to `false`; the response `access` is populated only when `include_access_permissions` is `true`.
* **Read responses**: an optional `access` object in the `GET /alerts/alerts/v3/{id}` and `GET /alerts/alerts/v3/version-ids/{alert_version_id}` response bodies, and an `access` object map keyed by alert-definition ID in the `GET /alerts/alerts/v3` (list) response body. Each `access` value holds an optional `permissions` object (booleans `canRead`, `canManage`, `canReadAccessPolicy`, `canUpdateAccessPolicy`) and an optional `accessPolicy` string (the alert's raw access-policy JSON, 0–65536 characters, present only when the caller may read it).
* Added an optional `notFoundIds` field (an array of up to 1000 UUID strings) to the `GET /alerts/alerts/v3/all/download` (download alerts) response, populated on the first streamed message with any requested `ids` that were not included in the download because they were not found or are not accessible; it is absent/empty when every requested id was downloaded or when no ids were requested. Non-breaking; additive.
* Added an optional `ids` query parameter (an array of up to 1000 UUID strings) to `GET /alerts/alerts/v3/all/download` (download alerts). When provided, only the listed alert definitions are downloaded, and ids that are not found or not accessible are reported in the response `notFoundIds`; when omitted, all accessible alert definitions are downloaded (unchanged default). Non-breaking; additive.
* Added an optional `submittedStartTime` string to the suppression-rule schedule timeframe (`schedule.oneTime.timeframe` and `schedule.recurring.schedule.timeframe` in the rule payload) across the suppression-rules API (`POST` and `PUT /alerts/suppression-rules/v1`, `POST` and `PUT /alerts/suppression-rules/v1/all/rules`, `GET /alerts/suppression-rules/v1`, and `GET /alerts/suppression-rules/v1/{alert_scheduler_rule_id}`). The service populates it only in create and update responses (`POST`/`PUT`, including the bulk paths), echoing the `startTime` submitted in the request before the service normalized it to the next valid occurrence; it is a read-only echo — ignored in requests and omitted from `GET` responses. Non-breaking; additive.
* Documented existing validation bounds on the alerts and alert-event REST APIs (`minLength`/`maxLength`/`pattern` on strings, `minimum`/`maximum` on integers, `minItems`/`maxItems` on arrays). The constraints describe validation the service already enforces; values outside them were already rejected, so this is non-breaking. By field:
* **Alert-definition properties** — request bodies of `POST /alerts/alerts/v3` and `PUT /alerts/alerts/v3`, and response bodies of `GET /alerts/alerts/v3` and `GET /alerts/alerts/v3/{id}`: `alertDefProperties.name` string 1–512; `alertDefProperties.description` string 0–3000; `alertDefProperties.groupByKeys` array 0–100 items, each string 1–1024; `alertDefProperties.dataSources` array 0–1 items, each with `dataSpace` string 1–50 and `dataSet` string 1–300; `alertDefProperties.notificationGroupExcess` array ≤100 items.
* **Condition / type-definition fields** (same request and response bodies): `evaluationDelayMs` integer 0–10800000; metric `metricFilter.promql` and analytics `dataprimeQuery.query` string 1–65535; metric `forOverPct` and `minNonNullValuesPct` integer 0–100; logs-ratio `numeratorAlias` / `denominatorAlias` string ≤200; `noDataPolicy.autoRetireSeconds` integer ≥60.
* **Notification group & schedule** (same bodies): incident-settings/webhook `retriggeringPeriod.minutes` integer 1–10080; schedule `activeOn.startTime` / `endTime` `hours` 0–23 and `minutes` 0–59; `dayOfWeek` array 1–7 items.
* **Identifiers**: the `id` path parameter on `GET /alerts/alerts/v3/{id}` and `DELETE /alerts/alerts/v3/{id}` is a UUID string (`maxLength: 36`, canonical UUID pattern); the `alertVersionId` path parameter on `GET /alerts/alerts/v3/version-ids/{alert_version_id}` and the `AlertDef.alertVersionId` response field are 1–36 free-form strings; the response `AlertDef.id` is a UUID string 1–36; response `AlertDef.createdTime` / `updatedTime` / `lastTriggeredTime` strings ≤64.
* **Bulk operations**: `POST /alerts/alerts/v3/all/delete` request `ids` array 1–100 items, each a UUID string 1–36; `PUT /alerts/alerts/v3/all/replace` request `alertDefsToReplace[].id` a UUID string 1–36; bulk response id arrays (`notFoundIds`, `deletedIds`, `skippedIds`) ≤100 UUID-string items.
* **Pagination** (list endpoints): request `pageSize` integer 0–1000 and `pageToken` string 1–4096; response `alertDefs` array ≤1000 items.
* **Filter option counts** — `GET /alerts/alerts/v3/all/counts` response: the per-bucket `count` integers (`typeCounts[].count`, `priorityCounts[].count`, `statusCounts[].count`, `enabledCounts[].count`, `entityLabelCounts[].count`) are 0–4294967295.
* **Alert events**: `GET /v3/alert-event/{id}` `id` path parameter free-form string 1–36; `GET /v3/alert-event-stats` request `ids` array ≤1000 free-form strings 1–36; response `AlertEvent.alertId` a UUID string 1–36, and `permutationId` / `preGroupingEventId` / `incidentCorrelationKey` / `payloadType` strings ≤256; event-stats `count` / `resolvedCount` / `triggeredCount` / `isMutedCount` integers 0–4294967295.
* Added documented validation constraints across the events-to-metrics REST API (`POST`, `GET`, and `PUT` on `/events2metrics/events2metrics/v2`; `GET` and `DELETE` on `/events2metrics/events2metrics/v2/{id}`; `POST /events2metrics/events2metrics/v2/all/execute`; `GET /events2metrics/labels/v2/cardinalities`; and `GET /events2metrics/limits/v2`). String fields now declare `minLength`, `maxLength`, and `pattern`; integer fields declare `minimum` and `maximum`; and array fields declare `minItems` and `maxItems`. This covers request and response fields including `name`, `description`, `dataSource`, `permutationsLimit`, `metricLabels` (items include `targetLabel`, `sourceField`), `metricFields` (items include `targetBaseMetricName`, `sourceField`, `aggregations`, `targetMetricName`), and the nested query fields: logs query (`lucene`, `alias`, `applicationnameFilters`, `subsystemnameFilters`, `severityFilters`) and spans query (`lucene`, `applicationnameFilters`, `subsystemnameFilters`, `actionFilters`, `serviceFilters`), plus `companyId`, `labelsLimit`, and the `id` identifiers. Non-breaking; constraints describe the values the service already accepts.
* Added `PUT /dataplans/rum-policies/v1` to manage RUM TCO policies as an atomic overwrite: it deletes all existing RUM policies and creates the provided list in order, mirroring `PUT /dataplans/log-policies/v1` and `PUT /dataplans/span-policies/v1`. The request body holds a `policies` array (at most 10000 items); each item carries a required `policy` object (required `name`, `description`, and `priority`; optional `applicationRule`, `subsystemRule`, `archiveRetention`, `priorityOverride`, `targets`, and `disabled`) and a required `rumRules` object with the same shape as `logRules` (a `severities` array and an optional `dpxlExpression` string). The response holds a `createResponses` array; each item contains the created `policy`. Non-breaking; additive.
* Added a `SOURCE_TYPE_RUM` value to the TCO policy source-type string enum, which now holds `SOURCE_TYPE_UNSPECIFIED`, `SOURCE_TYPE_LOGS`, `SOURCE_TYPE_SPANS`, and `SOURCE_TYPE_RUM` — accepted by the `source_type` query parameter on `GET /dataplans/policies/v1` (list) and the `sourceType` field in the `POST /dataplans/policies/v1/all/reorder` request body — and an optional `rumRules` object to the policy source-type choice (alongside `logRules` and `spanRules`) in the policy payload returned by `GET /dataplans/policies/v1` (list), `GET /dataplans/policies/v1/{id}`, the `POST`/`PUT /dataplans/policies/v1` responses, `PUT /dataplans/rum-policies/v1` (replace RUM policies), `PUT /dataplans/log-policies/v1` (replace log policies), `PUT /dataplans/span-policies/v1` (replace span policies), and `POST /dataplans/policies/v1/all/test-policies` (test policies). `rumRules` has the same shape as `logRules` — a `severities` array and an optional `dpxlExpression` string. Non-breaking; additive.
* Added an optional `rumRules` object to the policy source-type choice (alongside `logRules` and `spanRules`) in the request bodies of `POST /dataplans/policies/v1` (create), `PUT /dataplans/policies/v1` (update), and `POST /dataplans/policies/v1/all/forecast-usage` (forecast usage), so RUM policies can also be created, updated, and forecast individually. Non-breaking; additive.
* Documented existing validation bounds on the alerts and alert-event REST APIs (`minLength`/`maxLength`/`pattern` on strings, `minimum`/`maximum` on integers, `minItems`/`maxItems` on arrays). The constraints describe validation the service already enforces; values outside them were already rejected, so this is non-breaking. By field:
* **Alert-definition properties** — request bodies of `POST /alerts/alerts/v3` and `PUT /alerts/alerts/v3`, and response bodies of `GET /alerts/alerts/v3` and `GET /alerts/alerts/v3/{id}`: `alertDefProperties.name` string 1–512; `alertDefProperties.description` string 0–3000; `alertDefProperties.groupByKeys` array 0–100 items, each string 1–1024; `alertDefProperties.dataSources` array 0–1 items, each with `dataSpace` string 1–50 and `dataSet` string 1–300; `alertDefProperties.notificationGroupExcess` array ≤100 items.
* **Condition / type-definition fields** (same request and response bodies): `evaluationDelayMs` integer 0–10800000; metric `metricFilter.promql` and analytics `dataprimeQuery.query` string 1–65535; metric `forOverPct` and `minNonNullValuesPct` integer 0–100; logs-ratio `numeratorAlias` / `denominatorAlias` string ≤200; `noDataPolicy.autoRetireSeconds` integer ≥60.
* **Notification group & schedule** (same bodies): incident-settings/webhook `retriggeringPeriod.minutes` integer 1–10080; schedule `activeOn.startTime` / `endTime` `hours` 0–23 and `minutes` 0–59; `dayOfWeek` array 1–7 items.
* **Identifiers**: the `id` path parameter on `GET /alerts/alerts/v3/{id}` and `DELETE /alerts/alerts/v3/{id}` is a UUID string (`maxLength: 36`, canonical UUID pattern); the `alertVersionId` path parameter on `GET /alerts/alerts/v3/version-ids/{alert_version_id}` and the `AlertDef.alertVersionId` response field are 1–36 free-form strings; the response `AlertDef.id` is a UUID string 1–36; response `AlertDef.createdTime` / `updatedTime` / `lastTriggeredTime` strings ≤64.
* **Bulk operations**: `POST /alerts/alerts/v3/all/delete` request `ids` array 1–100 items, each a UUID string 1–36; `PUT /alerts/alerts/v3/all/replace` request `alertDefsToReplace[].id` a UUID string 1–36; bulk response id arrays (`notFoundIds`, `deletedIds`, `skippedIds`) ≤1000 UUID-string items.
* **Pagination** (list endpoints): request `pageSize` integer 0–1000 and `pageToken` string 1–4096; response `alertDefs` array ≤1000 items.
* **Filter option counts** — `GET /alerts/alerts/v3/all/counts` response: the per-bucket `count` integers (`typeCounts[].count`, `priorityCounts[].count`, `statusCounts[].count`, `enabledCounts[].count`, `entityLabelCounts[].count`) are 0–4294967295.
* **Alert events**: `GET /v3/alert-event/{id}` `id` path parameter free-form string 1–36; `GET /v3/alert-event-stats` request `ids` array ≤1000 free-form strings 1–36; response `AlertEvent.alertId` a UUID string 1–36, and `permutationId` / `preGroupingEventId` / `incidentCorrelationKey` / `payloadType` strings ≤256; event-stats `count` / `resolvedCount` / `triggeredCount` / `isMutedCount` integers 0–4294967295.
* Added non-breaking OpenAPI validation metadata to existing views and folders REST payloads; no endpoints, JSON fields, or field requiredness changed. For view payloads in `POST /data-exploration/views/v1/views`, `PUT /data-exploration/views/v1/views/{id}`, `GET /data-exploration/views/v1/views`, and `GET /data-exploration/views/v1/views/{id}`, the spec now documents bounds for `id` integer (`1..2147483647`, where present), `name` string (`1..250`), `searchQuery.query` string (`1..65535`), `filters.filters` array (`1..1000`), `filters.filters[].name` string (`1..65535`), `timeSelection.quickSelection.caption` string (`1..100`), `timeSelection.quickSelection.seconds` integer (`0..4294967295`), and `timeSelection.customSelection.fromTime` / `timeSelection.customSelection.toTime` date-time strings (`1..35`). The shared `id` path parameter on `GET`, `PUT`, and `DELETE /data-exploration/views/v1/views/{id}` is also documented as integer `1..2147483647`; the `views` response array on `GET /data-exploration/views/v1/views` is documented as `0..100000` items. For folder payloads in `POST /data-exploration/views/v1/folders`, `PUT /data-exploration/views/v1/folders`, `GET /data-exploration/views/v1/folders`, and `GET /data-exploration/views/v1/folders/{id}`, the spec now documents `name` string bounds (`1..100`) and the `folders` response array bounds (`0..100000` items).
* Added an optional `arcDisplay` object (with `valueArc` and `thresholdArc` booleans) and an optional `showMinMax` boolean to the gauge widget and the dynamic-widget gauge visualization inside the dashboard payload. The fields appear in the request body of `POST /dashboards/dashboards/v1` and `PUT /dashboards/dashboards/v1`, and in the dashboard read responses of `GET /dashboards/dashboards/v1/{dashboard_id}` and `GET /dashboards/dashboards/v1/slugs/lookup/{slug}`. The presence of `arcDisplay` indicates the gauge arcs are shown; omitting it hides them. Deprecated the `showInnerArc` and `showOuterArc` booleans on both gauges. Non-breaking; omitting the new fields preserves existing behavior.
* Added optional `dpxlExpression` string to the span-rules object (`spanRules`) in the quota policy payload, mirroring the existing `dpxlExpression` on log rules. It appears in the request bodies of `POST /dataplans/policies/v1` (create), `PUT /dataplans/policies/v1` (update), `PUT /dataplans/span-policies/v1` (replace span policies), and `POST /dataplans/policies/v1/all/forecast-usage` (forecast usage); and in the response payloads of `GET /dataplans/policies/v1/{id}`, `GET /dataplans/policies/v1` (list), the `POST`/`PUT /dataplans/policies/v1` responses, `PUT /dataplans/span-policies/v1` (replace span policies), `PUT /dataplans/log-policies/v1` (replace log policies), and `POST /dataplans/policies/v1/all/test-policies` (test policies). Optional and non-breaking.
* Breaking OpenAPI schema change for `/logs/data-setup/v2`: in the `POST` request body, the `s3` object is now documented as required alongside `isActive`, matching existing server-side validation. In the `GET` and `POST` 200 response bodies, `target.archiveSpec` is now documented as required. This is an OpenAPI contract clarification only; the REST wire behavior is unchanged.
* Added optional `histogramBucketUnit` string enum to the dynamic heatmap widget's `heatmap` visualization object. It is accepted in dashboard request widgets for `POST /dashboards/check/v1`, `POST /dashboards/dashboards/v1`, and `PUT /dashboards/dashboards/v1`, and returned in dashboard response widgets from `GET /dashboards/dashboards/v1/{dashboard_id}` and `GET /dashboards/dashboards/v1/slugs/lookup/{slug}`. Values are `HEATMAP_HISTOGRAM_BUCKET_UNIT_UNSPECIFIED`, `HEATMAP_HISTOGRAM_BUCKET_UNIT_NANOSECONDS`, `HEATMAP_HISTOGRAM_BUCKET_UNIT_MICROSECONDS`, `HEATMAP_HISTOGRAM_BUCKET_UNIT_MILLISECONDS`, `HEATMAP_HISTOGRAM_BUCKET_UNIT_SECONDS`, `HEATMAP_HISTOGRAM_BUCKET_UNIT_BYTES_IEC`, `HEATMAP_HISTOGRAM_BUCKET_UNIT_KIBYTES`, `HEATMAP_HISTOGRAM_BUCKET_UNIT_MIBYTES`, `HEATMAP_HISTOGRAM_BUCKET_UNIT_GIBYTES`, `HEATMAP_HISTOGRAM_BUCKET_UNIT_BYTES`, `HEATMAP_HISTOGRAM_BUCKET_UNIT_KBYTES`, `HEATMAP_HISTOGRAM_BUCKET_UNIT_MBYTES`, and `HEATMAP_HISTOGRAM_BUCKET_UNIT_GBYTES`. Non-breaking; omitting it preserves existing behavior.
* Added documented validation constraints across the dashboards REST API: `POST /dashboards/check/v1`; `POST` and `PUT` on `/dashboards/dashboards/v1`; `GET` and `DELETE` on `/dashboards/dashboards/v1/{dashboard_id}`; `GET /dashboards/dashboards/v1/catalog/list`; `GET /dashboards/dashboards/v1/slugs/lookup/{slug}`; `PUT /dashboards/dashboards/v1/{dashboard_id}/default`; `POST /dashboards/dashboards/v1/{dashboard_id}/folder`; `GET`, `POST`, and `PUT` on `/dashboards/folders/v1`; `GET` and `DELETE` on `/dashboards/folders/v1/{folder_id}`; and `PUT` and `DELETE` on `/dashboards/pinned/v1/{dashboard_id}`. String, array, and integer fields throughout the dashboard, folder, and widget request and response payloads now declare `minLength`/`maxLength`/`pattern`, `minItems`/`maxItems`, and `minimum`/`maximum` limits. Specifically:
* Dashboard identifiers are 21-character strings: the `dashboard_id` path parameter on `PUT /dashboards/dashboards/v1/{dashboard_id}/default` and `POST /dashboards/dashboards/v1/{dashboard_id}/folder`, the `dashboardId` in the `POST /dashboards/dashboards/v1` response, each catalog item's `id` in the `GET /dashboards/dashboards/v1/catalog/list` response, and the dashboard body's `id` (string) all require exactly 21 characters.
* Folder and annotation identifiers are UUID strings (36 characters, canonical UUID pattern): a folder's `id` and `parentId` and the `POST /dashboards/folders/v1` response's `folderId`, and each dashboard annotation's `id` together with its action `id` and `widgetId`.
* Annotation, folder, and variable `name` and variable `displayName` strings are limited to 1–100 characters.
* Annotation-source `messageTemplate` strings are limited to 0–1000 characters, and their `labelFields`/`labels` arrays to at most 10 items.
* A folder `path`'s `segments` array holds 1–2 items, each a 1–100-character string.
* The `accessPolicy` string in the `GET /dashboards/dashboards/v1/{dashboard_id}` and `GET /dashboards/dashboards/v1/slugs/lookup/{slug}` responses accepts an empty string (`minLength: 0`).
* The line chart's `queryDefinitions` array declares `minItems: 1`. Widget, section, row, filter, and variable `id` fields are UUID strings (36 characters, canonical UUID pattern).
* The `slug` path parameter on `GET /dashboards/dashboards/v1/slugs/lookup/{slug}` is limited to 1–255 characters; the `request_id` query parameter on `DELETE /dashboards/dashboards/v1/{dashboard_id}`, `GET` and `DELETE` on `/dashboards/folders/v1/{folder_id}`, and `PUT` and `DELETE` on `/dashboards/pinned/v1/{dashboard_id}` is limited to 1–128 characters.
* The data-usage query API is now public: the following endpoints now appear in the public OpenAPI spec and customer-facing docs. `POST /dataplan/data-usage/v1/query` returns billable usage aggregated into daily or hourly buckets and supports filtering and grouping by labels. `GET /dataplan/data-usage/v1/capabilities` returns the supported labels, measurement kinds, units, and per-request limits. Both require the `data-usage:Read` permission. Additive; no request or response shapes changed.
* Added documented validation constraints on the recording rules REST API (`POST`, `GET`, `PUT`, and `DELETE` on `/recording-rules/recording-rules/v1`). Request and response fields now declare string length and pattern limits, integer ranges, and array size bounds; nested `groups[].name`, `groups[].rules[].record`, and `groups[].rules[].expr` are required on create and update, and `id` is required on create responses and on items returned by list and get. The `id` path parameter on get, update, and delete is limited to 1–128 characters. Non-breaking.
* Added `GET /notifications/notification-center/v1/entity-types/{entity_type}/attachment-types` (List Entity Type Attachment Types). Returns all supported attachment types for the given entity type. The response body contains `supportedAttachmentTypes` (array, 0–100 items), where each item is `{ "name": string, "defaultEnabled": boolean }` — `name` is the attachment type identifier (e.g. `"alert_graph"`) and `defaultEnabled` indicates whether the type is included by default when the policy is `AUTO`. Non-breaking; new endpoint.
* Added the time-to-update KPI to Cases. The `KPIType` string enum now contains `KPI_TYPE_UNSPECIFIED`, `KPI_TYPE_TIME_TO_ACKNOWLEDGE`, `KPI_TYPE_TIME_TO_RESOLVE`, and `KPI_TYPE_TIME_TO_UPDATE`.
* `caseLifecycle.kpi.thresholds[].type` in the request bodies for `POST /cases/cases/case-settings/v1/configs` and `PATCH /cases/cases/case-settings/v1/configs/{id}`.
* `caseSettings.caseLifecycle.kpi.thresholds[].type` in the response bodies from `POST /cases/cases/case-settings/v1/configs`, `GET /cases/cases/case-settings/v1/configs/{id}`, `PATCH /cases/cases/case-settings/v1/configs/{id}`, and `GET /cases/cases/case-settings/v1/configs:getActive`; and `caseLifecycle.kpi.thresholds[].type` in the response body from `GET /cases/cases/case-settings/v1/configs:getSystemDefaults`.
* `case.kpiBreaches.breachedKpis[].kpiType` in the response bodies from `GET /cases/cases/v1/{id}`, `PUT /cases/cases/v1/{id}`, `PUT /cases/acknowledged/v1/{id}`, `DELETE /cases/acknowledged/v1/{id}`, `POST /cases/assigned/v1/{id}`, `DELETE /cases/assigned/v1/{id}`, `POST /cases/closed/v1/{id}`, `POST /cases/indicators/v1/get`, `PUT /cases/priority-override/v1/{id}`, `DELETE /cases/priority-override/v1/{id}`, and `PUT /cases/resolved/v1/{id}`.
* `cases[].kpiBreaches.breachedKpis[].kpiType` in the response bodies from `POST /cases/cases/v1`, `POST /cases/acknowledged/v1`, `PUT /cases/assigned/v1`, `DELETE /cases/assigned/v1`, `POST /cases/closed/v1`, `POST /cases/priority-override/v1`, `DELETE /cases/priority-override/v1`, and `POST /cases/resolved/v1`.
* `event.eventData.kpiBreached.kpiType` in the response bodies from `POST /cases/cases/v1/{case_id}/comments`, `GET /cases/events/v1/{event_id}`, and `PUT /cases/events/v1/{event_id}/comments`; and `events[].eventData.kpiBreached.kpiType` in the response body from `GET /cases/cases/v1/{case_id}/events`.
* The `KPIFilter` string enum used by optional `filters.breached[]` arrays in the request bodies for `POST /cases/cases/v1` and `POST /cases/filter-values/v1` now contains `KPI_FILTER_UNSPECIFIED`, `KPI_FILTER_TIME_TO_ACKNOWLEDGE_BREACHED`, `KPI_FILTER_TIME_TO_RESOLVE_BREACHED`, `KPI_FILTER_NOT_BREACHED`, and `KPI_FILTER_TIME_TO_UPDATE_BREACHED`. Non-breaking.
* Error responses (`400`, `401`, `403`, `404`, `409`, `500`) across the Management API now document their `application/json` body with an `Error` schema, where previously the body carried no schema. `Error` is `{ "code": integer, "message": string }` — `code` is the HTTP status code (100–599) and `message` is a human-readable description. Response-only; non-breaking.
* `PUT /aaa/custom-roles/v1` (create custom role) no longer documents a `201` response; a successful create returns `200` with `{ "id": integer }` — the new role's identifier.
* `DELETE /aaa/custom-roles/v1/{role_id}` (delete custom role) `204` response no longer declares an `application/json` body, matching its no-content semantics.
* Added explicit validation bounds to request fields and response arrays across the notification-center REST APIs (`/notifications/notification-center/v1/connectors`,
`/notifications/notification-center/v1/presets`, `/notifications/notification-center/v1/routers`). Specifics:
* The `id` path parameter on `GET /notifications/notification-center/v1/connectors/{id}`, `DELETE /notifications/notification-center/v1/connectors/{id}`, `GET
/notifications/notification-center/v1/presets/{id}`, `DELETE /notifications/notification-center/v1/presets/custom/{id}`, `POST
/notifications/notification-center/v1/presets/custom/{id}/default`, `POST /notifications/notification-center/v1/presets/{id}/default/apply`, `GET
/notifications/notification-center/v1/routers/{id}`, and `DELETE /notifications/notification-center/v1/routers/{id}` now has `minLength: 1`, `maxLength: 128`, and pattern
`^[a-zA-Z0-9][a-zA-Z0-9_-]*$`.
* String request fields including `name`, `id`, `connectorId`, `presetId`, `payloadType`, `fieldName`, `template`, and `description` in the request bodies of `POST
/notifications/notification-center/v1/connectors`, `PUT /notifications/notification-center/v1/connectors`, `POST /notifications/notification-center/v1/presets:createCustom`, `PUT
/notifications/notification-center/v1/presets:replaceCustom`, `POST /notifications/notification-center/v1/routers`, `PUT /notifications/notification-center/v1/routers`, and related
`:test`/`:testConfig` endpoints now have `minLength`, `maxLength`, and `pattern` in the spec.
* Response arrays on `GET /notifications/notification-center/v1/connectors/all/list`, `GET /notifications/notification-center/v1/connectors/all/summaries`, `GET
/notifications/notification-center/v1/presets`, `GET /notifications/notification-center/v1/routers`, and `GET /notifications/notification-center/v1/routers/all/summaries` now have `maxItems` bounds.
* Added a Microsoft Teams actor variant to case event actors. The `microsoftTeams` actor carries `teamsUserId` (string), `displayName` (string), optional `userEmail` (string), and optional `coralogixUserId` (string, UUID). It appears in the `actor` field of events returned by `GET /cases/cases/v1/{case_id}/events`, in the `event` field of responses from `POST /cases/cases/v1/{case_id}/comments`, `GET /cases/events/v1/{event_id}`, and `PUT /cases/events/v1/{event_id}/comments`. Response-only; non-breaking.
* Added a `microsoftTeams` resolver variant to `resolvedBy` in the `ResolutionDetails` object in case responses. The variant is an empty marker object indicating the case was resolved through a Microsoft Teams connector. It appears wherever a `case` object is returned: `GET /cases/cases/v1/{id}`, `PUT /cases/cases/v1/{id}`, `POST /cases/cases/v1` (list); `PUT /cases/acknowledged/v1/{id}`, `DELETE /cases/acknowledged/v1/{id}`, `POST /cases/acknowledged/v1` (bulk); `POST /cases/assigned/v1/{id}`, `DELETE /cases/assigned/v1/{id}`, `PUT /cases/assigned/v1` (bulk assign), `DELETE /cases/assigned/v1` (bulk unassign); `POST /cases/closed/v1/{id}`, `POST /cases/closed/v1` (bulk); `POST /cases/indicators/v1/get`; `PUT /cases/priority-override/v1/{id}`, `DELETE /cases/priority-override/v1/{id}`, `POST /cases/priority-override/v1` (bulk set), `DELETE /cases/priority-override/v1` (bulk clear); `PUT /cases/resolved/v1/{id}`, `POST /cases/resolved/v1` (bulk). Response-only; non-breaking.
* Added optional `timeBucketMs` string to the request body of `POST /dataplans/policies/v1/all/forecast-usage` (forecast TCO policy usage). When set, the forecast is bucketed into intervals of the given millisecond width. Non-breaking; omitting it preserves existing behavior.
* Added optional `usageBuckets` array to the response of `POST /dataplans/policies/v1/all/forecast-usage` (forecast TCO policy usage). Each item is `{ "bucketStartMs": string, "bytes": string }`, where `bucketStartMs` is the bucket window start in epoch milliseconds and `bytes` is the matched bytes within that bucket. Populated only when `timeBucketMs` is set on the request; otherwise empty. Non-breaking; `estimatedBytes` is unchanged.
* Added company model pricing REST API under `/ai/model-pricing/v3` (company resolved from auth context; non-breaking, new endpoints). `GET /ai/model-pricing/v3` returns `{ "pricing": { "id": string (UUID), "companyId": string, "prices": object } }` where `prices` is keyed by model name and each value is `{ "inputPricePerMillionTokens": number, "outputPricePerMillionTokens": number, "cacheReadPricePerMillionTokens": number, "cacheWritePricePerMillionTokens": number }` (USD per one million tokens). `PUT /ai/model-pricing/v3` accepts request body `{ "prices": object (required) }` with the same per-model value shape as a full replacement map and returns `{ "pricing": { "id": string (UUID), "companyId": string, "prices": object } }`. `DELETE /ai/model-pricing/v3` returns `{ "id": string (UUID) }`.
* Added `CONNECTOR_TYPE_MICROSOFT_TEAMS` to the `connectorType` enum in the cases connector type schema. The value appears in `connectorTypeFilters` in the request body of `POST /cases/cases/v1` (list cases) and `POST /cases/filter-values/v1`, and in the `connector` object within delivery attempts in the response of `POST /cases/notifications/v1/deliveries`. Non-breaking.
* Added read-only `resolvedConnectorConfig` field to the `Connector` and `ConnectorSummary` response schemas in the notification-center connectors API. The field exposes the full effective connector configuration including backend auto-resolved values (e.g. a Slack integration ID). It is response-only and ignored on create/replace request bodies. It appears in `Connector` responses from `POST /notifications/notification-center/v1/connectors` (Create), `PUT /notifications/notification-center/v1/connectors` (Replace), `GET /notifications/notification-center/v1/connectors/{id}` (Get), `GET /notifications/notification-center/v1/connectors` (List), and `GET /notifications/notification-center/v1/connectors/all/list` (BatchGet); and in `ConnectorSummary` responses from `GET /notifications/notification-center/v1/connectors/all/summaries` (BatchGetConnectorSummaries) and `GET /notifications/notification-center/v1/connectors/list/summaries` (ListConnectorSummaries). Non-breaking.
* Added optional `layoutColumns` integer to dashboard widgets in the request bodies for `POST /dashboards/check/v1`, `POST /dashboards/dashboards/v1`, and `PUT /dashboards/dashboards/v1`, and in the response payloads from `GET /dashboards/dashboards/v1/{dashboard_id}` and `GET /dashboards/dashboards/v1/slugs/lookup/{slug}`. Non-breaking; omitting it preserves existing layout behavior.
* Added `POST /cases/indicators/v1/get` to return a `case` object for a source indicator. The request body supports a `prometheusAlert` object with required `fingerprint` string and `startedAt` date-time string. Non-breaking.
* Added `minimum: 0` to the optional `threshold` number in AI evaluation payloads: request bodies for `POST /ai/evaluations/v3` and `PATCH /ai/evaluations/v3/{id}`, and response payloads from `GET /ai/evaluations/v3`, `GET /ai/evaluations/v3/{id}`, `POST /ai/evaluations/v3`, and `PATCH /ai/evaluations/v3/{id}`. Non-breaking; it documents the existing inclusive lower bound.
* Added optional `genericIndicators` array under `caseIndicators` in the case response payloads returned by `GET /cases/cases/v1/{id}`, `PUT /cases/cases/v1/{id}`, and the list response from `POST /cases/cases/v1`.
* Added optional `indicatorTypes` array to the `filters` object in the request body for `POST /cases/cases/v1`, allowing callers to filter the case list by indicator type.
* Added a `MICROSOFT_TEAMS` value to the connector type enum in the connectors payload (`POST` / `PUT` `/notifications/notification-center/v1/connectors`), enabling notification routing to Microsoft Teams.
* Added `POST /dashboards/check/v1` for validating a dashboard definition or an existing dashboard by ID without persisting changes. The response contains an `issues` array; each issue carries `severity` (enum: `SEVERITY_UNSPECIFIED`, `SEVERITY_ERROR`, `SEVERITY_WARNING`), `message` (string), and `location` (string, RFC 6901 JSON Pointer). The request body accepts either a `dashboard` object or `dashboardId` (string), and an optional `requestId` (string). Non-breaking; the endpoint is additive.
* Added the AI Center v3 REST API for managing AI applications and AI evaluations:
* **AI applications** — `GET /ai/applications/v3` (list), `GET /ai/applications/v3/{id}` (get), `DELETE /ai/applications/v3/{id}` (delete).
* **AI evaluations** — `POST /ai/evaluations/v3` (create), `GET /ai/evaluations/v3` (list), `GET /ai/evaluations/v3/{id}` (get), `PATCH /ai/evaluations/v3/{id}` (update), `DELETE /ai/evaluations/v3/{id}` (delete), and `GET /ai/evaluation-counts/v3/per-type` (counts per evaluation type).
* **Custom evaluations** — `POST /ai/custom-evaluations/v3` (create), `GET /ai/custom-evaluations/v3` (list), `PATCH /ai/custom-evaluations/v3/{id}` (update), `DELETE /ai/custom-evaluations/v3/{id}` (delete), `GET /ai/custom-evaluations/v3/by-application/{application_id}` (list for an application), and `POST` / `DELETE /ai/custom-evaluations/v3/{id}/applications/{application_id}` (link / unlink a custom evaluation to an application).
* Added two analytics alert types to the alert payload, which appears in the request and/or response of the alert-definition endpoints: `POST /alerts/alerts/v3` (request and response), `PUT /alerts/alerts/v3` (request and response), `PUT /alerts/alerts/v3/all/replace` (request and response), `GET /alerts/alerts/v3` (response), `GET /alerts/alerts/v3/{id}` (response), and `GET /alerts/alerts/v3/version-ids/{alert_version_id}` (response). The alert type-definition object gains an `analyticsImmediate` variant (fires when a DataPrime query returns a result) and an `analyticsThreshold` variant (fires when a numeric result column violates a threshold). Both carry a `dataprimeQuery` object, `useRowsAsPermutations` (boolean), `evaluationDelayMs` (integer), `noDataPolicy` (object), and `timeframeMinutes` (integer); `analyticsThreshold` additionally carries a `rules` array (1–5 items), a `targetColumn` (string), and an `operator` enum (`ANALYTICS_THRESHOLD_OPERATOR_MORE_THAN_OR_UNSPECIFIED`, `ANALYTICS_THRESHOLD_OPERATOR_LESS_THAN`, `ANALYTICS_THRESHOLD_OPERATOR_MORE_THAN_OR_EQUALS`, `ANALYTICS_THRESHOLD_OPERATOR_LESS_THAN_OR_EQUALS`, `ANALYTICS_THRESHOLD_OPERATOR_EQUALS`). The `type` enum on the same payload gains `ALERT_DEF_TYPE_ANALYTICS_IMMEDIATE` and `ALERT_DEF_TYPE_ANALYTICS_THRESHOLD`. Optional and non-breaking.
* **Breaking:** Removed the `Extension testing service` REST API: `POST /integrations/testing/v1/extensions/initialize`, `DELETE /integrations/testing/v1/extensions`, and `POST /integrations/testing/v1/extensions`. These operations are no longer available.
* Added an optional `ollyAnalysis` object to the `Case` schema in case responses under `/cases/cases/v1`. Reports the result of an automated Olly analysis attached to a case (status, optional payload, completion timestamp). Response-only, non-breaking.
* A path parameter shared by multiple operations on the same path is now declared once at the path level instead of being repeated on each operation. Purely structural and non-breaking — the same parameters apply to the same operations, so the request contract is unchanged.
* Added optional `useDataTimeRange` boolean to the line-chart and time-series-lines widgets in the dashboard payload under `/dashboards/dashboards/v1`. When `true`, the widget derives its time window from the returned data instead of the dashboard time range — useful for time-shifted DataPrime queries (e.g. `addTime($m.timestamp, 14days)`) whose output timestamps fall outside the dashboard's selected window. Optional and non-breaking; omitting it preserves existing behavior.
* **Breaking (spec contract):** Integer fields that carry 64-bit values are now declared as `type: string` with a digit `pattern` (`^[0-9]+$` unsigned, `^-?[0-9]+$` signed) and `minLength: 1` / `maxLength: 20`, instead of as numbers. This matches the actual JSON wire format — servers already emit and accept these values as quoted strings — so there is no runtime behavior change; only the declared type in the spec changes.
* Array schemas now declare `minItems: 0` (on every array, regardless of item type) and unsigned integer fields declare `minimum: 0` by default in the spec. Additive and non-breaking (least-restrictive constraints); no runtime behavior change.
* Added optional `dataspace` string to the policy target in the log, span, and generic TCO policy payloads (`/dataplans/log-policies/v1`, `/dataplans/span-policies/v1`, `/dataplans/policies/v1`), request and response. A free-form identifier for the target's dataspace, mirroring `dataset`. Non-breaking.
* Added optional `priority` (enum: `PRIORITY_TYPE_UNSPECIFIED`, `PRIORITY_TYPE_BLOCK`, `PRIORITY_TYPE_LOW`, `PRIORITY_TYPE_MEDIUM`, `PRIORITY_TYPE_HIGH`), `priorityOverride` (object), and `archiveRetention` (object with an `id` string) to the policy target in the same log/span/generic policy payloads, request and response. Optional in the spec; server validation determines required semantics. Non-breaking.
* 46 PUT/POST request bodies across the aaa, alerts, cases, dashboards, data-exploration, dataengine, dataplan(s), enrichment-rules, events2metrics, incidents, logs, metrics, and slo APIs are now declared `required` in the spec. Non-breaking — clients were already required to send these bodies; the spec now reflects it.
* Added a PagerDuty actor variant to case event actors, returned at `GET /cases/cases/v1/{case_id}/events`. The `pagerDuty` actor carries `pagerDutyUserId` (string), `displayName` (string), optional `userEmail` (string), and optional `coralogixUserId` (string, UUID). Response-only; non-breaking.
* Removed the optional `source` string from the APM-database impacted-entity in case responses under `/cases/cases/v1`. The field had no consumers.
* Added optional `accessPolicy` string to the dashboard create/replace request bodies (`POST` / `PUT /dashboards/dashboards/v1`) and the dashboard get responses (`GET /dashboards/dashboards/v1/{dashboard_id}`, `GET /dashboards/dashboards/v1/slugs/lookup/{slug}`), letting callers read and write a per-dashboard PBAC access policy (opaque JSON string). On create/replace a non-empty value sets the policy; omitting it leaves the policy unchanged. Non-breaking.
* Added a PromQL variant to the dashboard variable query source in the dashboard payload under `/dashboards/dashboards/v1`. Variables can now be sourced from a PromQL query in addition to metric name, label name, and label value sources. The `promqlQuery` object carries the query string and an optional `promqlQueryType` enum (`PROM_QL_QUERY_TYPE_UNSPECIFIED`, `PROM_QL_QUERY_TYPE_RANGE`, `PROM_QL_QUERY_TYPE_INSTANT`) to opt into range queries. Non-breaking.
* Added `resolvedValues` (array of strings) to the SLO ownership tag in the SLO payload under `/slo/slos/v1`, request and response. A flat, deduplicated union of the tag's static values and the values resolved from its label keys (empties excluded), giving a single searchable list regardless of source. Non-breaking.
* Added Prometheus Alert Manager support to the cases responses. The case payload returned by `GET /cases/cases/v1/{id}` and the list at `POST /cases/cases/v1` gains a `prometheusAlertIndicators` array (an array of Prometheus alert indicator objects, under `caseIndicators`) listing the Prometheus alerts contributing to the case, and the case events list at `GET /cases/cases/v1/{case_id}/events` gains a `prometheusAlertManager` event-actor variant. Response-only; non-breaking.
* **Breaking:** moved two `/integrations/*` endpoints to resolve OpenAPI path ambiguities. The legacy paths have been removed; clients must switch over.
* `POST /integrations/contextual-data/v1/{integration_id}/test` → `POST /integrations/contextual-data/v1/test/{integration_id}`.
* `GET /integrations/extensions/v1/{id}` → `GET /integrations/extensions/v1/catalog/{id}`.
* Added `allocationType` (enum: `QUOTA_ALLOCATION_TYPE_UNSPECIFIED`, `QUOTA_ALLOCATION_TYPE_PERCENTAGE`, `QUOTA_ALLOCATION_TYPE_LOCKED_UNITS`) and `cxManaged` (boolean, response-only) to the quota allocation rule in the quota-rules payload under `/dataplan/quota-rules/v1`, letting quota rules distinguish percentage allocation from locked units and identify Coralogix-managed rules. Non-breaking.
* Added `GET /cases/cases/v1/{case_id}/deep-links` for retrieving deep-link URLs from a case to related product views.
* Added a `PAGERDUTY_INCIDENTS` value to the connector type enum in the connectors payload (`POST` / `PUT /notifications/notification-center/v1/connectors`), enabling notification routing to PagerDuty via the Incidents API. Non-breaking.
* **Breaking:** removed the deprecated team-configs endpoints. The following paths have been deleted; clients must migrate to the equivalent case-settings paths under `/cases/cases/case-settings/v1/configs` (see the 2026-05-19 entry).
* `POST /cases/cases/team-configs/v1/configs`
* `GET /cases/cases/team-configs/v1/configs/{id}`
* `PATCH /cases/cases/team-configs/v1/configs/{id}`
* `DELETE /cases/cases/team-configs/v1/configs/{id}`
* `GET /cases/cases/team-configs/v1/configs:getActive`
* `GET /cases/cases/team-configs/v1/configs:getSystemDefaults`
* Cases API is now public: the following endpoints now appear in the public OpenAPI spec and customer-facing docs.
* `GET /cases/cases/v1/{id}`
* `POST /cases/cases/v1`
* `PUT /cases/cases/v1/{id}`
* `PUT /cases/priority-override/v1/{id}`
* `DELETE /cases/priority-override/v1/{id}`
* `POST /cases/assigned/v1/{id}`
* `DELETE /cases/assigned/v1/{id}`
* `PUT /cases/acknowledged/v1/{id}`
* `DELETE /cases/acknowledged/v1/{id}`
* `POST /cases/closed/v1/{id}`
* `PUT /cases/resolved/v1/{id}`
* `POST /cases/filter-values/v1`
* `PUT /cases/assigned/v1`
* `DELETE /cases/assigned/v1`
* `POST /cases/acknowledged/v1`
* `POST /cases/resolved/v1`
* `POST /cases/closed/v1`
* `POST /cases/priority-override/v1`
* `DELETE /cases/priority-override/v1`
* `GET /cases/grouping-keys/v1`
* Added a new public case-settings API for managing team-level case settings. It supersedes the team-configs endpoints, which are now deprecated and will be removed in a future release — clients should migrate to the new paths below.
* `POST /cases/cases/case-settings/v1/configs`
* `GET /cases/cases/case-settings/v1/configs/{id}`
* `PATCH /cases/cases/case-settings/v1/configs/{id}`
* `DELETE /cases/cases/case-settings/v1/configs/{id}`
* `GET /cases/cases/case-settings/v1/configs:getActive`
* `GET /cases/cases/case-settings/v1/configs:getSystemDefaults`
* **Breaking:** moved five `/notifications/notification-center/v1/presets/*` endpoints to resolve OpenAPI path ambiguities with `/presets/{id}` and `/presets/{id}/default`. The legacy paths have been removed; clients must switch over.
* `POST /notifications/notification-center/v1/presets/custom` → `POST /notifications/notification-center/v1/presets:createCustom`.
* `PUT /notifications/notification-center/v1/presets/custom` → `PUT /notifications/notification-center/v1/presets:replaceCustom`.
* `POST /notifications/notification-center/v1/presets/{id}/default` → `POST /notifications/notification-center/v1/presets/{id}/default/apply`. (This also resolves the `/notifications/notification-center/v1/presets/custom/{id}` collision, so `DELETE /notifications/notification-center/v1/presets/custom/{id}` keeps its existing path.)
* `GET /notifications/notification-center/v1/presets/summaries` → `GET /notifications/notification-center/v1/presets:getDefaultSummary`.
* `POST /notifications/notification-center/v1/presets/tests` → `POST /notifications/notification-center/v1/presets:test`.
* **Breaking:** moved two cases team-config read endpoints to resolve OpenAPI path ambiguities with `/cases/cases/team-configs/v1/configs/{id}`. The legacy paths have been removed; clients must switch over.
* `GET /cases/cases/team-configs/v1/configs/active` → `GET /cases/cases/team-configs/v1/configs:getActive`.
* `GET /cases/cases/team-configs/v1/configs/system-defaults` → `GET /cases/cases/team-configs/v1/configs:getSystemDefaults`.
* **Breaking:** moved three `/aaa/*` endpoints to resolve OpenAPI path ambiguities. The legacy paths have been removed; clients must switch over.
* `GET /aaa/api-keys/v3/list` → `GET /aaa/api-keys/v3/list/all`.
* `GET /aaa/team-groups/v2/{group_id}/users` → `GET /aaa/team-groups/v2/{group_id}/users/list`.
* `PATCH /aaa/teams/v2/{team_id}/members/status` → `PATCH /aaa/teams/v2/{team_id}/members:updateStatuses`.
* Added `POST /dataplans/policies/v1/all/forecast-usage`, which forecasts the usage in bytes of a draft TCO policy based on the bytes matched by its filter rules over a given time window.
* **Breaking:** moved two dashboards read endpoints to new REST paths to resolve OpenAPI path ambiguities with `/dashboards/dashboards/v1/{dashboard_id}`. The legacy paths have been removed; clients must switch over.
* `GET /dashboards/dashboards/v1/catalog` → `GET /dashboards/dashboards/v1/catalog/list`.
* `GET /dashboards/dashboards/v1/slugs/{slug}` → `GET /dashboards/dashboards/v1/slugs/lookup/{slug}`.
* Added optional `targets` (array, 1–10 items) to enrichments in the enrichment-rules payload under `/enrichment-rules/enrichment-rules/v1`, request and response. Each entry is an object with a `dataset` string, scoping the enrichment to specific datasets. Non-breaking.
* Added optional `roleArn` and `externalId` strings to the S3 target spec in the archive setup payload under `/logs/data-setup/v2`, request and response, supporting `sts:AssumeRole` + external-ID cross-account S3 access. Non-breaking.
* Added Cases KPI support across two cases payloads. Team-level KPI thresholds appear in the case-settings config under `caseLifecycle.kpi` (an object whose `thresholds` array holds the per-KPI settings) — written on `POST /cases/cases/case-settings/v1/configs` and `PATCH /cases/cases/case-settings/v1/configs/{id}`, and read on `GET /cases/cases/case-settings/v1/configs/{id}` (and the `:getActive` / `:getSystemDefaults` reads). Case-level breach data appears in the case payload as `kpiBreaches` (an object with a `breachedKpis` array; each entry carries `kpiType`, `casePriority`, `breachedAt`, and `breachStatus`) in the case payload returned by `GET /cases/cases/v1/{id}` and the list at `POST /cases/cases/v1`, response-only. Non-breaking.
* Added optional `metadata` object (string-to-string map) to the success result of notification test endpoints (response), e.g. `POST /notifications/notification-center/v1/connectors:test`. Non-breaking.
* Added optional `description` (string), `dpxlFilter` (string), and `urlFields` (array) to the action payload under `/actions/actions/v2`, request and response. Each `urlFields` entry is an object with `name` (string) and `required` (boolean). Non-breaking.
# Copy a dashboard
Source: https://docs.coralogix.com/copy_a_dashboard
# Use case: Copy a Dashboard
This use case demonstrates how to duplicate an existing dashboard by retrieving its configuration and posting it as a new dashboard.
## Steps
**1. (Optional) List available dashboards**
If you don't already have the `dashboard_id` of the source dashboard, use this endpoint to list existing dashboards.
**GET** `/dashboards/catalog`
### Sample response
```json theme={null}
{
"items": [
{
"id": "qw5k07W8SYBxp6h1m1EN9",
"name": "K8s dashboard",
"description": "A23 updated desc",
"isDefault": false,
"isPinned": true,
"createTime": "2024-10-22T09:28:31.538Z",
"updateTime": "2025-02-11T11:02:32.534Z",
"folder": {
"id": "ebee6dd5-078b-44ca-f901-ba9722b17d6e",
"name": "Infra"
},
"isLocked": true
}
]
}
```
!!! Note
Note the ID of the dashboard you want to copy.
**2. Retrieve the dashboard by ID**
**GET** `/dashboards/{dashboard_id}`
Use the ID from the previous step to fetch the full dashboard definition.
### Example
**GET** `/dashboards/qw5k07W8SYBxp6h1m1EN9`
**3. Copy the dashboard**
Take the response from the previous step and remove the following fields:
* `id`
* `createTime`- `updateTime`
Update any fields if needed, then send the remaining data as the body to create a new dashboard.
**POST** `/dashboards`
### Sample request body
```json theme={null}
{
"name": "K8s dashboard (Copy)",
"description": "Copied from K8s dashboard",
"variables": [
{
"name": "env",
"definition": {
"multiSelect": {
"source": {
"query": {
"query": {
"logsQuery": {
"type": {
"fieldValue": {
"observationField": {
"keypath": ["environment"],
"scope": "DATASET_SCOPE_USER_DATA"
}
}
}
}
}
}
}
}
}
}
],
"relativeTimeFrame": "3600s",
"folderId": {
"value": "ebee6dd5-078b-44ca-f901-ba9722b17d6e"
},
"annotations": [
{
"name": "sample",
"enabled": true,
"source": {
"logs": {
"luceneQuery": {
"value": "coralogix.metadata.subsystemName=\"resource\""
},
"strategy": {
"instant": {
"timestampField": {
"keypath": ["timestamp"],
"scope": "DATASET_SCOPE_METADATA"
}
}
},
"labelFields": [
{
"keypath": ["severity"],
"scope": "DATASET_SCOPE_METADATA"
}
]
}
}
}
]
}
```
### Summary
| Action | Endpoint | Notes |
| -------------------- | -------------------------------- | -------------------------------------------- |
| List dashboards | `GET /dashboards/catalog` | Optional: use to select the source dashboard |
| Get dashboard by ID | `GET /dashboards/{dashboard_id}` | Fetch full config of dashboard |
| Create new dashboard | `POST /dashboards` | Submit updated body to create a copy |
# Create an alert with an outgoing webhook
Source: https://docs.coralogix.com/create_an_alert_with_an_outgoing_webhook
# Use case: Create an alert with an outgoing webhook
This guide demonstrates how to create an alert that sends notifications through an outgoing webhook (e.g., Slack) using the REST API. The flow involves:
1. Creating a webhook integration
2. Testing the webhook
3. Listing webhooks to retrieve `integrationId`
4. Creating the alert definition
## Steps
1. **Create a webhook integration**
**POST** `/v1/outgoing-webhooks`
Create a new webhook integration to send notifications to Slack. The current webhook configuration enables notifications about error and critical logs, spike anomalies, and data usage. The alert message is also configured to include a snapshot of metric data.
| **Field** | **Description** |
| ------------- | ----------------------------------- |
| `type` | Integration type (e.g.,`2` = Slack) |
| `url` | Webhook destination URL |
| `digests` | Events that trigger notifications |
| `attachments` | Metric snapshots |
### Supported webhook types
| **Value** | **Name** | **Description** |
| --------- | ------------------------- | ------------------------ |
| 0 | `UNKNOWN` | Default or undefined |
| 1 | `GENERIC` | Generic webhook |
| 2 | `SLACK` | Slack integration |
| 3 | `PAGERDUTY` | PagerDuty integration |
| 4 | `SEND_LOG` | Log forwarding webhook |
| 5 | `EMAIL_GROUP` | Email group notification |
| 6 | `MICROSOFT_TEAMS` | Microsoft Teams |
| 7 | `JIRA` | Jira integration |
| 8 | `OPSGENIE` | Opsgenie integration |
| 9 | `DEMISTO` | Demisto |
| 10 | `AWS_EVENT_BRIDGE` | AWS EventBridge |
| 11 | `IBM_EVENT_NOTIFICATIONS` | IBM Event Notifications |
| 12 | `MS_TEAMS_WORKFLOW` | MS Teams workflow app |
### Request body
```bnf theme={null}
{
"data": {
"type": 2, // SLACK
"name": "SlackWebhook",
"url": "https://hooks.slack.com/services/T2KG0NT2T/A05JJ8MG3FV/PHWHCuXXqFDnWA5ndsCJWRRB",
"config": {
"$case": "slack",
"slack": {
"digests": [
{
"type": 1, // ERROR_AND_CRITICAL_LOGS
"isActive": true
},
{
"type": 3, // SPIKE_ANOMALIES
"isActive": true
},
{
"type": 4, // DATA_USAGE
"isActive": true
}
],
"attachments": [
{
"type": 1, // METRIC_SNAPSHOT
"isActive": true
}
]
}
}
}
}
```
2. **Test outgoing webhook**
**POST** `/v1/outgoing-webhooks/test`
To validate the webhook configuration, send a test request.
### Request body
Same as the create payload above.
### **Successful response**
```bnf theme={null}
{
"result": {
"$case": "success",
"success": {}
}
}
```
3. **Retrieve webhook integration ID**
**GET** `/v1/outgoing-webhooks/all`
Use the **List Outgoing Webhooks** API to retrieve the list of available integrations. From the response, extract the `externalId` of the webhook you just created—this will be used as `integrationId` in the alert definition.
**Sample response**
```
{
"deployed": [
{
"id": "n8F2B116-d401-49a3-ag79-3f9a66ff4b2a",
"type": "AWS_EVENT_BRIDGE",
"name": "EventBridge-Alerts",
"createdAt": "2024-02-21T18:01:36.690012Z",
"updatedAt": "2024-05-22T07:54:19.753346Z",
"externalId": 13490
},
{
"id": "0ac29499-4b1b-42bj-a249-97204c136f6e",
"type": "EMAIL_GROUP",
"name": "Alert_Email_Group",
"createdAt": "2022-01-11T12:10:12Z",
"updatedAt": "2022-07-28T09:35:07Z",
"externalId": 3722
}
]
}
```
4. **Create an alert with the webhook**
**POST** `/v3/alert-defs`
Now that you have the `integrationId`, you can define an alert and specify the webhook as a notification destination.
```bnf theme={null}
{
"alertDefProperties": {
"deleted": false,
"enabled": true,
"phantomMode": false,
"groupByKeys": [],
"name": "Logs Threshold Alert",
"description": "",
"priority": 0,
"type": 1, // ALERT_DEF_TYPE_LOGS_THRESHOLD
"incidentsSettings": {
"notifyOn": 0,
"retriggeringPeriod": {
"$case": "minutes",
"minutes": 5
}
},
"notificationGroup": {
"groupByKeys": [],
"webhooks": [
{
"integration": {
"integrationType": {
"$case": "integrationId",
"integrationId": 172196
}
}
}
],
"destinations": []
},
"notificationGroupExcess": [],
"entityLabels": {},
"typeDefinition": {
"$case": "logsThreshold",
"logsThreshold": {
"notificationPayloadFilter": [],
"logsFilter": {
"filterType": {
"$case": "simpleFilter",
"simpleFilter": {
"luceneQuery": "",
"labelFilters": {
"applicationName": [
{
"value": "aws-lambda",
"operation": 0
}
],
"subsystemName": [],
"severities": []
}
}
}
},
"rules": [
{
"condition": {
"threshold": 1,
"conditionType": 0,
"timeWindow": {
"type": {
"$case": "logsTimeWindowSpecificValue",
"logsTimeWindowSpecificValue": 0
}
}
},
"override": {
"priority": 0
}
}
],
"evaluationDelayMs": null
}
}
}
}
```
## Summary
| Create webhook | `POST /api/integrations/webhook` | Define the outgoing integration |
| -------------- | ------------------------------------- | ------------------------------------ |
| Test webhook | `POST /api/integrations/webhook/test` | Optional but recommended |
| Get webhook ID | `GET /api/integrations/webhook` | Extract `externalId` |
| Create alert | `POST /api/alerts` | Attach webhook using `integrationId` |
# Getting started
Source: https://docs.coralogix.com/introduction-v5
Unlock the full power of Coralogix with our HTTP API suite
Coralogix offers a robust set of APIs designed to help you send observability data, manage and enrich it, build dashboards, configure alerts, and run advanced queries—all at scale. Whether you're automating workflows or integrating with third-party tools, our APIs give you precise control over every aspect of your observability pipeline.
Explore the API categories below to get started.
You can download the API spec from [https://api.coralogix.com/mgmt/openapi/5/openapi.yaml](https://api.coralogix.com/mgmt/openapi/5/openapi.yaml).
## API Overview
| Repository | Description | Services |
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Actions** | Coralogix Actions provide powerful automation capabilities that trigger workflows based on data conditions. | [Actions](https://docs.coralogix.com/api-reference/v5/actions-service/overview) |
| **Alerts** | Coralogix Alerts deliver intelligent monitoring and proactive notification across your entire observability stack, helping teams detect and respond to issues before they impact users. | [Alert definitions](https://docs.coralogix.com/api-reference/v5/alert-definitions-service/overview)
[Alert events](https://docs.coralogix.com/api-reference/v5/alert-events-service/overview) |
| **APM** | Coralogix APM delivers comprehensive application performance monitoring with Service Level Objective (SLO) tracking. | [SLO](https://docs.coralogix.com/api-reference/v5/slos-service/overview) |
| **Archive** | Coralogix Archive provides intelligent data lifecycle management to optimize storage costs while maintaining compliance. | [Retentions](https://docs.coralogix.com/api-reference/v5/retentions-service/overview)
[Target](https://docs.coralogix.com/api-reference/v5/target-service/overview) |
| **Cases** | Coralogix Cases consolidate triggered alerts into actionable entities with status, priority, assignee, and a chronological activity timeline. | [Case Events](https://docs.coralogix.com/api-reference/v5/case-events-service/overview)
[Case Settings](https://docs.coralogix.com/api-reference/v5/case-settings-service/overview)
[Cases](https://docs.coralogix.com/api-reference/v5/cases-service/overview)
[Cases Notification](https://docs.coralogix.com/api-reference/v5/cases-notification-service/overview) |
| **Dashboards** | Coralogix Dashboards deliver powerful visualization and analysis capabilities for all your observability data. | [Dashboard](https://docs.coralogix.com/api-reference/v5/dashboard-service/overview)
[Dashboard folders](https://docs.coralogix.com/api-reference/v5/dashboard-folders-service/overview) |
| **Data Usage** | Coralogix Data Usage provides detailed insights into your observability data consumption patterns. | [Data Usage](https://docs.coralogix.com/api-reference/v5/data-usage-service/overview) |
| **Enrichment** | Coralogix Enrichment enhances your observability data with contextual information from multiple sources. | [Custom Enrichments](https://docs.coralogix.com/api-reference/v5/custom-enrichments-service/overview)
[Enrichments](https://docs.coralogix.com/api-reference/v5/enrichments-service/overview) |
| **Events** | Coralogix Events exposes historical data about triggered incidents. It enables teams to query, paginate, and analyze alert event occurrences. | [Events](https://docs.coralogix.com/api-reference/v5/events-service/overview) |
| **Extensions** | Coralogix Extensions provide a comprehensive ecosystem of pre-built monitoring resources to accelerate observability implementation and reduce time-to-value. | [Contextual data integration](https://docs.coralogix.com/api-reference/v5/contextual-data-integration-service/overview)
[Extension deployment](https://docs.coralogix.com/api-reference/v5/extension-deployment-service/overview)
[Extension testing](https://docs.coralogix.com/api-reference/v5/extension-testing-service/overview)
[Extensions](https://docs.coralogix.com/api-reference/v5/extension-service/overview)
[Integration](https://docs.coralogix.com/api-reference/v5/integration-service/overview)
[Outgoing webhooks](https://docs.coralogix.com/api-reference/v5/outgoing-webhooks-service/overview) |
| **Incidents** | Coralogix Incidents provide comprehensive incident management capabilities to streamline alert response and resolution workflows. | [Incidents](https://docs.coralogix.com/api-reference/v5/incidents-service/overview) |
| **Logs2Metrics** | Coralogix Logs2Metrics transforms log events into actionable metrics for enhanced monitoring. | [Events2Metrics](https://docs.coralogix.com/api-reference/v5/events2metrics-service/overview) |
| **Notifications** | Coralogix Notifications provide routing and delivery of alerts through various channels. | [Connectors](https://docs.coralogix.com/api-reference/v5/connectors-service/overview)
[Connector Schema](https://docs.coralogix.com/api-reference/v5/connector-schema-service/overview)
[Entities](https://docs.coralogix.com/api-reference/v5/entities-service/overview)
[Global Routers](https://docs.coralogix.com/api-reference/v5/global-routers-service/overview)
[Notifications Testing](https://docs.coralogix.com/api-reference/v5/notifications-testing-service/overview)
[Presets](https://docs.coralogix.com/api-reference/v5/presets-service/overview) |
| **Permissions** | Coralogix Permissions provide granular role-based access control to secure your observability data. | [API Keys](https://docs.coralogix.com/api-reference/v5/api-keys-service/overview)
[API Keys Admin](https://docs.coralogix.com/api-reference/v5/api-keys-admin-service/overview)
[IP Access](https://docs.coralogix.com/api-reference/v5/ip-access-service/overview)
[SAML Configuration](https://docs.coralogix.com/api-reference/v5/saml-configuration-service/overview)
[Users Management](https://docs.coralogix.com/api-reference/v5/users-management-service/overview) |
| **Quota** | Coralogix Quota provides resource allocation and usage enforcement to optimize platform utilization. | [Policies](https://docs.coralogix.com/api-reference/v5/policies-service/overview) |
| **Recording Rules** | Coralogix Recording Rules let you define PromQL-based expressions that are periodically evaluated and stored as new time series for downstream analysis. | [Recording Rules](https://docs.coralogix.com/api-reference/v5/recording-rules-service/overview) |
| **Rule Groups** | Coralogix Rule Groups allow you to organize and manage log parsing rules in structured, ordered collections. | [Rule Groups](https://docs.coralogix.com/api-reference/v5/rule-groups-service/overview) |
| **Scopes** | Coralogix Scopes provide data isolation and access control through logical data partitioning. | [Scopes](https://docs.coralogix.com/api-reference/v5/scopes-service/overview) |
| **Views** | Coralogix Views allow you to save and organize filtered data queries for fast access and shared analysis. | [View folders](https://docs.coralogix.com/api-reference/v5/folders-for-views-service/overview)
[Views](https://docs.coralogix.com/api-reference/v5/views-service/overview) |
# Setup kubernetes complete observability integration
Source: https://docs.coralogix.com/setup_kubernetes_complete_observability_integration
# Use case: Setup Kubernetes Complete Observability integration
Coralogix’s Kubernetes Complete Observability provides a comprehensive solution for full-stack observability in your Kubernetes environment. View all of your nodes, pods and cluster metrics, pod logs, and k8s events, as well as your distributed traces pipeline. Take advantage of our Kubernetes Dashboard using our pre-configured OpenTelemetry Collector.
## Prerequisites
* A Coralogix **Send-Your-Data API key**
* **Helm v3.9+** installed and configured
* Your [Coralogix domain](https://coralogix.com/docs/user-guides/account-management/account-settings/coralogix-domain/) (e.g., `eu2.coralogix.com`)
* A Kubernetes secret named `coralogix-keys`, that includes the key `PRIVATE_KEY`.
If not already created, run:
```json theme={null}
kubectl create secret generic coralogix-keys --from-literal=PRIVATE_KEY=""
```
## Steps
**Step 1: Install the Helm Chart for the Integration**
```json theme={null}
helm repo add coralogix https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
helm repo update
```
Run the following command to deploy the integration. Make sure that you replace the `` with your cluster name and `` with your Coralogix domain.
```json theme={null}
helm upgrade --install otel-coralogix-integration coralogix/otel-integration --version=0.0.166 --render-subchart-notes --set global.domain="" --set global.clusterName=""
```
**Step 2: Obtain your API key ID**
Navigate to **Settings → Keys** to download the details of the Send-Your-Data API key you choose to use for this integration.
Open the downloaded file and extract the `keyId` field value.
**Step 3: Register the Integration via API**
Use the following HTTP request to persist the integration metadata:
**POST** `/v1/integrations/metadata`
**Request Body**
```json theme={null}
{
"integrationKey": "otel-agent-k8s",
"version": "0.0.166",
"specificData": {
"$case": "integrationParameters",
"integrationParameters": {
"parameters": [
{
"key": "CollectorName",
"value": {
"$case": "stringValue",
"stringValue": "otel-collector-for-k8s"
}
},
{
"key": "ApplicationName",
"value": {
"$case": "stringValue",
"stringValue": "otel"
}
},
{
"key": "SubsystemName",
"value": {
"$case": "stringValue",
"stringValue": "integration"
}
},
{
"key": "PrivateKey",
"value": {
"$case": "apiKey",
"apiKey": {
"id": ""
}
}
},
{
"key": "LogsCollection",
"value": {
"$case": "booleanValue",
"booleanValue": true
}
}
]
}
}
}
```
**Sample response**
```json theme={null}
{
"integrationId": "07867979-55e5-4c73-8c54-474cd2f54124"
}
```
# Get contextual data integration definition
Source: https://docs.coralogix.com/api-reference/v5/contextual-data-integration-service/get-contextual-data-integration-definition
openapi_v5.yaml get /integrations/contextual-data/v1/definitions/{id}
Returns the definition for the specified contextual data integration type.
Requires the following permissions:
- `contextual-data:ReadConfig`
# Get contextual data integration details
Source: https://docs.coralogix.com/api-reference/v5/contextual-data-integration-service/get-contextual-data-integration-details
openapi_v5.yaml get /integrations/contextual-data/v1/{id}
Returns the details of the specified contextual data integration.
Requires the following permissions:
- `contextual-data:ReadConfig`
# Save contextual data integration
Source: https://docs.coralogix.com/api-reference/v5/contextual-data-integration-service/save-contextual-data-integration
openapi_v5.yaml post /integrations/contextual-data/v1
Creates a new contextual data integration.
Requires the following permissions:
- `contextual-data:UpdateConfig`
# Test contextual data integration
Source: https://docs.coralogix.com/api-reference/v5/contextual-data-integration-service/test-contextual-data-integration
openapi_v5.yaml post /integrations/contextual-data/v1/test/{integration_id}
Tests the specified contextual data integration.
Requires the following permissions:
- `contextual-data:UpdateConfig`
# Update contextual data integration
Source: https://docs.coralogix.com/api-reference/v5/contextual-data-integration-service/update-contextual-data-integration
openapi_v5.yaml put /integrations/contextual-data/v1
Updates an existing contextual data integration.
Requires the following permissions:
- `contextual-data:UpdateConfig`
# Create Custom Enrichments
Source: https://docs.coralogix.com/api-reference/v5/custom-enrichments-service/create-custom-enrichments
openapi_v5.yaml post /enrichment-rules/custom-enrichment-rules/v1
Creates a new custom enrichment rule.
# Delete Custom Enrichments
Source: https://docs.coralogix.com/api-reference/v5/custom-enrichments-service/delete-custom-enrichments
openapi_v5.yaml delete /enrichment-rules/custom-enrichment-rules/v1/{id}
Deletes the custom enrichment rule with the specified ID.
# Get Custom Enrichment
Source: https://docs.coralogix.com/api-reference/v5/custom-enrichments-service/get-custom-enrichment
openapi_v5.yaml get /enrichment-rules/custom-enrichment-rules/v1/{id}
Returns the details of the specified custom enrichment rule.
# Get Custom Enrichments
Source: https://docs.coralogix.com/api-reference/v5/custom-enrichments-service/get-custom-enrichments
openapi_v5.yaml get /enrichment-rules/custom-enrichment-rules/v1
Returns all custom enrichment rules.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/custom-enrichments-service/overview
# Custom enrichments service overview
The Custom Enrichment service enables users to manage and query custom enrichment rules, which augment log and event data with external metadata. Using this service, you can create enrichments by uploading data files (e.g., CSV or binary formats), associate them with a name and optional description, and retrieve or modify their configuration. You can also list all enrichments, search enrichment contents by name or ID, and delete them. This functionality allows for tailored, organization-specific enrichment workflows that enhance observability and context in Coralogix logs and metrics pipelines.
# Search Custom Enrichment Data
Source: https://docs.coralogix.com/api-reference/v5/custom-enrichments-service/search-custom-enrichment-data
openapi_v5.yaml post /enrichment-rules/custom-enrichment-rules/v1/all/contents
Returns the contents of all custom enrichment data.
# Update Custom Enrichment
Source: https://docs.coralogix.com/api-reference/v5/custom-enrichments-service/update-custom-enrichment
openapi_v5.yaml put /enrichment-rules/custom-enrichment-rules/v1
Updates a custom enrichment rule.
# Create a dashboard folder
Source: https://docs.coralogix.com/api-reference/v5/dashboard-folders-service/create-a-dashboard-folder
openapi_v5.yaml post /dashboards/folders/v1
Creates a new dashboard folder.
Requires the following permissions:
- `team-dashboards:Update`
# Delete a dashboard folder
Source: https://docs.coralogix.com/api-reference/v5/dashboard-folders-service/delete-a-dashboard-folder
openapi_v5.yaml delete /dashboards/folders/v1/{folder_id}
Deletes the dashboard folder with the specified ID.
Requires the following permissions:
- `team-dashboards:Update`
# Get a dashboard folder
Source: https://docs.coralogix.com/api-reference/v5/dashboard-folders-service/get-a-dashboard-folder
openapi_v5.yaml get /dashboards/folders/v1/{folder_id}
Returns a dashboard folder data.
Requires the following permissions:
- `team-dashboards:Read`
# List dashboard folders
Source: https://docs.coralogix.com/api-reference/v5/dashboard-folders-service/list-dashboard-folders
openapi_v5.yaml get /dashboards/folders/v1
List all dashboard folders accessible.
Requires the following permissions:
- `team-dashboards:Read`
# Overview
Source: https://docs.coralogix.com/api-reference/v5/dashboard-folders-service/overview
# Dashboard folders service overview
The Dashboard folders service organizes dashboards into folders. Folders are flat by default but support a nested structure through `parent_id` references; a folder's full path is exposed as a `FolderPath` (an ordered list of name segments). Use this service to list every folder the caller can see, fetch a single folder by id, and create / replace / delete folders.
For attaching a dashboard to a folder, see [`POST /dashboards/dashboards/v1/{dashboard_id}/folder`](../dashboard-service/overview#endpoints) on the Dashboard service. For user-facing folder concepts, see the [Custom Dashboards user guide](https://coralogix.com/docs/user-guides/custom-dashboards/getting-started/).
## Authentication and permissions
To use the Dashboard folders service API you need to [create a personal or team API key](https://coralogix.com/docs/user-guides/account-management/api-keys/api-keys/). It's recommended to use permission presets, as they are automatically updated with all relevant permissions. Alternatively, you can manually add the following individual permissions.
| Presets | Permission | Description |
| ---------- | ------------------------ | ----------------------------------------------------- |
| Dashboards | `team-dashboards:Read` | Grants access to read team-dashboards |
| | `team-dashboards:Update` | Required to create, update, or delete team-dashboards |
## Common error response codes
| Status Code | Description |
| --------------------------- | ----------------- |
| `400 Bad Request` | Response code 400 |
| `401 Unauthorized` | Response code 401 |
| `500 Internal Server Error` | Response code 500 |
## Endpoints
| Method | Path | Summary |
| -------- | ------------------------------------ | -------------------------- |
| `GET` | `/dashboards/folders/v1` | List dashboard folders |
| `POST` | `/dashboards/folders/v1` | Create a dashboard folder |
| `PUT` | `/dashboards/folders/v1` | Replace a dashboard folder |
| `GET` | `/dashboards/folders/v1/{folder_id}` | Get a dashboard folder |
| `DELETE` | `/dashboards/folders/v1/{folder_id}` | Delete a dashboard folder |
## Folder payload
The `DashboardFolder` message is small and flat:
| Field | Type | Notes |
| ----------- | -------- | ----------------------------------------------------------------------- |
| `id` | `string` | Unique identifier. |
| `name` | `string` | Display name. |
| `parent_id` | `string` | Optional parent folder id. Omit (or leave null) for a top-level folder. |
## Folder hierarchy (`FolderPath`)
Where the dashboard payload itself references a folder, you can supply either:
* **`folder_id`** — an existing folder's id, *or*
* **`folder_path`** — a `FolderPath` with `segments`, an ordered list of folder names from the root down to the target folder. `folder_id` and `folder_path` are mutually exclusive.
A `FolderPath` is useful for declarative dashboard payloads where the destination folder may be created on the fly. The path is positional, not name-mangled — duplicates of a name at different depths are distinct paths.
# Replace a dashboard folder
Source: https://docs.coralogix.com/api-reference/v5/dashboard-folders-service/replace-a-dashboard-folder
openapi_v5.yaml put /dashboards/folders/v1
Replaces an existing dashboard folder.
Requires the following permissions:
- `team-dashboards:Update`
# Add dashboard to favorites
Source: https://docs.coralogix.com/api-reference/v5/dashboard-service/add-dashboard-to-favorites
openapi_v5.yaml put /dashboards/pinned/v1/{dashboard_id}
Pins the specified dashboard.
Requires the following permissions:
- `team-dashboards:Read`
# Assign a dashboard to a folder
Source: https://docs.coralogix.com/api-reference/v5/dashboard-service/assign-a-dashboard-to-a-folder
openapi_v5.yaml post /dashboards/dashboards/v1/{dashboard_id}/folder
Assigns the dashboard to a folder.
Requires the following permissions:
- `team-dashboards:Update`
# Create a new dashboard
Source: https://docs.coralogix.com/api-reference/v5/dashboard-service/create-a-new-dashboard
openapi_v5.yaml post /dashboards/dashboards/v1
Creates a new dashboard.
Requires the following permissions:
- `team-dashboards:Update`
# Delete a dashboard
Source: https://docs.coralogix.com/api-reference/v5/dashboard-service/delete-a-dashboard
openapi_v5.yaml delete /dashboards/dashboards/v1/{dashboard_id}
Deletes the dashboard with the specified ID.
Requires the following permissions:
- `team-dashboards:Update`
# Get a dashboard
Source: https://docs.coralogix.com/api-reference/v5/dashboard-service/get-a-dashboard
openapi_v5.yaml get /dashboards/dashboards/v1/{dashboard_id}
Returns the details of the specified dashboard.
Requires the following permissions:
- `team-dashboards:Read`
# Get a dashboard by URL slug
Source: https://docs.coralogix.com/api-reference/v5/dashboard-service/get-a-dashboard-by-url-slug
openapi_v5.yaml get /dashboards/dashboards/v1/slugs/lookup/{slug}
Returns the dashboard associated with the specified slug.
Requires the following permissions:
- `team-dashboards:Read`
# Get dashboard catalog
Source: https://docs.coralogix.com/api-reference/v5/dashboard-service/get-dashboard-catalog
openapi_v5.yaml get /dashboards/dashboards/v1/catalog/list
Get a list of all dashboards accessible.
Requires the following permissions:
- `team-dashboards:Read`
# Overview
Source: https://docs.coralogix.com/api-reference/v5/dashboard-service/overview
# Dashboard service overview
The Dashboard service API manages Coralogix dashboards: it lets you create, retrieve, update, delete, and organize dashboards, pin them to favorites, and look up a catalog of every dashboard the caller can see. A *dashboard* is a JSON payload describing a `Layout` of `Section`s, each containing `Row`s of `Widget`s, parameterized by `Variable`s and annotated with `Annotation`s. The same payload is consumed by Create and Replace operations and returned by Get.
This overview describes:
* The 10 endpoints exposed by the Dashboards service (CRUD + pinning + slug lookup + folder assignment + catalog).
* The structure of the dashboard payload (`Dashboard` message and its components).
* The widget, variable, filter, annotation, and action types that compose a dashboard.
For user-facing concept introductions and step-by-step tutorials, see the [Custom Dashboards user guide](https://coralogix.com/docs/user-guides/custom-dashboards/getting-started/).
## Authentication and permissions
To use the Dashboard service API you need to [create a personal or team API key](https://coralogix.com/docs/user-guides/account-management/api-keys/api-keys/). It's recommended to use permission presets, as they are automatically updated with all relevant permissions. Alternatively, you can manually add the following individual permissions.
| Presets | Permission | Description |
| ---------- | ------------------------ | ----------------------------------------------------- |
| Dashboards | `team-dashboards:Read` | Grants access to read team-dashboards |
| | `team-dashboards:Update` | Required to create, update, or delete team-dashboards |
## Common error response codes
| Status Code | Description |
| --------------------------- | ----------------- |
| `400 Bad Request` | Response code 400 |
| `401 Unauthorized` | Response code 401 |
| `500 Internal Server Error` | Response code 500 |
## Endpoints
### Dashboards (CRUD, pinning, slug, folder assignment)
| Method | Path | Summary |
| -------- | -------------------------------------------------- | ------------------------------- |
| `POST` | `/dashboards/dashboards/v1` | Create a new dashboard |
| `PUT` | `/dashboards/dashboards/v1` | Replace a dashboard |
| `GET` | `/dashboards/dashboards/v1/{dashboard_id}` | Get a dashboard |
| `DELETE` | `/dashboards/dashboards/v1/{dashboard_id}` | Delete a dashboard |
| `GET` | `/dashboards/dashboards/v1/slugs/{slug}` | Get a dashboard by URL slug |
| `PUT` | `/dashboards/dashboards/v1/{dashboard_id}/default` | Replace the default dashboard |
| `POST` | `/dashboards/dashboards/v1/{dashboard_id}/folder` | Assign a dashboard to a folder |
| `PUT` | `/dashboards/pinned/v1/{dashboard_id}` | Add dashboard to favorites |
| `DELETE` | `/dashboards/pinned/v1/{dashboard_id}` | Remove dashboard from favorites |
### Dashboard catalog
| Method | Path | Summary |
| ------ | ----------------------------------- | --------------------- |
| `GET` | `/dashboards/dashboards/v1/catalog` | Get dashboard catalog |
The catalog endpoint mirrors the [Manage dashboard catalog](https://coralogix.com/docs/user-guides/custom-dashboards/tutorials/manage-dashboard-catalog/) tutorial on the user-guide side.
For folder operations (list, get, create, replace, delete), see the [Dashboard folders service](../dashboard-folders-service/overview).
## Dashboard payload
The `Dashboard` message is the unit accepted by Create / Replace and returned by Get. Required fields: `name` and `layout`. All other fields are optional.
| Field | Type | Notes |
| ---------------------------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `id` | `string` | A unique identifier of the dashboard. |
| `name` | `string` | **Required.** Display name. |
| `description` | `string` | Optional summary of the dashboard's purpose. |
| `slug_name` | `string` | Optional alias used by `GET /slugs/{slug}`. |
| `layout` | `Layout` | **Required.** Sections, rows, and widgets — see [Layout](#layout). |
| `variables_v2` | `[VariableV2]` | Dashboard parameterization — see [Variables (V2)](#variables-v2). The legacy `variables` field is deprecated. |
| `variables` | `[Variable]` | *Deprecated.* Use `variables_v2`. See [Variables (V1, deprecated)](#variables-v1-deprecated). |
| `filters` | `[Filter]` | Dashboard-wide filters — see [Filters](#filters). |
| `annotations` | `[Annotation]` | Dashboard-wide event annotations — see [Annotations](#annotations). |
| `actions` | `[DashboardAction]` | Public actions available within the dashboard — see [Actions](#actions). |
| `folder_id` or `folder_path` | `string` / `FolderPath` | Mutually exclusive. Either reference an existing folder by id, or supply a `FolderPath` (list of segments) to place the dashboard. |
| `time_frame` | `oneof` | `absolute_time_frame` (`{from, to}` timestamps) or `relative_time_frame` (a duration relative to "now"). See [Time frame](#time-frame). |
| `auto_refresh` | `oneof` | One of: `off`, `one_minute`, `two_minutes`, `five_minutes`, `fifteen_minutes`. See the [Auto-refresh](https://coralogix.com/docs/user-guides/custom-dashboards/tutorials/auto-refresh/) tutorial on the user-guide side. |
For broader product context, see [Manage dashboard settings](https://coralogix.com/docs/user-guides/custom-dashboards/tutorials/manage-dashboard-settings/).
## Layout
A `Layout` is an ordered list of `Section`s. Each `Section` contains an ordered list of `Row`s, and each `Row` contains an ordered list of `Widget`s. The hierarchy is fixed at three levels: `Layout → Section → Row → Widget`.
For the user-facing concept and UI walkthrough, see the [Sections](https://coralogix.com/docs/user-guides/custom-dashboards/tutorials/sections/) tutorial.
### Section
| Field | Type | Notes |
| --------- | ---------------- | ------------------------------------------------------- |
| `id` | `UUID` | Section's unique identifier. |
| `rows` | `[Row]` | Rows in the section. |
| `options` | `SectionOptions` | A `oneof` over `internal` (system-managed) or `custom`. |
`CustomSectionOptions` carries: `name`, `description`, `collapsed` (boolean), `color` (a `SectionPredefinedColor` enum: cyan / green / blue / purple / magenta / pink / orange), and optionally a `repetitive_var` (a variable name that turns the section into a repeating block — one rendered copy per selected value of that variable).
### Row
| Field | Type | Notes |
| ------------------- | ---------- | ------------------------------------------------------------------------------ |
| `id` | `UUID` | Row's unique identifier. |
| `appearance.height` | `int32` | Height multiplier — `1` = one unit of base height, `2` = two units, and so on. |
| `widgets` | `[Widget]` | Widgets to render side-by-side in this row. |
## Widgets
A `Widget` carries either a `definition` (an inline widget configuration) **or** a `reference` (a `WidgetReference` pointing at a widget defined on another dashboard). The two are mutually exclusive — the backend rejects payloads that set both or neither.
| Field | Type | Notes |
| ------------- | ------------------- | ------------------------------------------------------------------------------------------------ |
| `id` | `UUID` | Widget's unique identifier. |
| `title` | `string` | Display name. |
| `description` | `string` | Optional caption. |
| `definition` | `Widget.Definition` | A `oneof` over the 9 widget types listed below. |
| `reference` | `WidgetReference` | Alternative to `definition` (see [Cross-dashboard widget reuse](#cross-dashboard-widget-reuse)). |
For user-facing widget creation walkthroughs, see [Add monitoring data to widgets](https://coralogix.com/docs/user-guides/custom-dashboards/tutorials/add-monitoring-data-to-custom-dashboard-widgets/) and the [getting-started guide](https://coralogix.com/docs/user-guides/custom-dashboards/getting-started/#add-new-widgets).
### Cross-dashboard widget reuse
A `WidgetReference` re-renders a widget defined on a different dashboard:
| Field | Type | Notes |
| -------------- | -------- | ------------------------------------------------ |
| `dashboard_id` | `string` | ID of the dashboard that owns the source widget. |
| `widget_id` | `UUID` | ID of the widget within that dashboard. |
Use a reference when you want a widget to appear on multiple dashboards without copying its definition; updates to the source widget propagate to every dashboard that references it.
## Widget catalog
Each widget's `definition` is a `oneof` over the variants below. Every chart accepts a query over one of four data sources — Logs (Lucene), Spans (Lucene), Metrics (PromQL), or DataPrime — except `Markdown`, which carries no query. For the full field set per widget (color schemes, legend, axis bounds, units, etc.), see the corresponding schema in `openapi_v5.yaml`.
| Widget | Purpose |
| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `LineChart` | Time-series lines; supports multi-query overlays via `query_definitions`. |
| `BarChart` | Vertical bars; single-query. |
| `HorizontalBarChart` | Horizontal-orientation bars; mirrors `BarChart` with axis-handling differences. |
| `PieChart` | Pie or donut chart; single-query. |
| `Gauge` | Single-value gauge with min/max range and threshold bands. |
| `Hexagon` | Single-value hex cell, typically used in a hex grid. |
| `DataTable` | Tabular renderer with developer-defined columns; for the dynamic-table variant use `Dynamic widget`. |
| `Markdown` | Static prose panel; no query. |
| `Dynamic widget` | Query-driven widget that picks its renderer at runtime via `interpretation` + `visualization` — see [Build a dynamic table widget](https://coralogix.com/docs/user-guides/custom-dashboards/tutorials/build-a-dynamic-table-widget/). The legacy `query` field is deprecated; populate `query_definitions` only. |
## Variables (V1, deprecated)
The `Dashboard.variables` field uses the **V1** variable model (proto package `variables`). It is deprecated; new dashboards should populate `variables_v2` instead (see [Variables (V2)](#variables-v2)).
For user-facing variable concepts and UI walkthroughs, see [Create and manage variables](https://coralogix.com/docs/user-guides/custom-dashboards/tutorials/create-and-manage-variables/).
A V1 `Variable` has `name`, optional `display_name` / `description`, a `display_type` (`VariableDisplayType` enum), and a `Definition`. The `Definition.value` is a `oneof` over:
* **`Constant`** — *(deprecated within V1)* a single fixed value.
* **`MultiSelect`** — a value selected from a list, sourced from one of: a logs path (`LogsPathSource`), a metric label (`MetricLabelSource`), a constant list (`ConstantListSource`), a span field (`SpanFieldSource`), or an arbitrary query (`QuerySource`). Supports `selection` (single or multi-value), an `OrderDirection`, and `VariableSelectionOptions`.
V1 schemas remain in the spec for backward compatibility with existing dashboards. The `MultiSelect.selected` field within V1 is also marked deprecated — current dashboards encode the user's selection through `VariableSelectionOptions` and the consuming UI.
## Variables (V2)
Variables let a dashboard accept user-supplied or query-derived values that are substituted into widget queries at view time. The dashboard payload carries the **V2** variable model (proto package `com.coralogixapis.dashboards.v1.ast.variables_v2`); the older V1 model (`Variable` / `Variable.Definition` / `VariableDefinitionConstant` / `VariableDefinitionMultiSelect`) is still present in the spec for backward compatibility — see [Variables (V1, deprecated)](#variables-v1-deprecated).
A `VariableV2` carries: a unique `id` (UUID), `name`, optional `display_name` and `description`, a `display_type` (`VariableDisplayTypeV2` enum — values in the collapsible below), a `source` that produces candidate values, a `value` selection, and a `display_full_row` toggle.
### Source (`VariableSourceV2`)
A `oneof` over three variants:
* **`QuerySource`** — values come from a Coralogix query against logs, spans, metrics, or DataPrime. Carries a `refresh_strategy`, `value_display_options` (label/value regex), and an `all_option`.
* **`StaticSource`** — values are an inline list (with an `all_option`).
* **`TextboxSource`** — value is free-form text entered in the dashboard UI.
`QuerySource` has four sub-variants matching its data source: `LogsQuery`, `SpansQuery`, `MetricsQuery`, `DataprimeQuery` (openapi schema names: `VariableSourceV2QuerySourceLogsQuery`, `…SpansQuery`, `…MetricsQuery`, `…DataprimeQuery`).
### Value (`VariableValueV2`)
A `oneof` over six variants (proto names):
* `SingleStringValue`
* `SingleNumericValue`
* `MultiStringValue` — wraps either an `AllValue`, a `ListValue`, or a `SelectedAllValue`
* `LuceneQueryValue`
* `RegexValue`
* `IntervalValue`
VariableDisplayTypeV2
| Value |
| -------------------------------------- |
| `VARIABLE_DISPLAY_TYPE_V2_UNSPECIFIED` |
| `VARIABLE_DISPLAY_TYPE_V2_LABEL_VALUE` |
| `VARIABLE_DISPLAY_TYPE_V2_VALUE` |
| `VARIABLE_DISPLAY_TYPE_V2_NOTHING` |
For the full message structure, see the `VariableV2`, `VariableSourceV2.*`, `VariableValueV2.*`, and `VariableDisplayTypeV2` schemas in `openapi_v5.yaml`. For user-facing variable usage, see [Create and manage variables](https://coralogix.com/docs/user-guides/custom-dashboards/tutorials/create-and-manage-variables/).
## Filters
A `Filter` constrains the data that widgets render. Each filter has:
| Field | Type | Notes |
| -------------- | -------------------- | ---------------------------------------------------------------- |
| `id` | `UUID` | Filter's unique identifier. |
| `display_name` | `string` | Optional UI label. |
| `enabled` | `boolean` | Whether the filter currently applies. |
| `collapsed` | `boolean` | UI hint — whether the filter chip renders collapsed or expanded. |
| `source` | `Filter.Source` | A `oneof` over `LogsFilter`, `SpansFilter`, or `MetricsFilter`. |
| `scope` | `Filter.WidgetScope` | Which widgets the filter targets. |
`Filter.WidgetScope` is a `oneof` over:
* **`AllWidgets`** — the filter applies to every widget on the dashboard.
* **`SpecificWidgets`** — the filter applies only to the listed `widget_ids`.
Each `Source` variant carries source-appropriate fields (e.g., `LogsFilter` carries `field`, `operator`, and `observation_field`). For the full per-source field list, see the `Filter.LogsFilter`, `Filter.SpansFilter`, and `Filter.MetricsFilter` schemas in `openapi_v5.yaml`.
## Annotations
Annotations mark significant events on dashboard widgets — for example, deploys, incidents, or business milestones — so they appear as overlays on charts that match their scope. An annotation is sourced from a Coralogix query, manual input, or a recurring event, and can be scoped to all widgets on the dashboard or a specific set.
For user-facing concept and creation walkthrough, see [Create annotations](https://coralogix.com/docs/user-guides/custom-dashboards/tutorials/create-annotations/).
An `Annotation` message has:
* `id` — unique identifier
* `name` — display name
* `description` — optional description
* `enabled` — boolean toggle
* `source` — where the events come from (see below)
* `scope` — which widgets the annotation overlays
* `color` — an `AnnotationColor` enum value
### Source (`Annotation.Source`)
A `oneof` over six source types:
* **`MetricsSource`** — events from a PromQL query (`promql_query`). Carries a `Strategy` (currently `StartTimeMetric` — uses the first data point's value as the annotation timestamp), a `message_template`, label list, `AnnotationOrientation`, and an `IntervalResolution`.
* **`LogsSource`** — events from a Lucene logs query (`lucene_query`). The strategy is a `oneof` over `Instant` (single timestamp field), `Range` (start + end timestamp fields), and `Duration` (start timestamp + duration field). Supports `label_fields` and `DataModeType`.
* **`SpansSource`** — same shape as `LogsSource` but over spans.
* **`DataprimeSource`** — events from a DataPrime query (`query`) with the same Instant/Range/Duration strategy variants.
* **`ManualSource`** — manually configured events with an `Instant` (single `value` + `Unit`) or `Range` (`start_value` / `end_value` + `Unit`) strategy. Optional `custom_unit`, `message_template`, and `AnnotationOrientation`.
* **`EventRecurrenceSource`** — events from a recurring schedule. Currently only `WeeklyRecurrence` (with selectable `days_of_week` from a `Weekday` enum) is supported, paired with an `Instant` (start hour) or `Duration` (start hour + length) strategy.
### Scope — `Annotation.WidgetScope` (v5 only)
`Annotation.WidgetScope` is a `oneof` over:
* **`AllWidgets`** — annotation overlays every widget on the dashboard.
* **`SpecificWidgets`** — annotation overlays only the listed `widget_ids`.
Earlier spec versions (`v3`, `v4`) do not scope annotations to specific widgets — that surface is v5-only. (A separate top-level `WidgetScope` family exists in `v3` and `v4` for `Filter` scoping; it's unrelated to annotations.)
### Events (`AnnotationEvent`)
When the dashboard renders an annotation, each emitted event is either:
* **`Instant`** — a point in time with `timestamp`, `labels`, and `payload`.
* **`Range`** — a span with `start`, `end`, `labels`, and `payload`.
### Related types
* `AnnotationColor` *(enum)* — color the annotation renders with.
* `AnnotationOrientation` *(enum)* — vertical / horizontal placement for metrics-sourced annotations.
### Widget-side: filtering an annotation's series
`AnnotationSeriesVisibility` is **not** part of the `Annotation` message — it's defined alongside the widget-level `SeriesVisibility` schema. It's an entry inside a widget's `SeriesVisibility.annotation_series` list, with `annotation_id`, a `SeriesVisibilityMode` (`HIDE_ALL` / `SHOW_ONLY`), and a `series_names` list. Use it on the widget side to control which series of an already-defined annotation render on that widget.
For the full message structure, see the `Annotation` and `Annotation.Source.*` schema families in `openapi_v5.yaml`.
## Time frame
The dashboard's time frame is a `oneof`:
* **`absolute_time_frame`** — a `TimeFrame` with `from` and `to` protobuf `Timestamp`s. Fixed start and end times.
* **`relative_time_frame`** — a `google.protobuf.Duration` interpreted as an offset from "now."
A dashboard-level time frame applies to every widget by default. Individual widgets (for example, the Dynamic widget) can override the dashboard time frame on a per-widget basis.
For the user-facing time-interval picker UI, see [Configure time interval](https://coralogix.com/docs/user-guides/custom-dashboards/tutorials/configure-time-interval/).
## Actions
The dashboard payload carries `actions` as a list of `DashboardAction` — publicly available actions a viewer can trigger from a dashboard or one of its widgets.
| Field | Type | Notes |
| --------------------------- | ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id` | `string` | A unique identifier of the action. |
| `name` | `string` | Display name. |
| `should_open_in_new_window` | `boolean` | Whether the action opens in a new tab/window. |
| `widget_id` | `string` *(optional)* | Scopes the action to a specific widget. Null = dashboard-wide. |
| `query_id` | `string` *(optional)* | Scopes the action to a specific query within a widget. Null = widget-wide or dashboard-wide. |
| `definition` | `ActionDefinition` | A `oneof` over `CustomAction` (a URL template with `{{variable_name}}` placeholders) or `GoToDashboardTemplateAction` (`dashboard_id` of the target dashboard). |
| `data_source` | `ActionDataSourceType` *(optional)* | One of `LOGS`, `SPANS`, `METRICS`, `DATAPRIME`. |
The `Custom URL` template supports variable substitution: any `{{variable_name}}` in the URL is replaced with the matching variable's resolved value when the user clicks the action.
> **Note:** A separate, older `Action` message exists in the spec but is marked deprecated. The proto file describes it as "Unused dormant model that was part of plans of the product team, however it is now on hold. Recommended to not use this model or rely on it in any way." Always use `DashboardAction` for the `Dashboard.actions` field.
## Constants
This service references a number of enum types across query, display, variable, and identity schemas. For the full value list of each enum, see `#/components/schemas/` in `openapi_v5.yaml`. Notable enums:
* **Query and data source:** `ActionDataSourceType`, `DataModeType`, `LogSeverityLevel`, `PromQLQueryType`, `SpanRelationType`, `MetricField`, `MetricAggregationType`, `DimensionField`, `DimensionAggregationType`, `MetadataField`, `DatasetScope`, `MetricsQueryEditorMode`, `Aggregation`, `AggregationType`, `SortByType`, `OrderDirection`.
* **Display and layout:** `VariableDisplayType`, `RefreshStrategy`, `SelectionType`, `TooltipType`, `StackedLine`, `RowStyle`, `BarValueDisplay`, `LabelSource`, `ScaleType`, `LegendColumn`, `LegendPlacement`, `LegendBy`, `Unit`, `ThresholdBy`, `ThresholdType`, `SectionPredefinedColor`.
* **Identity:** `TokenOriginType`.
# Remove dashboard from favorites
Source: https://docs.coralogix.com/api-reference/v5/dashboard-service/remove-dashboard-from-favorites
openapi_v5.yaml delete /dashboards/pinned/v1/{dashboard_id}
Unpins the specified dashboard.
Requires the following permissions:
- `team-dashboards:Read`
# Replace a dashboard
Source: https://docs.coralogix.com/api-reference/v5/dashboard-service/replace-a-dashboard
openapi_v5.yaml put /dashboards/dashboards/v1
Replaces an existing dashboard.
Requires the following permissions:
- `team-dashboards:Update`
# Replace the default dashboard
Source: https://docs.coralogix.com/api-reference/v5/dashboard-service/replace-the-default-dashboard
openapi_v5.yaml put /dashboards/dashboards/v1/{dashboard_id}/default
Sets the specified dashboard as the default.
Requires the following permissions:
- `team-dashboards:Update`
# Validate a dashboard and return issues
Source: https://docs.coralogix.com/api-reference/v5/dashboard-service/validate-a-dashboard-and-return-issues
openapi_v5.yaml post /dashboards/check/v1
Checks a dashboard definition or an existing dashboard by id and returns validation issues without persisting changes.
Requires the following permissions:
- `team-dashboards:Read`
# Get Daily Usage Evaluation Tokens
Source: https://docs.coralogix.com/api-reference/v5/data-usage-service/get-daily-usage-evaluation-tokens
openapi_v5.yaml post /dataplans/data-usage/v2/daily/evaluation-tokens
Returns daily evaluation token usage data for the specified period.
# Get Daily Usage Processed GBs
Source: https://docs.coralogix.com/api-reference/v5/data-usage-service/get-daily-usage-processed-gbs
openapi_v5.yaml post /dataplans/data-usage/v2/daily/processed-gbs
Returns daily processed gigabytes usage data for the specified period.
# Get Daily Usage Units
Source: https://docs.coralogix.com/api-reference/v5/data-usage-service/get-daily-usage-units
openapi_v5.yaml post /dataplans/data-usage/v2/daily/units
Returns daily units usage data for the specified period.
# Get Data Usage
Source: https://docs.coralogix.com/api-reference/v5/data-usage-service/get-data-usage
openapi_v5.yaml get /dataplans/data-usage/v2
Returns data usage summary for the team.
# Get Data Usage Metrics Export Status
Source: https://docs.coralogix.com/api-reference/v5/data-usage-service/get-data-usage-metrics-export-status
openapi_v5.yaml get /dataplans/data-usage/v2/export-status
Returns the current export status for data usage.
# Get Logs Count
Source: https://docs.coralogix.com/api-reference/v5/data-usage-service/get-logs-count
openapi_v5.yaml get /dataplans/data-usage/v2/logs/count
Returns the log ingestion count for the team.
# Get Spans Count
Source: https://docs.coralogix.com/api-reference/v5/data-usage-service/get-spans-count
openapi_v5.yaml get /dataplans/data-usage/v2/spans/count
Returns the span ingestion count for the team.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/data-usage-service/overview
# Data Usage Service overview
A service to manage data usage metrics.
NB: The `Get logs count`, `Get spans count` and `Get data usage` endpoints return data as a stream of new-line delimited JSON objects.
When you call these endpoints, you must include the `Accept: text/event-stream` header.
## Common error response codes
| Status Code | Description |
| --------------------------- | ----------------- |
| `400 Bad Request` | Response code 400 |
| `401 Unauthorized` | Response code 401 |
| `500 Internal Server Error` | Response code 500 |
## Constants
Pillar
| Value |
| -------------------- |
| `PILLAR_UNSPECIFIED` |
| `PILLAR_METRICS` |
| `PILLAR_LOGS` |
| `PILLAR_SPANS` |
| `PILLAR_BINARY` |
| `PILLAR_PROFILES` |
TcoTier
| Value |
| ---------------------- |
| `TCO_TIER_UNSPECIFIED` |
| `TCO_TIER_LOW` |
| `TCO_TIER_MEDIUM` |
| `TCO_TIER_HIGH` |
| `TCO_TIER_BLOCKED` |
Priority
| Value |
| ---------------------- |
| `PRIORITY_UNSPECIFIED` |
| `PRIORITY_LOW` |
| `PRIORITY_MEDIUM` |
| `PRIORITY_HIGH` |
| `PRIORITY_BLOCKED` |
Severity
| Value |
| ---------------------- |
| `SEVERITY_UNSPECIFIED` |
| `SEVERITY_DEBUG` |
| `SEVERITY_VERBOSE` |
| `SEVERITY_INFO` |
| `SEVERITY_WARNING` |
| `SEVERITY_ERROR` |
| `SEVERITY_CRITICAL` |
Range
| Value |
| --------------------- |
| `RANGE_UNSPECIFIED` |
| `RANGE_CURRENT_MONTH` |
| `RANGE_LAST_30_DAYS` |
| `RANGE_LAST_90_DAYS` |
| `RANGE_LAST_WEEK` |
Resolution
| Value |
| ---------------------------- |
| `RESOLUTION_UNSPECIFIED` |
| `RESOLUTION_ONE_MINUTE` |
| `RESOLUTION_FIVE_MINUTES` |
| `RESOLUTION_FIFTEEN_MINUTES` |
| `RESOLUTION_ONE_HOUR` |
| `RESOLUTION_SIX_HOURS` |
| `RESOLUTION_ONE_DAY` |
| `RESOLUTION_ONE_WEEK` |
GbUnitsRatios
| Value |
| ----------------------------- |
| `GB_UNITS_RATIOS_UNSPECIFIED` |
AggregateBy
| Value |
| -------------------------- |
| `AGGREGATE_BY_UNSPECIFIED` |
| `AGGREGATE_BY_APPLICATION` |
| `AGGREGATE_BY_SUBSYSTEM` |
| `AGGREGATE_BY_PILLAR` |
| `AGGREGATE_BY_PRIORITY` |
Range
| Value |
| --------------------- |
| `RANGE_UNSPECIFIED` |
| `RANGE_CURRENT_MONTH` |
| `RANGE_LAST_30_DAYS` |
| `RANGE_LAST_90_DAYS` |
| `RANGE_LAST_WEEK` |
Pillar
| Value |
| -------------------- |
| `PILLAR_UNSPECIFIED` |
| `PILLAR_METRICS` |
| `PILLAR_LOGS` |
| `PILLAR_SPANS` |
| `PILLAR_BINARY` |
| `PILLAR_PROFILES` |
TcoTier
| Value |
| ---------------------- |
| `TCO_TIER_UNSPECIFIED` |
| `TCO_TIER_LOW` |
| `TCO_TIER_MEDIUM` |
| `TCO_TIER_HIGH` |
| `TCO_TIER_BLOCKED` |
Priority
| Value |
| ---------------------- |
| `PRIORITY_UNSPECIFIED` |
| `PRIORITY_LOW` |
| `PRIORITY_MEDIUM` |
| `PRIORITY_HIGH` |
| `PRIORITY_BLOCKED` |
Severity
| Value |
| ---------------------- |
| `SEVERITY_UNSPECIFIED` |
| `SEVERITY_DEBUG` |
| `SEVERITY_VERBOSE` |
| `SEVERITY_INFO` |
| `SEVERITY_WARNING` |
| `SEVERITY_ERROR` |
| `SEVERITY_CRITICAL` |
Range
| Value |
| --------------------- |
| `RANGE_UNSPECIFIED` |
| `RANGE_CURRENT_MONTH` |
| `RANGE_LAST_30_DAYS` |
| `RANGE_LAST_90_DAYS` |
| `RANGE_LAST_WEEK` |
Priority
| Value |
| ---------------------- |
| `PRIORITY_UNSPECIFIED` |
| `PRIORITY_LOW` |
| `PRIORITY_MEDIUM` |
| `PRIORITY_HIGH` |
| `PRIORITY_BLOCKED` |
# Update Data Usage Metrics Export Status
Source: https://docs.coralogix.com/api-reference/v5/data-usage-service/update-data-usage-metrics-export-status
openapi_v5.yaml post /dataplans/data-usage/v2/export-status
Triggers a data usage export.
# Add Enrichments
Source: https://docs.coralogix.com/api-reference/v5/enrichments-service/add-enrichments
openapi_v5.yaml post /enrichment-rules/enrichment-rules/v1
Creates new enrichment rules.
# Atomic Overwrite for ALL types of enrichments
Source: https://docs.coralogix.com/api-reference/v5/enrichments-service/atomic-overwrite-for-all-types-of-enrichments
openapi_v5.yaml put /enrichment-rules/enrichment-rules/v1/all
Atomic Overwrite for ALL types of enrichments. The request is the desired state which will override ALL enrichments. WARNING: This operation will delete all existing enrichments and replace them with the provided ones.
# Atomic Overwrite for CustomEnrichments only
Source: https://docs.coralogix.com/api-reference/v5/enrichments-service/atomic-overwrite-for-customenrichments-only
openapi_v5.yaml put /enrichment-rules/enrichment-rules/v1
Updates enrichment rules.
# Delete Enrichments
Source: https://docs.coralogix.com/api-reference/v5/enrichments-service/delete-enrichments
openapi_v5.yaml delete /enrichment-rules/enrichment-rules/v1
Deletes all enrichment rules for the team.
# Get Company Enrichment Settings
Source: https://docs.coralogix.com/api-reference/v5/enrichments-service/get-company-enrichment-settings
openapi_v5.yaml get /enrichment-rules/enrichment-rules/v1/settings
Returns the current enrichment settings for the team.
# Get Enrichment Limit
Source: https://docs.coralogix.com/api-reference/v5/enrichments-service/get-enrichment-limit
openapi_v5.yaml get /enrichment-rules/enrichment-rules/v1/limit
Returns the maximum number of enrichment rules allowed.
# Get Enrichments
Source: https://docs.coralogix.com/api-reference/v5/enrichments-service/get-enrichments
openapi_v5.yaml get /enrichment-rules/enrichment-rules/v1
Returns all enrichment rules for the team.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/enrichments-service/overview
# Enrichment overview
The Enrichment Service allows users to manage rule-based enrichments that dynamically add contextual metadata to log and metric data. It supports operations to create, retrieve, and delete enrichments, as well as view enrichment limits and company-wide settings. Users can add individual enrichments, overwrite enrichments of a specific type atomically, and enforce usage limits. This service is essential for implementing structured enrichment strategies at scale, improving the precision and depth of observability data.
## Available methods
| Method |
| ---------------------------------------------------------------------------------------------------------------------------- |
| [GetEnrichments](https://docs.coralogix.com/api-reference/enrichments-service/get-enrichments) |
| [AddEnrichments](https://docs.coralogix.com/api-reference/enrichments-service/add-enrichments) |
| [DeleteEnrichments](https://docs.coralogix.com/api-reference/enrichments-service/delete-enrichments) |
| [GetEnrichmentLimit](https://docs.coralogix.com/api-reference/enrichments-service/get-enrichment-limit) |
| [AtomicOverwriteEnrichments](https://docs.coralogix.com/api-reference/enrichments-service/atomic-overwrite-enrichments) |
| [GetCompanyEnrichmentSettings](https://docs.coralogix.com/api-reference/enrichments-service/get-company-enrichment-settings) |
# List Entity Subtypes
Source: https://docs.coralogix.com/api-reference/v5/entities-service/list-entity-subtypes
openapi_v5.yaml get /notifications/notification-center/v1/entity-types/{entity_type}/entity-subtypes
Returns all sub-types for the specified entity type.
# List Entity Type Attachment Types
Source: https://docs.coralogix.com/api-reference/v5/entities-service/list-entity-type-attachment-types
openapi_v5.yaml get /notifications/notification-center/v1/entity-types/{entity_type}/attachment-types
Returns all supported attachment types for the specified entity type.
# List Entity Types
Source: https://docs.coralogix.com/api-reference/v5/entities-service/list-entity-types
openapi_v5.yaml get /notifications/notification-center/v1/entity-types
Returns all available notification entity types.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/entities-service/overview
# Entities Service overview
## Constants
OrderByDirection
| Value |
| -------------------------------- |
| `ORDER_BY_DIRECTION_UNSPECIFIED` |
| `ASC` |
| `DESC` |
ConnectorType
| Value |
| ---------------------------- |
| `CONNECTOR_TYPE_UNSPECIFIED` |
| `SLACK` |
| `GENERIC_HTTPS` |
| `PAGERDUTY` |
| `AWS` |
| `IBM_EVENT_NOTIFICATIONS` |
PresetType
| Value |
| ------------------------- |
| `PRESET_TYPE_UNSPECIFIED` |
| `SYSTEM` |
| `CUSTOM` |
TriggerType
| Value |
| -------------------------- |
| `TRIGGER_TYPE_UNSPECIFIED` |
| `MANUAL` |
| `AUTOMATIC` |
FailureReason
| Value |
| ----------------------------------- |
| `FAILURE_REASON_UNSPECIFIED` |
| `INVALID_TEMPLATE` |
| `FIELD_NOT_FOUND` |
| `TEMPLATE_EXCEEDS_MAX_LENGTH` |
| `RENDERED_VALUE_EXCEEDS_MAX_LENGTH` |
# Batch Get Event
Source: https://docs.coralogix.com/api-reference/v5/events-service/batch-get-event
openapi_v5.yaml get /alerts/events/v3/all/list
Returns a list of alert events matching the given filters.
# Get Event
Source: https://docs.coralogix.com/api-reference/v5/events-service/get-event
openapi_v5.yaml get /alerts/events/v3/{id}
Returns the alert event with the specified ID.
# Get Events Statistics
Source: https://docs.coralogix.com/api-reference/v5/events-service/get-events-statistics
openapi_v5.yaml get /alerts/events/v3/all/statistics
Returns statistical aggregates for alert events.
# List Alert Events
Source: https://docs.coralogix.com/api-reference/v5/events-service/list-alert-events
openapi_v5.yaml get /alerts/alerts/v3/all/events
Returns all alert events.
# List Events
Source: https://docs.coralogix.com/api-reference/v5/events-service/list-events
openapi_v5.yaml get /alerts/events/v3
Returns a list of alert events matching the specified filters.
# List Events Count
Source: https://docs.coralogix.com/api-reference/v5/events-service/list-events-count
openapi_v5.yaml get /alerts/events/v3/all/count
Returns the count of alert events matching the given filters.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/events-service/overview
# Events service overview
The Events service in Coralogix provides programmatic access to events generated by alert-driven incidents. When an alert's conditions are met, an incident is triggered, and the system begins producing event notifications to inform users based on the alert's configured notification policy—unless the alert is in phantom mode (silent, no notifications). These events can be retrieved individually or in bulk, filtered by various fields, counted, and analyzed statistically. This service enables downstream systems to monitor alert-driven activity, audit incident behavior, and build custom observability tools.
Learn more about alerts in our [documentation](https://coralogix.com/docs/user-guides/alerting/introduction-to-alerts/).
## Common error response codes
| Status Code | Description |
| --------------------------- | ----------------- |
| `400 Bad Request` | Response code 400 |
| `401 Unauthorized` | Response code 401 |
| `500 Internal Server Error` | Response code 500 |
## Constants
OrderByFields
| Value |
| ----------------------------- |
| `ORDER_BY_FIELDS_UNSPECIFIED` |
| `ORDER_BY_FIELDS_TIMESTAMP` |
OrderByDirection
| Value |
| -------------------------------- |
| `ORDER_BY_DIRECTION_UNSPECIFIED` |
| `ORDER_BY_DIRECTION_ASC` |
| `ORDER_BY_DIRECTION_DESC` |
FilterOperator
| Value |
| ------------------------------------ |
| `FILTER_OPERATOR_AND_OR_UNSPECIFIED` |
| `FILTER_OPERATOR_OR` |
FilterMatcher
| Value |
| ------------------------------------ |
| `FILTER_MATCHER_TEXT_OR_UNSPECIFIED` |
| `FILTER_MATCHER_REGEXP` |
# Atomic Batch Execute E2M
Source: https://docs.coralogix.com/api-reference/v5/events2metrics-service/atomic-batch-execute-e2m
openapi_v5.yaml post /events2metrics/events2metrics/v2/all/execute
Atomically executes a batch of events-to-metrics rules.
# Create a new E2M
Source: https://docs.coralogix.com/api-reference/v5/events2metrics-service/create-a-new-e2m
openapi_v5.yaml post /events2metrics/events2metrics/v2
Creates a new events-to-metrics rule.
# Delete an E2M
Source: https://docs.coralogix.com/api-reference/v5/events2metrics-service/delete-an-e2m
openapi_v5.yaml delete /events2metrics/events2metrics/v2/{id}
Deletes the events-to-metrics rule with the specified ID.
# Get an E2M
Source: https://docs.coralogix.com/api-reference/v5/events2metrics-service/get-an-e2m
openapi_v5.yaml get /events2metrics/events2metrics/v2/{id}
Returns the details of the specified events-to-metrics rule.
# Get E2M Limits
Source: https://docs.coralogix.com/api-reference/v5/events2metrics-service/get-e2m-limits
openapi_v5.yaml get /events2metrics/limits/v2
Returns the events-to-metrics quota limits for the team.
# List E2M Labels Cardinality
Source: https://docs.coralogix.com/api-reference/v5/events2metrics-service/list-e2m-labels-cardinality
openapi_v5.yaml get /events2metrics/labels/v2/cardinalities
Returns cardinality information for events-to-metrics labels.
# List E2Ms
Source: https://docs.coralogix.com/api-reference/v5/events2metrics-service/list-e2ms
openapi_v5.yaml get /events2metrics/events2metrics/v2
Returns all events-to-metrics rules for the team.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/events2metrics-service/overview
# Events2Metrics service overview
Coralogix Events2Metrics transforms log and span events into time-series metrics, allowing teams to build metrics pipelines directly from event data. The API provides complete lifecycle management of E2M definitions, including creation, replacement, retrieval, listing, and deletion. It also supports atomic batch operations to ensure reliable and ordered updates across multiple E2M rules.
## Constants
Severity
| Value |
| ---------------------- |
| `SEVERITY_UNSPECIFIED` |
| `SEVERITY_DEBUG` |
| `SEVERITY_VERBOSE` |
| `SEVERITY_INFO` |
| `SEVERITY_WARNING` |
| `SEVERITY_ERROR` |
| `SEVERITY_CRITICAL` |
E2MType
| Value |
| ------------------------ |
| `E2M_TYPE_UNSPECIFIED` |
| `E2M_TYPE_LOGS2METRICS` |
| `E2M_TYPE_SPANS2METRICS` |
AggType
| Value |
| ---------------------- |
| `AGG_TYPE_UNSPECIFIED` |
| `AGG_TYPE_MIN` |
| `AGG_TYPE_MAX` |
| `AGG_TYPE_COUNT` |
| `AGG_TYPE_AVG` |
| `AGG_TYPE_SUM` |
| `AGG_TYPE_HISTOGRAM` |
| `AGG_TYPE_SAMPLES` |
SampleType
| Value |
| ------------------------- |
| `SAMPLE_TYPE_UNSPECIFIED` |
| `SAMPLE_TYPE_MIN` |
| `SAMPLE_TYPE_MAX` |
# Replace an E2M
Source: https://docs.coralogix.com/api-reference/v5/events2metrics-service/replace-an-e2m
openapi_v5.yaml put /events2metrics/events2metrics/v2
Updates an existing events-to-metrics rule.
# Deploy extension
Source: https://docs.coralogix.com/api-reference/v5/extension-deployment-service/deploy-extension
openapi_v5.yaml put /integrations/extensions/v1/deployed
Deploys an extension.
Requires the following permissions:
- `extensions:Deploy`
# Get deployed extensions
Source: https://docs.coralogix.com/api-reference/v5/extension-deployment-service/get-deployed-extensions
openapi_v5.yaml get /integrations/extensions/v1/deployed
Returns all deployed extensions.
Requires the following permissions:
- `extensions:ReadConfig`
# Overview
Source: https://docs.coralogix.com/api-reference/v5/extension-deployment-service/overview
# Extension deployment service overview
A service that enables querying for extension deployment information.
Find out more about extensions in our [documentation](https://coralogix.com/docs/integrations/extensions/).
## Authentication and permissions
To use the Extension deployment service API you need to [create a personal or team API key](https://coralogix.com/docs/user-guides/account-management/api-keys/api-keys/). It's recommended to use permission presets, as they are automatically updated with all relevant permissions. Alternatively, you can manually add the following individual permissions.
| Presets | Permission | Description |
| ---------- | ----------------------- | -------------------------------- |
| Extensions | `extensions:Deploy` | Access to extensions operations |
| | `extensions:ReadConfig` | Grants access to read extensions |
## Common error response codes
| Status Code | Description |
| --------------------------- | ----------------- |
| `400 Bad Request` | Response code 400 |
| `401 Unauthorized` | Response code 401 |
| `500 Internal Server Error` | Response code 500 |
## Constants
TargetDomain
| Value |
| --------------------- |
| `ACTION` |
| `ALERT` |
| `ENRICHMENT` |
| `GRAFANA_DASHBOARD` |
| `KIBANA_DASHBOARD` |
| `PARSING_RULE` |
| `SAVED_VIEW` |
| `CX_CUSTOM_DASHBOARD` |
| `METRICS_RULE_GROUP` |
| `EVENTS_TO_METRICS` |
| `ALERT_V3` |
BinaryType
| Value |
| -------------------------------- |
| `PREVIEW_IMAGE` |
| `KIBANA_DASHBOARD_DEFINITION` |
| `GRAFANA_DASHBOARD_DEFINITION` |
| `ENRICHMENT_CSV` |
| `CX_CUSTOM_DASHBOARD_DEFINITION` |
PermissionResource
| Value |
| ------------------------------------ |
| `UNKNOWN` |
| `ACTION` |
| `ALERT` |
| `CUSTOM_ENRICHMENT` |
| `GEO_ENRICHMENT` |
| `SECURITY_ENRICHMENT` |
| `RESOURCE_CLOUD_METADATA_ENRICHMENT` |
| `GRAFANA_DASHBOARD` |
| `KIBANA_DASHBOARD` |
| `PARSING_RULE` |
| `SAVED_VIEW` |
| `CX_CUSTOM_DASHBOARD` |
| `METRICS_RULE_GROUP` |
| `SPAN_EVENTS_TO_METRICS` |
| `LOGS_EVENTS_TO_METRICS` |
BinaryType
| Value |
| ---------------------- |
| `KIBANA_INDEX_PATTERN` |
PushBasedPlatform
| Value |
| --------------------- |
| `UNDEFINED` |
| `PLATFORM_BITBUCKET` |
| `PLATFORM_GITHUB` |
| `PLATFORM_GITLAB` |
| `PLATFORM_AWS_SNS` |
| `PLATFORM_OPSGENIE` |
| `PLATFORM_PAGERDUTY` |
| `PLATFORM_PROMETHEUS` |
| `PLATFORM_SLACK` |
| `PLATFORM_INTERCOM` |
ConnectionStatus
| Value |
| ---------------- |
| `PENDING` |
| `ACTIVE` |
| `FAILING` |
| `STATUS_UNKNOWN` |
Variant
| Value |
| --------- |
| `DEFAULT` |
| `GCP` |
| `OAUTH` |
| `CUSTOM` |
InputType
| Value |
| -------------------- |
| `API_KEY` |
| `TEXT` |
| `LIST_TEXT` |
| `MULTIPLE_SELECTION` |
| `BOOLEAN` |
| `SELECT` |
| `JSON` |
| `NUMBER` |
| `SENSITIVE_DATA` |
| `JSON_OBJECT_ARRAY` |
ConditionType
| Value |
| --------- |
| `UNKNOWN` |
| `OR` |
| `AND` |
Language
| Value |
| ------------ |
| `UNKNOWN` |
| `BASH` |
| `JAVASCRIPT` |
WebhookType
| Value |
| ------------------------- |
| `UNKNOWN` |
| `GENERIC` |
| `SLACK` |
| `PAGERDUTY` |
| `SEND_LOG` |
| `EMAIL_GROUP` |
| `MICROSOFT_TEAMS` |
| `JIRA` |
| `OPSGENIE` |
| `DEMISTO` |
| `AWS_EVENT_BRIDGE` |
| `IBM_EVENT_NOTIFICATIONS` |
| `MS_TEAMS_WORKFLOW` |
MethodType
| Value |
| --------- |
| `UNKNOWN` |
| `GET` |
| `POST` |
| `PUT` |
DigestType
| Value |
| ------------------------- |
| `UNKNOWN` |
| `ERROR_AND_CRITICAL_LOGS` |
| `FLOW_ANOMALIES` |
| `SPIKE_ANOMALIES` |
| `DATA_USAGE` |
AttachmentType
| Value |
| ----------------- |
| `EMPTY` |
| `METRIC_SNAPSHOT` |
| `LOGS` |
EndpointType
| Value |
| --------------------------------- |
| `ENDPOINT_TYPE_DEFAULT_OR_PUBLIC` |
| `ENDPOINT_TYPE_PRIVATE` |
# Revert deployment of extension
Source: https://docs.coralogix.com/api-reference/v5/extension-deployment-service/revert-deployment-of-extension
openapi_v5.yaml delete /integrations/extensions/v1/deployed
Undeploys the specified extension.
Requires the following permissions:
- `extensions:Deploy`
# Update extension
Source: https://docs.coralogix.com/api-reference/v5/extension-deployment-service/update-extension
openapi_v5.yaml post /integrations/extensions/v1/deployed
Updates a deployed extension.
Requires the following permissions:
- `extensions:Deploy`
# Get all extensions
Source: https://docs.coralogix.com/api-reference/v5/extension-service/get-all-extensions
openapi_v5.yaml post /integrations/extensions/v1
Creates a new extension.
Requires the following permissions:
- `extensions:ReadConfig`
# Get extension by ID
Source: https://docs.coralogix.com/api-reference/v5/extension-service/get-extension-by-id
openapi_v5.yaml get /integrations/extensions/v1/catalog/{id}
Returns the details of the specified extension.
Requires the following permissions:
- `extensions:ReadConfig`
# Overview
Source: https://docs.coralogix.com/api-reference/v5/extension-service/overview
# Extension service overview
A service that enables querying for extension information.
Learn more about extensions in our [documentation](https://coralogix.com/docs/integrations/extensions/).
## Authentication and permissions
To use the Extension service API you need to [create a personal or team API key](https://coralogix.com/docs/user-guides/account-management/api-keys/api-keys/). It's recommended to use permission presets, as they are automatically updated with all relevant permissions. Alternatively, you can manually add the following individual permissions.
| Presets | Permission | Description |
| ---------- | ----------------------- | -------------------------------- |
| Extensions | `extensions:ReadConfig` | Grants access to read extensions |
## Common error response codes
| Status Code | Description |
| --------------------------- | ----------------- |
| `400 Bad Request` | Response code 400 |
| `401 Unauthorized` | Response code 401 |
| `500 Internal Server Error` | Response code 500 |
## Constants
TargetDomain
| Value |
| --------------------- |
| `ACTION` |
| `ALERT` |
| `ENRICHMENT` |
| `GRAFANA_DASHBOARD` |
| `KIBANA_DASHBOARD` |
| `PARSING_RULE` |
| `SAVED_VIEW` |
| `CX_CUSTOM_DASHBOARD` |
| `METRICS_RULE_GROUP` |
| `EVENTS_TO_METRICS` |
| `ALERT_V3` |
BinaryType
| Value |
| -------------------------------- |
| `PREVIEW_IMAGE` |
| `KIBANA_DASHBOARD_DEFINITION` |
| `GRAFANA_DASHBOARD_DEFINITION` |
| `ENRICHMENT_CSV` |
| `CX_CUSTOM_DASHBOARD_DEFINITION` |
PermissionResource
| Value |
| ------------------------------------ |
| `UNKNOWN` |
| `ACTION` |
| `ALERT` |
| `CUSTOM_ENRICHMENT` |
| `GEO_ENRICHMENT` |
| `SECURITY_ENRICHMENT` |
| `RESOURCE_CLOUD_METADATA_ENRICHMENT` |
| `GRAFANA_DASHBOARD` |
| `KIBANA_DASHBOARD` |
| `PARSING_RULE` |
| `SAVED_VIEW` |
| `CX_CUSTOM_DASHBOARD` |
| `METRICS_RULE_GROUP` |
| `SPAN_EVENTS_TO_METRICS` |
| `LOGS_EVENTS_TO_METRICS` |
BinaryType
| Value |
| ---------------------- |
| `KIBANA_INDEX_PATTERN` |
PushBasedPlatform
| Value |
| --------------------- |
| `UNDEFINED` |
| `PLATFORM_BITBUCKET` |
| `PLATFORM_GITHUB` |
| `PLATFORM_GITLAB` |
| `PLATFORM_AWS_SNS` |
| `PLATFORM_OPSGENIE` |
| `PLATFORM_PAGERDUTY` |
| `PLATFORM_PROMETHEUS` |
| `PLATFORM_SLACK` |
| `PLATFORM_INTERCOM` |
ConnectionStatus
| Value |
| ---------------- |
| `PENDING` |
| `ACTIVE` |
| `FAILING` |
| `STATUS_UNKNOWN` |
Variant
| Value |
| --------- |
| `DEFAULT` |
| `GCP` |
| `OAUTH` |
| `CUSTOM` |
InputType
| Value |
| -------------------- |
| `API_KEY` |
| `TEXT` |
| `LIST_TEXT` |
| `MULTIPLE_SELECTION` |
| `BOOLEAN` |
| `SELECT` |
| `JSON` |
| `NUMBER` |
| `SENSITIVE_DATA` |
| `JSON_OBJECT_ARRAY` |
ConditionType
| Value |
| --------- |
| `UNKNOWN` |
| `OR` |
| `AND` |
Language
| Value |
| ------------ |
| `UNKNOWN` |
| `BASH` |
| `JAVASCRIPT` |
WebhookType
| Value |
| ------------------------- |
| `UNKNOWN` |
| `GENERIC` |
| `SLACK` |
| `PAGERDUTY` |
| `SEND_LOG` |
| `EMAIL_GROUP` |
| `MICROSOFT_TEAMS` |
| `JIRA` |
| `OPSGENIE` |
| `DEMISTO` |
| `AWS_EVENT_BRIDGE` |
| `IBM_EVENT_NOTIFICATIONS` |
| `MS_TEAMS_WORKFLOW` |
MethodType
| Value |
| --------- |
| `UNKNOWN` |
| `GET` |
| `POST` |
| `PUT` |
DigestType
| Value |
| ------------------------- |
| `UNKNOWN` |
| `ERROR_AND_CRITICAL_LOGS` |
| `FLOW_ANOMALIES` |
| `SPIKE_ANOMALIES` |
| `DATA_USAGE` |
AttachmentType
| Value |
| ----------------- |
| `EMPTY` |
| `METRIC_SNAPSHOT` |
| `LOGS` |
EndpointType
| Value |
| --------------------------------- |
| `ENDPOINT_TYPE_DEFAULT_OR_PUBLIC` |
| `ENDPOINT_TYPE_PRIVATE` |
# Create View Folder service
Source: https://docs.coralogix.com/api-reference/v5/folders-for-views-service/create-view-folder-service
openapi_v5.yaml post /data-exploration/views/v1/folders
Create view folder
# Delete View Folder service
Source: https://docs.coralogix.com/api-reference/v5/folders-for-views-service/delete-view-folder-service
openapi_v5.yaml delete /data-exploration/views/v1/folders/{id}
Deletes a view folder by ID
# Get View Folder service
Source: https://docs.coralogix.com/api-reference/v5/folders-for-views-service/get-view-folder-service
openapi_v5.yaml get /data-exploration/views/v1/folders/{id}
Create view folder
# List view folders service
Source: https://docs.coralogix.com/api-reference/v5/folders-for-views-service/list-view-folders-service
openapi_v5.yaml get /data-exploration/views/v1/folders
List view's folders
# Overview
Source: https://docs.coralogix.com/api-reference/v5/folders-for-views-service/overview
# Folders for views service overview
Create and manage view folders.
# Replace View Folder service
Source: https://docs.coralogix.com/api-reference/v5/folders-for-views-service/replace-view-folder-service
openapi_v5.yaml put /data-exploration/views/v1/folders
Replaces an existing view folder
# Batch Get Global Routers
Source: https://docs.coralogix.com/api-reference/v5/global-routers-service/batch-get-global-routers
openapi_v5.yaml get /notifications/notification-center/v1/routers/all/summaries
Returns summary information for all notification routers.
# Create Global Router
Source: https://docs.coralogix.com/api-reference/v5/global-routers-service/create-global-router
openapi_v5.yaml post /notifications/notification-center/v1/routers
Creates a new notification router.
# Delete Global Router
Source: https://docs.coralogix.com/api-reference/v5/global-routers-service/delete-global-router
openapi_v5.yaml delete /notifications/notification-center/v1/routers/{id}
Deletes the notification router with the specified ID.
# Get Global Router
Source: https://docs.coralogix.com/api-reference/v5/global-routers-service/get-global-router
openapi_v5.yaml get /notifications/notification-center/v1/routers/{id}
Returns the details of the specified notification router.
# List Global Routers
Source: https://docs.coralogix.com/api-reference/v5/global-routers-service/list-global-routers
openapi_v5.yaml get /notifications/notification-center/v1/routers
Returns all notification routers for the team.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/global-routers-service/overview
# Global Routers Service overview
## Constants
OrderByDirection
| Value |
| -------------------------------- |
| `ORDER_BY_DIRECTION_UNSPECIFIED` |
| `ASC` |
| `DESC` |
ConnectorType
| Value |
| ---------------------------- |
| `CONNECTOR_TYPE_UNSPECIFIED` |
| `SLACK` |
| `GENERIC_HTTPS` |
| `PAGERDUTY` |
| `AWS` |
| `IBM_EVENT_NOTIFICATIONS` |
PresetType
| Value |
| ------------------------- |
| `PRESET_TYPE_UNSPECIFIED` |
| `SYSTEM` |
| `CUSTOM` |
TriggerType
| Value |
| -------------------------- |
| `TRIGGER_TYPE_UNSPECIFIED` |
| `MANUAL` |
| `AUTOMATIC` |
FailureReason
| Value |
| ----------------------------------- |
| `FAILURE_REASON_UNSPECIFIED` |
| `INVALID_TEMPLATE` |
| `FIELD_NOT_FOUND` |
| `TEMPLATE_EXCEEDS_MAX_LENGTH` |
| `RENDERED_VALUE_EXCEEDS_MAX_LENGTH` |
# Replace Global Router
Source: https://docs.coralogix.com/api-reference/v5/global-routers-service/replace-global-router
openapi_v5.yaml put /notifications/notification-center/v1/routers
Updates an existing notification router.
# Validate Entity Label Matcher
Source: https://docs.coralogix.com/api-reference/v5/global-routers-service/validate-entity-label-matcher
openapi_v5.yaml post /notifications/notification-center/v1/routers/matcher/validate
Validates a notification router matcher configuration.
# Acknowledge incident by event id
Source: https://docs.coralogix.com/api-reference/v5/incidents-service/acknowledge-incident-by-event-id
openapi_v5.yaml post /incidents/events/v1/{event_id}/acknowledge
Mark incident as acknowledged by event id.
Requires the following permissions:
- `incidents:acknowledge`
# Acknowledge incidents
Source: https://docs.coralogix.com/api-reference/v5/incidents-service/acknowledge-incidents
openapi_v5.yaml post /incidents/incidents/v1/all/acknowledge
Mark one or more incidents as acknowledged.
Requires the following permissions:
- `incidents:acknowledge`
# Assign incidents to a user
Source: https://docs.coralogix.com/api-reference/v5/incidents-service/assign-incidents-to-a-user
openapi_v5.yaml post /incidents/incidents/v1/all/by-user
Assign one or more incidents to a specific user.
Requires the following permissions:
- `incidents:assign`
# Close incidents
Source: https://docs.coralogix.com/api-reference/v5/incidents-service/close-incidents
openapi_v5.yaml post /incidents/incidents/v1/all/closed
Closes all incidents matching the given criteria.
Requires the following permissions:
- `incidents:close`
# Get available filter values
Source: https://docs.coralogix.com/api-reference/v5/incidents-service/get-available-filter-values
openapi_v5.yaml post /incidents/filter-values/v1
Returns filter values for incidents based on the provided criteria.
Requires the following permissions:
- `incidents:read`
# Get available incident event filter values
Source: https://docs.coralogix.com/api-reference/v5/incidents-service/get-available-incident-event-filter-values
openapi_v5.yaml get /incidents/filter-values/v1/events
Returns available filter values for incident events.
Requires the following permissions:
- `incidents:read`
# Get incident aggregations
Source: https://docs.coralogix.com/api-reference/v5/incidents-service/get-incident-aggregations
openapi_v5.yaml get /incidents/aggregations/v1
Retrieve aggregated incident data with support for grouping and filtering.
Requires the following permissions:
- `incidents:read`
# Get incident by event ID
Source: https://docs.coralogix.com/api-reference/v5/incidents-service/get-incident-by-event-id
openapi_v5.yaml get /incidents/events/v1/{event_id}
Retrieve detailed information about a single incident by related alert event id.
Requires the following permissions:
- `incidents:read`
# Get incident by ID
Source: https://docs.coralogix.com/api-reference/v5/incidents-service/get-incident-by-id
openapi_v5.yaml get /incidents/incidents/v1/{id}
Retrieve detailed information about a single incident by its unique identifier.
Requires the following permissions:
- `incidents:read`
# Get incident events
Source: https://docs.coralogix.com/api-reference/v5/incidents-service/get-incident-events
openapi_v5.yaml get /incidents/incidents/v1/{incident_id}/events
Retrieve a chronological list of all events associated with a specific incident. Includes state changes, assignments, acknowledgments, and resolutions.
Requires the following permissions:
- `incidents:read`
# Overview
Source: https://docs.coralogix.com/api-reference/v5/incidents-service/overview
# Incidents service overview
Handle all operations related to incident management within Coralogix. Identify, manage, and resolve incidents efficiently through automated workflows and team collaboration.
Find out more about incident management in our [documentation](https://coralogix.com/docs/user-guides/alerting/incidents/).
## Authentication and permissions
To use the Incidents service API you need to [create a personal or team API key](https://coralogix.com/docs/user-guides/account-management/api-keys/api-keys/). It's recommended to use permission presets, as they are automatically updated with all relevant permissions. Alternatively, you can manually add the following individual permissions.
| Presets | Permission | Description |
| --------- | ----------------------- | ------------------------------- |
| Incidents | `incidents:acknowledge` | Access to incidents operations |
| | `incidents:assign` | Access to incidents operations |
| | `incidents:close` | Access to incidents operations |
| | `incidents:read` | Grants access to read incidents |
## Common error response codes
| Status Code | Description |
| --------------------------- | ----------------- |
| `400 Bad Request` | Response code 400 |
| `401 Unauthorized` | Response code 401 |
| `500 Internal Server Error` | Response code 500 |
## Protocol documentation
### ListIncidents
### ListIncidentsRequest
| Field | Type | Label | Description |
| ---------- | ------------------- | -------- | --------------------------------------- |
| filter | IncidentQueryFilter | | Filter for listing incidents. |
| pagination | PaginationRequest | | Pagination details. |
| order\_bys | OrderBy | repeated | Ordering options for listing incidents. |
### ListIncidentsResponse
| Field | Type | Label | Description |
| ---------- | ------------------ | -------- | ------------------- |
| incidents | Incident | repeated | List of incidents. |
| pagination | PaginationResponse | | Pagination details. |
### ListIncidentAggregations
### ListIncidentAggregationsRequest
| Field | Type | Label | Description |
| ---------- | ------------------- | -------- | ---------------------------------- |
| filter | IncidentQueryFilter | | Filter for aggregations. |
| group\_bys | GroupBy | repeated | Grouping options for aggregations. |
| pagination | PaginationRequest | | Pagination details. |
### ListIncidentAggregationsResponse
| Field | Type | Label | Description |
| -------------- | ------------------- | -------- | ------------------------- |
| incident\_aggs | IncidentAggregation | repeated | Aggregated incident data. |
| pagination | PaginationResponse | | Pagination details. |
### GetIncident
### GetIncidentRequest
| Field | Type | Label | Description |
| ----- | --------------------------- | ----- | ------------------------------- |
| id | google.protobuf.StringValue | | ID of the incident to retrieve. |
### GetIncidentResponse
| Field | Type | Label | Description |
| -------- | -------- | ----- | ------------------- |
| incident | Incident | | Retrieved incident. |
### GetIncidentEvents
### GetIncidentEventsRequest
| Field | Type | Label | Description |
| ------------ | --------------------------- | ----- | ------------------------------------- |
| incident\_id | google.protobuf.StringValue | | ID of the incident to get events for. |
### GetIncidentEventsResponse
| Field | Type | Label | Description |
| ---------------- | ------------- | -------- | ------------------------------------ |
| incident\_events | IncidentEvent | repeated | Events associated with the incident. |
### BatchGetIncident
### BatchGetIncidentRequest
| Field | Type | Label | Description |
| ----- | --------------------------- | -------- | ------------------------------------------ |
| ids | google.protobuf.StringValue | repeated | IDs of incidents to be retrieved in batch. |
### BatchGetIncidentResponse
| Field | Type | Label | Description |
| --------------- | --------------------------------------- | -------- | ----------------------------- |
| incidents | BatchGetIncidentResponse.IncidentsEntry | repeated | Retrieved incidents in batch. |
| not\_found\_ids | google.protobuf.StringValue | repeated | IDs of incidents not found. |
### BatchGetIncidentResponse.IncidentsEntry
| Field | Type | Label | Description |
| ----- | -------- | ----- | ------------------- |
| key | string | | Incident key. |
| value | Incident | | Retrieved incident. |
### AssignIncidents
### AssignIncidentsRequest
| Field | Type | Label | Description |
| ------------- | --------------------------- | -------- | --------------------------------------------------------- |
| incident\_ids | google.protobuf.StringValue | repeated | IDs of incidents to be assigned. |
| assigned\_to | UserDetails | | Details of the user to whom incidents are to be assigned. |
### AssignIncidentsResponse
| Field | Type | Label | Description |
| --------- | -------- | -------- | ------------------- |
| incidents | Incident | repeated | Assigned incidents. |
### UnassignIncidents
### UnassignIncidentsRequest
| Field | Type | Label | Description |
| ------------- | --------------------------- | -------- | ---------------------------------- |
| incident\_ids | google.protobuf.StringValue | repeated | IDs of incidents to be unassigned. |
### UnassignIncidentsResponse
| Field | Type | Label | Description |
| --------- | -------- | -------- | --------------------- |
| incidents | Incident | repeated | Unassigned incidents. |
### AcknowledgeIncidents
### AcknowledgeIncidentsRequest
| Field | Type | Label | Description |
| ------------- | --------------------------- | -------- | ------------------------------------ |
| incident\_ids | google.protobuf.StringValue | repeated | IDs of incidents to be acknowledged. |
### AcknowledgeIncidentsResponse
| Field | Type | Label | Description |
| --------- | -------- | -------- | ----------------------- |
| incidents | Incident | repeated | Acknowledged incidents. |
### CloseIncidents
### CloseIncidentsRequest
| Field | Type | Label | Description |
| ------------- | --------------------------- | -------- | ------------------------------ |
| incident\_ids | google.protobuf.StringValue | repeated | IDs of incidents to be closed. |
### CloseIncidentsResponse
| Field | Type | Label | Description |
| --------- | -------- | -------- | ----------------- |
| incidents | Incident | repeated | Closed incidents. |
### DeleteIncidents
### DeleteIncidentRequest
| Field | Type | Label | Description |
| ----- | --------------------------- | ----- | --------------------------------- |
| id | google.protobuf.StringValue | | ID of the incident to be deleted. |
### ResolveIncidents
### ResolveIncidentsRequest
| Field | Type | Label | Description |
| ------------- | --------------------------- | -------- | -------------------------------- |
| incident\_ids | google.protobuf.StringValue | repeated | IDs of incidents to be resolved. |
### ResolveIncidentsResponse
| Field | Type | Label | Description |
| --------- | -------- | -------- | ------------------- |
| incidents | Incident | repeated | Resolved incidents. |
### PaginationRequest
### PaginationRequest
| Field | Type | Label | Description |
| ----------- | --------------------------- | ----- | ------------------------- |
| page\_size | google.protobuf.UInt32Value | | Number of items per page. |
| page\_token | google.protobuf.StringValue | | Token for the next page. |
### PaginationResponse
| Field | Type | Label | Description |
| ----------------- | --------------------------- | ----- | ------------------------ |
| total\_size | google.protobuf.UInt32Value | | Total number of items. |
| next\_page\_token | google.protobuf.StringValue | | Token for the next page. |
### AuditLogDescription
| Field | Type | Label | Description |
| ----------- | ------ | -------- | ------------------------------ |
| description | string | optional | Description for audit logging. |
### ContextualLabels
| Field | Type | Label | Description |
| ------------ | --------------------------- | ----- | ----------------------------------- |
| field\_name | google.protobuf.StringValue | | Name of the contextual label field. |
| field\_value | google.protobuf.StringValue | | Value of the contextual label. |
### GroupByValues
| Field | Type | Label | Description |
| ------------------ | ------------------ | ----- | ----------------------------------------- |
| incident\_field | IncidentFieldOneOf | | Field to group incidents by. |
| contextual\_labels | ContextualLabels | | Contextual labels for grouping incidents. |
### Incident
The incident represents an unexpected or disruptive event within your system. The definition below outlines the essential attributes associated with managing and documenting such incidents in Coralogix. Here's a detailed description of the key components:
| Field | Type | Label | Description |
| ------------------------- | ------------------------------ | -------- | ------------------------------------------------------------------------------ |
| id | google.protobuf.StringValue | | Unique identifier for the incident. |
| name | google.protobuf.StringValue | | Name of the incident. |
| state | IncidentState | | Current state of the incident. |
| status | IncidentStatus | | Current status of the incident. |
| assignments | Assignment | repeated | List of assignments for the incident. |
| description | google.protobuf.StringValue | | Description of the incident. |
| severity | IncidentSeverity | | Severity level of the incident. |
| contextual\_labels | Incident.ContextualLabelsEntry | repeated | Contextual labels associated with the incident. |
| display\_labels | Incident.DisplayLabelsEntry | repeated | Display labels associated with the incident. |
| events | IncidentEvent | repeated | List of events related to the incident. |
| created\_at | google.protobuf.Timestamp | | Timestamp when the incident was created. |
| closed\_at | google.protobuf.Timestamp | | Timestamp when the incident was closed. |
| last\_state\_update\_time | google.protobuf.Timestamp | | Timestamp of the last state update for the incident. |
| last\_state\_update\_key | google.protobuf.StringValue | | Key associated with the last event that caused a state change in the incident. |
| is\_muted | google.protobuf.BoolValue | | Indicates whether the incident is muted or suppressed. |
### Incident.ContextualLabelsEntry
| Field | Type | Label | Description |
| ----- | ------ | ----- | ------------------------------ |
| key | string | | Key of the contextual label. |
| value | string | | Value of the contextual label. |
### Incident.DisplayLabelsEntry
| Field | Type | Label | Description |
| ----- | ------ | ----- | --------------------------- |
| key | string | | Key of the display label. |
| value | string | | Value of the display label. |
### IncidentAggregation
Incident Aggregation is specifically used for grouping and summarizing incidents based on certain criteria. This aggregation seems to provide a consolidated view of multiple incidents, offering insights into various aspects of their states, statuses, severities, assignments, and other relevant details.
| Field | Type | Label | Description |
| ------------------------- | --------------------------- | -------- | ----------------------------------------------------------- |
| group\_bys\_value | GroupByValues | repeated | Group by fields and values for the aggregation. |
| agg\_state\_count | IncidentStateCount | repeated | Count of incidents for each state in the aggregation. |
| agg\_status\_count | IncidentStatusCount | repeated | Count of incidents for each status in the aggregation. |
| agg\_severity\_count | IncidentSeverityCount | repeated | Count of incidents for each severity in the aggregation. |
| agg\_assignments\_count | IncidentAssignmentCount | repeated | Count of incidents for each assignment in the aggregation. |
| first\_created\_at | google.protobuf.Timestamp | | Timestamp of the first incident created in the aggregation. |
| last\_closed\_at | google.protobuf.Timestamp | | Timestamp of the last incident closed in the aggregation. |
| all\_values\_count | google.protobuf.UInt32Value | | Total count of incidents in the aggregation. |
| list\_incidents\_id | google.protobuf.StringValue | repeated | List of incident IDs in the aggregation. |
| last\_state\_update\_time | google.protobuf.Timestamp | | Timestamp of the last state update in the aggregation. |
### IncidentAssignmentCount
| Field | Type | Label | Description |
| ------------ | --------------------------- | ----- | --------------------------------------------------- |
| assigned\_to | UserDetails | | Details of the user to whom incidents are assigned. |
| count | google.protobuf.UInt32Value | | Count of incidents assigned to the user. |
### IncidentFieldOneOf
| Field | Type | Label | Description |
| ------------------------- | --------------------------- | ----- | ---------------------------------------------------------- |
| id | google.protobuf.StringValue | | Unique identifier for the incident field. |
| severity | IncidentSeverity | | Severity level of the incident field. |
| name | google.protobuf.StringValue | | Name of the incident field. |
| created\_at | google.protobuf.Timestamp | | Timestamp when the incident field was created. |
| closed\_at | google.protobuf.Timestamp | | Timestamp when the incident field was closed. |
| state | IncidentState | | State of the incident field. |
| status | IncidentStatus | | Status of the incident field. |
| last\_state\_update\_time | google.protobuf.Timestamp | | Timestamp of the last state update for the incident field. |
| application\_name | google.protobuf.StringValue | | Application name associated with the incident field. |
| subsystem\_name | google.protobuf.StringValue | | Subsystem name associated with the incident field. |
### IncidentSeverityCount
| Field | Type | Label | Description |
| -------- | --------------------------- | ----- | ------------------------------------------ |
| severity | IncidentSeverity | | Severity level. |
| count | google.protobuf.UInt32Value | | Count of incidents for the severity level. |
### IncidentStateCount
| Field | Type | Label | Description |
| ----- | --------------------------- | ----- | --------------------------------- |
| state | IncidentState | | State of the incident. |
| count | google.protobuf.UInt32Value | | Count of incidents for the state. |
### IncidentStatusCount
| Field | Type | Label | Description |
| ------ | --------------------------- | ----- | ---------------------------------- |
| status | IncidentStatus | | Status of the incident. |
| count | google.protobuf.UInt32Value | | Count of incidents for the status. |
### IncidentFields
| Name | Number | Description |
| -------------------------------------------- | ------ | ---------------------------------------------------- |
| INCIDENTS\_FIELDS\_UNSPECIFIED | 0 | Unspecified incident field. |
| INCIDENTS\_FIELDS\_ID | 1 | Incident ID. |
| INCIDENTS\_FIELDS\_SEVERITY | 2 | Incident severity. |
| INCIDENTS\_FIELDS\_NAME | 3 | Incident name. |
| INCIDENTS\_FIELDS\_CREATED\_TIME | 4 | Timestamp when the incident was created. |
| INCIDENTS\_FIELDS\_CLOSED\_TIME | 5 | Timestamp when the incident was closed. |
| INCIDENTS\_FIELDS\_STATE | 6 | Current state of the incident. |
| INCIDENTS\_FIELDS\_STATUS | 7 | Current status of the incident. |
| INCIDENTS\_FIELDS\_LAST\_STATE\_UPDATE\_TIME | 8 | Timestamp of the last state update for the incident. |
| INCIDENTS\_FIELDS\_APPLICATION\_NAME | 9 | Application name associated with the incident. |
| INCIDENTS\_FIELDS\_SUBSYSTEM\_NAME | 10 | Subsystem name associated with the incident. |
**incident\_severity.proto**
### IncidentSeverity
| Name | Number | Description |
| ------------------------------- | ------ | -------------------------------- |
| INCIDENT\_SEVERITY\_UNSPECIFIED | 0 | Unspecified incident severity. |
| INCIDENT\_SEVERITY\_INFO | 1 | Informational incident severity. |
| INCIDENT\_SEVERITY\_WARNING | 2 | Warning incident severity. |
| INCIDENT\_SEVERITY\_ERROR | 3 | Error incident severity. |
| INCIDENT\_SEVERITY\_CRITICAL | 4 | Critical incident severity. |
**incident\_status.proto**
### IncidentStatus
| Name | Number | Description |
| ------------------------------ | ------ | ---------------------------- |
| INCIDENT\_STATUS\_UNSPECIFIED | 0 | Unspecified incident status. |
| INCIDENT\_STATUS\_TRIGGERED | 1 | Incident is triggered. |
| INCIDENT\_STATUS\_ACKNOWLEDGED | 2 | Incident is acknowledged. |
| INCIDENT\_STATUS\_RESOLVED | 3 | Incident is resolved. |
**assignee.proto**
### Assignment
| Field | Type | Label | Description |
| ------------ | ----------- | ----- | ----------------------------------------------------- |
| assigned\_to | UserDetails | | Details of the user to whom the incident is assigned. |
| assigned\_by | UserDetails | | Details of the user who assigned the incident. |
### UserDetails
| Field | Type | Label | Description |
| -------- | --------------------------- | ----- | --------------- |
| user\_id | google.protobuf.StringValue | | ID of the user. |
**incident\_event/incident\_event\_unassign.proto**
### IncidentEventUnassign
This represents an event where an incident is unassigned.
**incident\_event/incident\_event\_acknowledge.proto**
### IncidentEventAcknowledge
| Field | Type | Label | Description |
| ---------------- | ----------- | ----- | -------------------------------------------------- |
| acknowledged\_by | UserDetails | | Details of the user who acknowledged the incident. |
**incident\_event/incident\_event\_type.proto**
### IncidentEventType
| Name | Number | Description |
| ---------------------------------------- | ------ | --------------------------------------------- |
| INCIDENT\_EVENT\_TYPE\_UNSPECIFIED | 0 | Unspecified incident event type. |
| INCIDENT\_EVENT\_TYPE\_UPSERT\_STATE | 2 | Incident event for upserting state. |
| INCIDENT\_EVENT\_TYPE\_OPEN | 4 | Incident event for opening an incident. |
| INCIDENT\_EVENT\_TYPE\_CLOSE | 5 | Incident event for closing an incident. |
| INCIDENT\_EVENT\_TYPE\_SNOOZE\_INDICATOR | 6 | Incident event for snooze indicator. |
| INCIDENT\_EVENT\_TYPE\_ASSIGN | 7 | Incident event for assigning an incident. |
| INCIDENT\_EVENT\_TYPE\_UNASSIGN | 9 | Incident event for unassigning an incident. |
| INCIDENT\_EVENT\_TYPE\_ACKNOWLEDGE | 8 | Incident event for acknowledging an incident. |
**incident\_event/incident\_event\_assign.proto**
### IncidentEventAssign
| Field | Type | Label | Description |
| ---------- | ---------- | ----- | -------------------------------- |
| assignment | Assignment | | Details of the assignment event. |
**incident\_event/incident\_event\_originator\_operational.proto**
### IncidentEventOriginatorOperational
| Field | Type | Label | Description |
| ------------ | --------------------------- | ----- | ----------------------------------------------------- |
| system\_name | google.protobuf.StringValue | | Name of the operational system originating the event. |
**incident\_event/incident\_event\_originator\_administrative.proto**
### IncidentEventOriginatorAdministrative
| Field | Type | Label | Description |
| -------- | --------------------------- | ----- | ---------------------------------------------------- |
| user\_id | google.protobuf.StringValue | | ID of the administrative user originating the event. |
**incident\_event/incident\_event\_originator\_type.proto**
### OriginatorType
| Name | Number | Description |
| -------------------------------- | ------ | ------------------------------- |
| ORIGINATOR\_TYPE\_UNSPECIFIED | 0 | Unspecified originator type. |
| ORIGINATOR\_TYPE\_OPERATIONAL | 1 | Operational originator type. |
| ORIGINATOR\_TYPE\_ADMINISTRATIVE | 2 | Administrative originator type. |
**incident\_event/incident\_event\_snooze\_indicator.proto**
### IncidentEventSnoozeIndicator
| Field | Type | Label | Description |
| ----------------- | --------------------------- | ----- | ----------------------------------------- |
| start\_time | google.protobuf.Timestamp | | Start time of the snooze period. |
| duration\_minutes | google.protobuf.Int32Value | | Duration of the snooze period in minutes. |
| user\_id | google.protobuf.StringValue | | ID of the user who initiated the snooze. |
**incident\_event/incident\_event.proto**
### IncidentEvent
An incident event typically refers to a specific occurrence or action related to the management and lifecycle of an incident within your system. This structured definition includes various fields to capture details about the event.
| Field | Type | Label | Description |
| --------------------- | ------------------------------------- | ----- | ------------------------------------------------------------------------------ |
| id | google.protobuf.StringValue | | Unique identifier for the incident event. |
| incident\_event\_type | IncidentEventType | | Type of the incident event. |
| snooze\_indicator | IncidentEventSnoozeIndicator | | Information related to snooze indicator event. |
| assignment | IncidentEventAssign | | Information related to assignment event. |
| unassign | IncidentEventUnassign | | Information related to unassignment event. |
| upsert\_state | IncidentEventUpsertState | | Information related to upsert state event. |
| acknowledge | IncidentEventAcknowledge | | Information related to acknowledgment event. |
| close | IncidentEventClose | | Information related to closure event. |
| originator\_type | OriginatorType | | Type of the originator (administrative or operational) for the incident event. |
| administrative\_event | IncidentEventOriginatorAdministrative | | Details of the administrative user who triggered the event. |
| operational\_event | IncidentEventOriginatorOperational | | Details of the operational system that triggered the event. |
**incident\_event/incident\_event\_upsert\_state.proto**
### IncidentEventUpsertState
| Field | Type | Label | Description |
| ----------- | -------------------------- | ----- | ---------------------------------------------------------------------- |
| state\_type | UpsertIncidentStateType | | Type of upsert state event. |
| payload | UpsertIncidentStatePayload | | Payload associated with the upsert state event. |
| is\_muted | google.protobuf.BoolValue | | Indicates whether the incident is muted during the upsert state event. |
### UpsertIncidentStatePayload
| Field | Type | Label | Description |
| -------------- | --------------------------- | ----- | ------------------------------------------------- |
| cx\_event\_key | google.protobuf.StringValue | | Coralogix event key associated with the incident. |
### UpsertIncidentStateType
| Name | Number | Description |
| ------------------------------------------ | ------ | --------------------------------------- |
| UPSERT\_INCIDENT\_STATE\_TYPE\_UNSPECIFIED | 0 | Unspecified upsert incident state type. |
| UPSERT\_INCIDENT\_STATE\_TYPE\_TRIGGERED | 1 | Upsert state for triggered incidents. |
| UPSERT\_INCIDENT\_STATE\_TYPE\_RESOLVED | 2 | Upsert state for resolved incidents. |
**incident\_event/incident\_event\_close.proto**
### IncidentEventClose
| Field | Type | Label | Description |
| ---------- | ----------- | ----- | -------------------------------------------- |
| closed\_by | UserDetails | | Details of the user who closed the incident. |
**incident\_query\_filter.proto**
### ContextualLabelValues
| Field | Type | Label | Description |
| ------------------------- | --------------------------- | -------- | -------------------------------- |
| contextual\_label\_values | google.protobuf.StringValue | repeated | List of contextual label values. |
### IncidentQueryFilter
Incident Query Filter is used for specifying criteria when querying or filtering incidents within a your system. This definition includes various fields that can be used to filter incidents based on different attributes.
| Field | Type | Label | Description |
| ------------------------- | ----------------------------------------- | -------- | ---------------------------------------------------------- |
| assignee | google.protobuf.StringValue | repeated | List of assignee user IDs. |
| status | IncidentStatus | repeated | List of incident statuses. |
| state | IncidentState | repeated | List of incident states. |
| severity | IncidentSeverity | repeated | List of incident severities. |
| contextual\_labels | IncidentQueryFilter.ContextualLabelsEntry | repeated | List of contextual labels and their values. |
| search\_query | IncidentSearchQuery | | Search query for incidents. |
| application\_name | google.protobuf.StringValue | repeated | List of application names. |
| subsystem\_name | google.protobuf.StringValue | repeated | List of subsystem names. |
| is\_muted | google.protobuf.BoolValue | | Indicates whether incidents are muted. |
| created\_at\_range | TimeRange | | Filters all incidents created at the given time range |
| incident\_duration\_range | TimeRange | | Filters all incidents open (alive) at the given time range |
### IncidentQueryFilter.TimeRange
| Field | Type | Label | Description |
| ----------- | ------------------------- | ----- | ----------------------------------- |
| start\_time | google.protobuf.Timestamp | | Start time for filtering incidents. |
| end\_time | google.protobuf.Timestamp | | End time for filtering incidents. |
### IncidentQueryFilter.ContextualLabelsEntry
| Field | Type | Label | Description |
| ----- | --------------------- | ----- | ---------------------------------------- |
| key | string | | Key of the contextual label. |
| value | ContextualLabelValues | | List of values for the contextual label. |
**incident\_state.proto**
### IncidentState
| Name | Number | Description |
| ---------------------------- | ------ | --------------------------- |
| INCIDENT\_STATE\_UNSPECIFIED | 0 | Unspecified incident state. |
| INCIDENT\_STATE\_TRIGGERED | 1 | Incident is triggered. |
| INCIDENT\_STATE\_RESOLVED | 2 | Incident is resolved. |
**incident\_query.proto**
### GroupBy
| Field | Type | Label | Description |
| -------------------- | --------------------------- | ----- | --------------------------------------------- |
| incident\_field | IncidentFields | | Field to group incidents by. |
| contextual\_label | google.protobuf.StringValue | | Contextual label to group incidents by. |
| order\_by\_direction | OrderByDirection | | Direction for ordering the grouped incidents. |
### IncidentSearchQuery
| Field | Type | Label | Description |
| ----------------- | --------------------------- | ----- | ---------------------------------------- |
| query | google.protobuf.StringValue | | Search query string. |
| incident\_field | IncidentFields | | Field to search incidents by. |
| contextual\_label | google.protobuf.StringValue | | Contextual label to search incidents by. |
### OrderBy
| Field | Type | Label | Description |
| ----------------- | --------------------------- | ----- | ---------------------------------------- |
| incident\_field | IncidentFields | | Field for ordering incidents. |
| contextual\_label | google.protobuf.StringValue | | Contextual label for ordering incidents. |
| direction | OrderByDirection | | Direction for ordering incidents. |
### OrderByDirection
| Name | Number | Description |
| --------------------------------- | ------ | ---------------------------- |
| ORDER\_BY\_DIRECTION\_UNSPECIFIED | 0 | Unspecified order direction. |
| ORDER\_BY\_DIRECTION\_ASC | 1 | Ascending order. |
| ORDER\_BY\_DIRECTION\_DESC | 2 | Descending order. |
### OrderByFields
| Name | Number | Description |
| -------------------------------- | ------ | -------------------------------- |
| ORDER\_BY\_FIELDS\_UNSPECIFIED | 0 | Unspecified order field. |
| ORDER\_BY\_FIELDS\_ID | 1 | Order by incident ID. |
| ORDER\_BY\_FIELDS\_SEVERITY | 2 | Order by incident severity. |
| ORDER\_BY\_FIELDS\_NAME | 3 | Order by incident name. |
| ORDER\_BY\_FIELDS\_CREATED\_TIME | 4 | Order by incident creation time. |
| ORDER\_BY\_FIELDS\_CLOSED\_TIME | 5 | Order by incident closure time. |
### ScopeDetails
| Field | Type | Label | Description |
| ----------------- | --------------------------- | ----- | ------------------------ |
| subsystem\_name | google.protobuf.StringValue | | Name of the subsystem. |
| application\_name | google.protobuf.StringValue | | Name of the application. |
# Get multiple incidents by IDs
Source: https://docs.coralogix.com/api-reference/v5/incidents-service/get-multiple-incidents-by-ids
openapi_v5.yaml get /incidents/incidents/v1
Retrieve multiple incidents by their IDs in a single request.
Requires the following permissions:
- `incidents:read`
# Get total count of incident events
Source: https://docs.coralogix.com/api-reference/v5/incidents-service/get-total-count-of-incident-events
openapi_v5.yaml get /incidents/events/v1/all/count
Retrieve the total count of incident events matching a filter.
Requires the following permissions:
- `incidents:read`
# List incident events with filters
Source: https://docs.coralogix.com/api-reference/v5/incidents-service/list-incident-events-with-filters
openapi_v5.yaml get /incidents/events/v1
List incident events with support for filtering, pagination, and ordering. This operation accepts a page size of at most 1000 (it defaults to 100 when pageSize is omitted) and rejects larger values, even though the shared pagination schema documents a maximum of 10000.
Requires the following permissions:
- `incidents:read`
# List incidents with filters
Source: https://docs.coralogix.com/api-reference/v5/incidents-service/list-incidents-with-filters
openapi_v5.yaml post /incidents/incidents/v1
Lists all available incidents based on specified filters and order. The list is ordered in an unspecified direction and sorted by creation time.
Requires the following permissions:
- `incidents:read`
# Remove incident user assignments
Source: https://docs.coralogix.com/api-reference/v5/incidents-service/remove-incident-user-assignments
openapi_v5.yaml delete /incidents/incidents/v1/all/by-user
Remove user assignments from one or more incidents.
Requires the following permissions:
- `incidents:assign`
# Resolve incident by event id
Source: https://docs.coralogix.com/api-reference/v5/incidents-service/resolve-incident-by-event-id
openapi_v5.yaml post /incidents/events/v1/{event_id}/resolve
Mark incident as resolved by event id.
Requires the following permissions:
- `incidents:close`
# Resolve incidents
Source: https://docs.coralogix.com/api-reference/v5/incidents-service/resolve-incidents
openapi_v5.yaml post /incidents/incidents/v1/all/resolve
Mark one or more incidents as resolved.
Requires the following permissions:
- `incidents:close`
# Delete integration
Source: https://docs.coralogix.com/api-reference/v5/integration-service/delete-integration
openapi_v5.yaml delete /integrations/integrations/v1/instances/{integration_id}
Removes the specified deployed integration instance.
Requires the following permissions:
- `integrations:Deploy`
# Get all integrations
Source: https://docs.coralogix.com/api-reference/v5/integration-service/get-all-integrations
openapi_v5.yaml get /integrations/integrations/v1
Returns all available integration definitions.
Requires the following permissions:
- `integrations:ReadConfig`
# Get deployed integration
Source: https://docs.coralogix.com/api-reference/v5/integration-service/get-deployed-integration
openapi_v5.yaml get /integrations/integrations/v1/deployed/{integration_id}
Returns the deployed instance of the specified integration.
Requires the following permissions:
- `integrations:ReadConfig`
# Get integration definition
Source: https://docs.coralogix.com/api-reference/v5/integration-service/get-integration-definition
openapi_v5.yaml get /integrations/integrations/v1/definitions/{id}
Returns the definition for the specified integration type.
Requires the following permissions:
- `integrations:ReadConfig`
# Get integration details
Source: https://docs.coralogix.com/api-reference/v5/integration-service/get-integration-details
openapi_v5.yaml get /integrations/integrations/v1/{id}
Returns the details of the specified integration.
Requires the following permissions:
- `integrations:ReadConfig`
# Get integration template
Source: https://docs.coralogix.com/api-reference/v5/integration-service/get-integration-template
openapi_v5.yaml get /integrations/template/v1
Returns the template for an integration.
Requires the following permissions:
- `integrations:ReadConfig`
# Get managed integration status
Source: https://docs.coralogix.com/api-reference/v5/integration-service/get-managed-integration-status
openapi_v5.yaml get /integrations/managed/v1/{integration_id}
Returns the status of the specified managed integration.
Requires the following permissions:
- `integrations:ReadConfig`
# Get RUM integration versions data
Source: https://docs.coralogix.com/api-reference/v5/integration-service/get-rum-integration-versions-data
openapi_v5.yaml get /integrations/integrations/v1/rum/app-versions
Returns RUM application version data.
Requires the following permissions:
- `integrations:ReadConfig`
# List managed integration keys
Source: https://docs.coralogix.com/api-reference/v5/integration-service/list-managed-integration-keys
openapi_v5.yaml get /integrations/managed/v1
Returns a list of managed integration keys.
Requires the following permissions:
- `integrations:ReadConfig`
# Overview
Source: https://docs.coralogix.com/api-reference/v5/integration-service/overview
# Integration service overview
A service that enables querying for integration information.
Find out more about integrations in our [documentation](https://coralogix.com/docs/integrations/getting-started/).
## Authentication and permissions
To use the Integration service API you need to [create a personal or team API key](https://coralogix.com/docs/user-guides/account-management/api-keys/api-keys/). It's recommended to use permission presets, as they are automatically updated with all relevant permissions. Alternatively, you can manually add the following individual permissions.
| Presets | Permission | Description |
| ------------ | ------------------------- | ---------------------------------- |
| Integrations | `integrations:Deploy` | Access to integrations operations |
| | `integrations:ReadConfig` | Grants access to read integrations |
## Common error response codes
| Status Code | Description |
| --------------------------- | ----------------- |
| `400 Bad Request` | Response code 400 |
| `401 Unauthorized` | Response code 401 |
| `500 Internal Server Error` | Response code 500 |
## Constants
TargetDomain
| Value |
| --------------------- |
| `ACTION` |
| `ALERT` |
| `ENRICHMENT` |
| `GRAFANA_DASHBOARD` |
| `KIBANA_DASHBOARD` |
| `PARSING_RULE` |
| `SAVED_VIEW` |
| `CX_CUSTOM_DASHBOARD` |
| `METRICS_RULE_GROUP` |
| `EVENTS_TO_METRICS` |
| `ALERT_V3` |
BinaryType
| Value |
| -------------------------------- |
| `PREVIEW_IMAGE` |
| `KIBANA_DASHBOARD_DEFINITION` |
| `GRAFANA_DASHBOARD_DEFINITION` |
| `ENRICHMENT_CSV` |
| `CX_CUSTOM_DASHBOARD_DEFINITION` |
PermissionResource
| Value |
| ------------------------------------ |
| `UNKNOWN` |
| `ACTION` |
| `ALERT` |
| `CUSTOM_ENRICHMENT` |
| `GEO_ENRICHMENT` |
| `SECURITY_ENRICHMENT` |
| `RESOURCE_CLOUD_METADATA_ENRICHMENT` |
| `GRAFANA_DASHBOARD` |
| `KIBANA_DASHBOARD` |
| `PARSING_RULE` |
| `SAVED_VIEW` |
| `CX_CUSTOM_DASHBOARD` |
| `METRICS_RULE_GROUP` |
| `SPAN_EVENTS_TO_METRICS` |
| `LOGS_EVENTS_TO_METRICS` |
BinaryType
| Value |
| ---------------------- |
| `KIBANA_INDEX_PATTERN` |
PushBasedPlatform
| Value |
| --------------------- |
| `UNDEFINED` |
| `PLATFORM_BITBUCKET` |
| `PLATFORM_GITHUB` |
| `PLATFORM_GITLAB` |
| `PLATFORM_AWS_SNS` |
| `PLATFORM_OPSGENIE` |
| `PLATFORM_PAGERDUTY` |
| `PLATFORM_PROMETHEUS` |
| `PLATFORM_SLACK` |
| `PLATFORM_INTERCOM` |
ConnectionStatus
| Value |
| ---------------- |
| `PENDING` |
| `ACTIVE` |
| `FAILING` |
| `STATUS_UNKNOWN` |
Variant
| Value |
| --------- |
| `DEFAULT` |
| `GCP` |
| `OAUTH` |
| `CUSTOM` |
InputType
| Value |
| -------------------- |
| `API_KEY` |
| `TEXT` |
| `LIST_TEXT` |
| `MULTIPLE_SELECTION` |
| `BOOLEAN` |
| `SELECT` |
| `JSON` |
| `NUMBER` |
| `SENSITIVE_DATA` |
| `JSON_OBJECT_ARRAY` |
ConditionType
| Value |
| --------- |
| `UNKNOWN` |
| `OR` |
| `AND` |
Language
| Value |
| ------------ |
| `UNKNOWN` |
| `BASH` |
| `JAVASCRIPT` |
WebhookType
| Value |
| ------------------------- |
| `UNKNOWN` |
| `GENERIC` |
| `SLACK` |
| `PAGERDUTY` |
| `SEND_LOG` |
| `EMAIL_GROUP` |
| `MICROSOFT_TEAMS` |
| `JIRA` |
| `OPSGENIE` |
| `DEMISTO` |
| `AWS_EVENT_BRIDGE` |
| `IBM_EVENT_NOTIFICATIONS` |
| `MS_TEAMS_WORKFLOW` |
MethodType
| Value |
| --------- |
| `UNKNOWN` |
| `GET` |
| `POST` |
| `PUT` |
DigestType
| Value |
| ------------------------- |
| `UNKNOWN` |
| `ERROR_AND_CRITICAL_LOGS` |
| `FLOW_ANOMALIES` |
| `SPIKE_ANOMALIES` |
| `DATA_USAGE` |
AttachmentType
| Value |
| ----------------- |
| `EMPTY` |
| `METRIC_SNAPSHOT` |
| `LOGS` |
EndpointType
| Value |
| --------------------------------- |
| `ENDPOINT_TYPE_DEFAULT_OR_PUBLIC` |
| `ENDPOINT_TYPE_PRIVATE` |
# Save integration registration metadata
Source: https://docs.coralogix.com/api-reference/v5/integration-service/save-integration-registration-metadata
openapi_v5.yaml post /integrations/metadata/v1
Creates or updates an integration deployment.
Requires the following permissions:
- `integrations:Deploy`
# Test integration
Source: https://docs.coralogix.com/api-reference/v5/integration-service/test-integration
openapi_v5.yaml post /integrations/metadata/v1/test
Tests the integration configuration.
Requires the following permissions:
- `integrations:ReadConfig`
# Trigger sync of RUM integration data
Source: https://docs.coralogix.com/api-reference/v5/integration-service/trigger-sync-of-rum-integration-data
openapi_v5.yaml post /integrations/integrations/v1/rum/sync
Syncs RUM data for the team.
Requires the following permissions:
- `integrations:ReadConfig`
# Update integration
Source: https://docs.coralogix.com/api-reference/v5/integration-service/update-integration
openapi_v5.yaml put /integrations/metadata/v1
Updates an existing integration deployment.
Requires the following permissions:
- `integrations:Deploy`
# Create company IP access settings
Source: https://docs.coralogix.com/api-reference/v5/ip-access-service/create-company-ip-access-settings
openapi_v5.yaml post /aaa/team-sec-ip-access/v1
Sets the IP access restrictions for the team.
# Delete company IP access settings
Source: https://docs.coralogix.com/api-reference/v5/ip-access-service/delete-company-ip-access-settings
openapi_v5.yaml delete /aaa/team-sec-ip-access/v1
Removes the IP access restrictions for the team.
# Get company IP access settings
Source: https://docs.coralogix.com/api-reference/v5/ip-access-service/get-company-ip-access-settings
openapi_v5.yaml get /aaa/team-sec-ip-access/v1
Returns the current IP access settings for the team.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/ip-access-service/overview
# IP Access service overview
The Coralogix IP Access service provides comprehensive network-based access control for your observability platform, enabling organizations to enforce security policies by restricting access to specific IP addresses and ranges. Just like an Access Control List (ACL) for Coralogix. This service allows administrators to create, manage, and monitor IP access rules while maintaining granular control over Coralogix customer support access permissions. With full CRUD operations, bulk creation, and CIDR notation support, IP Access service ensures your observability data remains secure and compliant with organizational network security policies.
# Replace company IP access settings
Source: https://docs.coralogix.com/api-reference/v5/ip-access-service/replace-company-ip-access-settings
openapi_v5.yaml put /aaa/team-sec-ip-access/v1
Updates the IP access restrictions for the team.
# Configure Tenant
Source: https://docs.coralogix.com/api-reference/v5/metrics-data-archive-service/configure-tenant
openapi_v5.yaml post /metrics/data-setup/v1
Creates the metrics storage configuration.
# Disable Metrics Archive
Source: https://docs.coralogix.com/api-reference/v5/metrics-data-archive-service/disable-metrics-archive
openapi_v5.yaml post /metrics/data-setup/v1/disable
Disables the metrics storage configuration.
# Enable Metrics Archive
Source: https://docs.coralogix.com/api-reference/v5/metrics-data-archive-service/enable-metrics-archive
openapi_v5.yaml post /metrics/data-setup/v1/enable
Enables the metrics storage configuration.
# Get Metrics Storage Configuration
Source: https://docs.coralogix.com/api-reference/v5/metrics-data-archive-service/get-metrics-storage-configuration
openapi_v5.yaml get /metrics/data-setup/v1
Returns the current metrics storage configuration.
# Update Metrics Storage Configuration
Source: https://docs.coralogix.com/api-reference/v5/metrics-data-archive-service/update-metrics-storage-configuration
openapi_v5.yaml put /metrics/data-setup/v1
Updates the metrics storage configuration.
# Validate Metrics Storage Bucket
Source: https://docs.coralogix.com/api-reference/v5/metrics-data-archive-service/validate-metrics-storage-bucket
openapi_v5.yaml post /metrics/data-setup/v1/validate
Validates the provided metrics storage configuration.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/notifications-testing-service/overview
# Notifications Testing service overview
The Notifications Testing service lets you validate Notification Center configurations before you rely on them. Send a test notification through an existing connector or preset, test a connector or preset configuration before saving it, test a destination directly, validate that a template renders correctly, and check that a routing condition is valid.
The service exposes the following operations:
* **Test Connector Config** and **Test Existing Connector**: validate a connector configuration, or send a test notification through a connector that is already saved.
* **Test Preset Config** and **Test Existing Preset**: validate a preset configuration, or test a preset that is already saved.
* **Test Destination**: send a test notification to a destination.
* **Test Template Render**: validate that a notification template renders without errors.
* **Test Routing Condition Valid**: validate a routing condition.
Learn more in our [documentation](https://coralogix.com/docs/user-guides/notification-center/introduction/).
## Authentication and permissions
To use the Notifications Testing service API you need to [create a personal or team API key](https://coralogix.com/docs/user-guides/account-management/api-keys/api-keys/). Each method requires the Notification Center permissions listed below.
| Method | Required permission |
| ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `TestConnectorConfig` | `notification-center-connectors:UpdateConfig` |
| `TestExistingConnector` | `notification-center-connectors:UpdateConfig` |
| `TestPresetConfig` | `notification-center-connectors:UpdateConfig` AND `notification-center-presets:UpdateConfig` |
| `TestExistingPreset` | `notification-center-connectors:UpdateConfig` AND `notification-center-presets:UpdateConfig` |
| `TestDestination` | `notification-center-connectors:UpdateConfig` AND `notification-center-presets:UpdateConfig` |
| `TestTemplateRender` | `notification-center-connectors:ReadConfig` OR `notification-center-connectors:UpdateConfig` OR `notification-center-presets:ReadConfig` OR `notification-center-presets:UpdateConfig` |
## Common error response codes
| Status Code | Description |
| --------------------------- | ----------------- |
| `400 Bad Request` | Response code 400 |
| `401 Unauthorized` | Response code 401 |
| `500 Internal Server Error` | Response code 500 |
## Constants
OrderByDirection
| Value |
| -------------------------------- |
| `ORDER_BY_DIRECTION_UNSPECIFIED` |
| `ASC` |
| `DESC` |
ConnectorType
| Value |
| ---------------------------- |
| `CONNECTOR_TYPE_UNSPECIFIED` |
| `SLACK` |
| `GENERIC_HTTPS` |
| `PAGERDUTY` |
| `AWS` |
PresetType
| Value |
| ------------------------- |
| `PRESET_TYPE_UNSPECIFIED` |
| `SYSTEM` |
| `CUSTOM` |
TriggerType
| Value |
| -------------------------- |
| `TRIGGER_TYPE_UNSPECIFIED` |
| `MANUAL` |
| `AUTOMATIC` |
FailureReason
| Value |
| ----------------------------------- |
| `FAILURE_REASON_UNSPECIFIED` |
| `INVALID_TEMPLATE` |
| `FIELD_NOT_FOUND` |
| `TEMPLATE_EXCEEDS_MAX_LENGTH` |
| `RENDERED_VALUE_EXCEEDS_MAX_LENGTH` |
# Test Connector Config
Source: https://docs.coralogix.com/api-reference/v5/notifications-testing-service/test-connector-config
openapi_v5.yaml post /notifications/notification-center/v1/connectors:testConfig
Tests a notification connector configuration.
# Test Destination
Source: https://docs.coralogix.com/api-reference/v5/notifications-testing-service/test-destination
openapi_v5.yaml post /notifications/notification-center/v1/destinations:test
Tests a notification destination.
# Test Existing Connector
Source: https://docs.coralogix.com/api-reference/v5/notifications-testing-service/test-existing-connector
openapi_v5.yaml post /notifications/notification-center/v1/connectors:test
Sends a test notification.
# Test Existing Preset
Source: https://docs.coralogix.com/api-reference/v5/notifications-testing-service/test-existing-preset
openapi_v5.yaml post /notifications/notification-center/v1/presets:test
Tests an existing notification preset.
# Test Preset Config
Source: https://docs.coralogix.com/api-reference/v5/notifications-testing-service/test-preset-config
openapi_v5.yaml post /notifications/notification-center/v1/presets:testConfig
Tests a notification preset configuration.
# Test Routing Condition Valid
Source: https://docs.coralogix.com/api-reference/v5/notifications-testing-service/test-routing-condition-valid
openapi_v5.yaml post /notifications/notification-center/v1/routers:testCondition
Tests notification routing conditions.
# Test Template Render
Source: https://docs.coralogix.com/api-reference/v5/notifications-testing-service/test-template-render
openapi_v5.yaml post /notifications/notification-center/v1/templates:test
Tests the rendering of a notification template.
# Create an outgoing webhook
Source: https://docs.coralogix.com/api-reference/v5/outgoing-webhooks-service/create-an-outgoing-webhook
openapi_v5.yaml post /integrations/webhooks/v1
Creates a new outgoing webhook.
Requires the following permissions:
- `outbound-webhooks:UpdateConfig`
# Delete an outgoing webhook
Source: https://docs.coralogix.com/api-reference/v5/outgoing-webhooks-service/delete-an-outgoing-webhook
openapi_v5.yaml delete /integrations/webhooks/v1/{id}
Deletes the outgoing webhook with the specified ID.
Requires the following permissions:
- `outbound-webhooks:UpdateConfig`
# Get outgoing webhook
Source: https://docs.coralogix.com/api-reference/v5/outgoing-webhooks-service/get-outgoing-webhook
openapi_v5.yaml get /integrations/webhooks/v1/{id}
Returns the details of the specified outgoing webhook.
Requires the following permissions:
- `outbound-webhooks:ReadConfig`
# Get outgoing webhook type details
Source: https://docs.coralogix.com/api-reference/v5/outgoing-webhooks-service/get-outgoing-webhook-type-details
openapi_v5.yaml get /integrations/webhook-types/v1/{type}
Returns the details for the specified outgoing webhook type.
Requires the following permissions:
- `outbound-webhooks:ReadConfig`
# Get outgoing webhook types
Source: https://docs.coralogix.com/api-reference/v5/outgoing-webhooks-service/get-outgoing-webhook-types
openapi_v5.yaml get /integrations/webhook-types/v1
Returns all available outgoing webhook types.
Requires the following permissions:
- `outbound-webhooks:ReadConfig`
# List all outgoing webhooks
Source: https://docs.coralogix.com/api-reference/v5/outgoing-webhooks-service/list-all-outgoing-webhooks
openapi_v5.yaml get /integrations/webhooks/v1
Returns all outgoing webhooks for the team.
Requires the following permissions:
- `outbound-webhooks:ReadConfig`
# List outbound webhooks summary
Source: https://docs.coralogix.com/api-reference/v5/outgoing-webhooks-service/list-outbound-webhooks-summary
openapi_v5.yaml get /integrations/webhooks/v1/list/summaries
Returns summary information for all outgoing webhooks.
Requires the following permissions:
- `outbound-webhooks:ReadSummary`
# List outgoing webhooks
Source: https://docs.coralogix.com/api-reference/v5/outgoing-webhooks-service/list-outgoing-webhooks
openapi_v5.yaml get /integrations/webhooks/v1/list/by-types
Returns outgoing webhooks grouped by type.
Requires the following permissions:
- `outbound-webhooks:ReadConfig`
# Overview
Source: https://docs.coralogix.com/api-reference/v5/outgoing-webhooks-service/overview
# Outgoing webhooks service overview
Find out more about outbound webhooks in our [documentation](https://coralogix.com/docs/user-guides/alerting/outbound-webhooks/generic-outbound-webhooks-alert-webhooks/).
## Authentication and permissions
To use the Outgoing webhooks service API you need to [create a personal or team API key](https://coralogix.com/docs/user-guides/account-management/api-keys/api-keys/). It's recommended to use permission presets, as they are automatically updated with all relevant permissions. Alternatively, you can manually add the following individual permissions.
| Presets | Permission | Description |
| ---------------- | -------------------------------- | ------------------------------------------------------- |
| OutboundWebhooks | `outbound-webhooks:ReadConfig` | Grants access to read outbound-webhooks |
| | `outbound-webhooks:ReadSummary` | Grants access to read outbound-webhooks |
| | `outbound-webhooks:UpdateConfig` | Required to create, update, or delete outbound-webhooks |
## Common error response codes
| Status Code | Description |
| --------------------------- | ----------------- |
| `400 Bad Request` | Response code 400 |
| `401 Unauthorized` | Response code 401 |
| `500 Internal Server Error` | Response code 500 |
## Constants
TargetDomain
| Value |
| --------------------- |
| `ACTION` |
| `ALERT` |
| `ENRICHMENT` |
| `GRAFANA_DASHBOARD` |
| `KIBANA_DASHBOARD` |
| `PARSING_RULE` |
| `SAVED_VIEW` |
| `CX_CUSTOM_DASHBOARD` |
| `METRICS_RULE_GROUP` |
| `EVENTS_TO_METRICS` |
| `ALERT_V3` |
BinaryType
| Value |
| -------------------------------- |
| `PREVIEW_IMAGE` |
| `KIBANA_DASHBOARD_DEFINITION` |
| `GRAFANA_DASHBOARD_DEFINITION` |
| `ENRICHMENT_CSV` |
| `CX_CUSTOM_DASHBOARD_DEFINITION` |
PermissionResource
| Value |
| ------------------------------------ |
| `UNKNOWN` |
| `ACTION` |
| `ALERT` |
| `CUSTOM_ENRICHMENT` |
| `GEO_ENRICHMENT` |
| `SECURITY_ENRICHMENT` |
| `RESOURCE_CLOUD_METADATA_ENRICHMENT` |
| `GRAFANA_DASHBOARD` |
| `KIBANA_DASHBOARD` |
| `PARSING_RULE` |
| `SAVED_VIEW` |
| `CX_CUSTOM_DASHBOARD` |
| `METRICS_RULE_GROUP` |
| `SPAN_EVENTS_TO_METRICS` |
| `LOGS_EVENTS_TO_METRICS` |
BinaryType
| Value |
| ---------------------- |
| `KIBANA_INDEX_PATTERN` |
PushBasedPlatform
| Value |
| --------------------- |
| `UNDEFINED` |
| `PLATFORM_BITBUCKET` |
| `PLATFORM_GITHUB` |
| `PLATFORM_GITLAB` |
| `PLATFORM_AWS_SNS` |
| `PLATFORM_OPSGENIE` |
| `PLATFORM_PAGERDUTY` |
| `PLATFORM_PROMETHEUS` |
| `PLATFORM_SLACK` |
| `PLATFORM_INTERCOM` |
ConnectionStatus
| Value |
| ---------------- |
| `PENDING` |
| `ACTIVE` |
| `FAILING` |
| `STATUS_UNKNOWN` |
Variant
| Value |
| --------- |
| `DEFAULT` |
| `GCP` |
| `OAUTH` |
| `CUSTOM` |
InputType
| Value |
| -------------------- |
| `API_KEY` |
| `TEXT` |
| `LIST_TEXT` |
| `MULTIPLE_SELECTION` |
| `BOOLEAN` |
| `SELECT` |
| `JSON` |
| `NUMBER` |
| `SENSITIVE_DATA` |
| `JSON_OBJECT_ARRAY` |
ConditionType
| Value |
| --------- |
| `UNKNOWN` |
| `OR` |
| `AND` |
Language
| Value |
| ------------ |
| `UNKNOWN` |
| `BASH` |
| `JAVASCRIPT` |
WebhookType
| Value |
| ------------------------- |
| `UNKNOWN` |
| `GENERIC` |
| `SLACK` |
| `PAGERDUTY` |
| `SEND_LOG` |
| `EMAIL_GROUP` |
| `MICROSOFT_TEAMS` |
| `JIRA` |
| `OPSGENIE` |
| `DEMISTO` |
| `AWS_EVENT_BRIDGE` |
| `IBM_EVENT_NOTIFICATIONS` |
| `MS_TEAMS_WORKFLOW` |
MethodType
| Value |
| --------- |
| `UNKNOWN` |
| `GET` |
| `POST` |
| `PUT` |
DigestType
| Value |
| ------------------------- |
| `UNKNOWN` |
| `ERROR_AND_CRITICAL_LOGS` |
| `FLOW_ANOMALIES` |
| `SPIKE_ANOMALIES` |
| `DATA_USAGE` |
AttachmentType
| Value |
| ----------------- |
| `EMPTY` |
| `METRIC_SNAPSHOT` |
| `LOGS` |
EndpointType
| Value |
| --------------------------------- |
| `ENDPOINT_TYPE_DEFAULT_OR_PUBLIC` |
| `ENDPOINT_TYPE_PRIVATE` |
# Test an existing outgoing webhook
Source: https://docs.coralogix.com/api-reference/v5/outgoing-webhooks-service/test-an-existing-outgoing-webhook
openapi_v5.yaml get /integrations/webhooks/v1/{id}/test
Tests the specified outgoing webhook.
Requires the following permissions:
- `outbound-webhooks:ReadConfig`
# Test an outgoing webhook
Source: https://docs.coralogix.com/api-reference/v5/outgoing-webhooks-service/test-an-outgoing-webhook
openapi_v5.yaml post /integrations/webhooks-test/v1
Tests an outgoing webhook configuration.
Requires the following permissions:
- `outbound-webhooks:ReadConfig`
# Update an outgoing webhook
Source: https://docs.coralogix.com/api-reference/v5/outgoing-webhooks-service/update-an-outgoing-webhook
openapi_v5.yaml put /integrations/webhooks/v1
Updates an existing outgoing webhook.
Requires the following permissions:
- `outbound-webhooks:UpdateConfig`
# Atomic Overwrite Log Policies
Source: https://docs.coralogix.com/api-reference/v5/policies-service/atomic-overwrite-log-policies
openapi_v5.yaml put /dataplans/log-policies/v1
Updates the log data retention policies.
# Atomic Overwrite Rum Policies
Source: https://docs.coralogix.com/api-reference/v5/policies-service/atomic-overwrite-rum-policies
openapi_v5.yaml put /dataplans/rum-policies/v1
Updates RUM data retention policies.
# Atomic Overwrite Span Policies
Source: https://docs.coralogix.com/api-reference/v5/policies-service/atomic-overwrite-span-policies
openapi_v5.yaml put /dataplans/span-policies/v1
Updates span data retention policies.
# Bulk Test Log Policies
Source: https://docs.coralogix.com/api-reference/v5/policies-service/bulk-test-log-policies
openapi_v5.yaml post /dataplans/policies/v1/all/test-policies
Tests the data policies against sample data.
# Create Policy
Source: https://docs.coralogix.com/api-reference/v5/policies-service/create-policy
openapi_v5.yaml post /dataplans/policies/v1
Creates a new data policy.
# Delete Policy
Source: https://docs.coralogix.com/api-reference/v5/policies-service/delete-policy
openapi_v5.yaml delete /dataplans/policies/v1/{id}
Deletes the data policy with the specified ID.
# Forecast Policy Usage
Source: https://docs.coralogix.com/api-reference/v5/policies-service/forecast-policy-usage
openapi_v5.yaml post /dataplans/policies/v1/all/forecast-usage
Forecasts the usage in bytes that a draft TCO policy would match over the requested time window, given its application/subsystem rules and log or span filters. Use this before saving a new or modified policy to see the impact on your quota.
# Get Company Policies
Source: https://docs.coralogix.com/api-reference/v5/policies-service/get-company-policies
openapi_v5.yaml get /dataplans/policies/v1
Returns all data policies for the team.
# Get Policy by ID
Source: https://docs.coralogix.com/api-reference/v5/policies-service/get-policy-by-id
openapi_v5.yaml get /dataplans/policies/v1/{id}
Returns the details of the specified data policy.
# Get Policy Priority Settings
Source: https://docs.coralogix.com/api-reference/v5/policies-service/get-policy-priority-settings
openapi_v5.yaml get /dataplans/policy-settings/v1
Returns the current data policy settings.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/policies-service/overview
# Policies service overview
Coralogix Quota Policies API enables teams to define, enforce, and manage resource usage limits across logs and traces. With full CRUD capabilities, testing, and batch operations, this API ensures observability data flows remain within cost and compliance boundaries. Teams can apply quotas at the company level, toggle and reorder policies, and perform atomic updates for safe bulk changes.
## Constants
Priority
| Value |
| --------------------------- |
| `PRIORITY_TYPE_UNSPECIFIED` |
| `PRIORITY_TYPE_BLOCK` |
| `PRIORITY_TYPE_LOW` |
| `PRIORITY_TYPE_MEDIUM` |
| `PRIORITY_TYPE_HIGH` |
Severity
| Value |
| ---------------------- |
| `SEVERITY_UNSPECIFIED` |
| `SEVERITY_DEBUG` |
| `SEVERITY_VERBOSE` |
| `SEVERITY_INFO` |
| `SEVERITY_WARNING` |
| `SEVERITY_ERROR` |
| `SEVERITY_CRITICAL` |
SourceType
| Value |
| ------------------------- |
| `SOURCE_TYPE_UNSPECIFIED` |
| `SOURCE_TYPE_LOGS` |
| `SOURCE_TYPE_SPANS` |
RuleTypeId
| Value |
| -------------------------- |
| `RULE_TYPE_ID_UNSPECIFIED` |
| `RULE_TYPE_ID_IS` |
| `RULE_TYPE_ID_IS_NOT` |
| `RULE_TYPE_ID_START_WITH` |
| `RULE_TYPE_ID_INCLUDES` |
# Reorder Policies
Source: https://docs.coralogix.com/api-reference/v5/policies-service/reorder-policies
openapi_v5.yaml post /dataplans/policies/v1/all/reorder
Reorders all data policies.
# Replace Policy Settings
Source: https://docs.coralogix.com/api-reference/v5/policies-service/replace-policy-settings
openapi_v5.yaml post /dataplans/policiy-settings/v1
Updates data policy settings.
# Update Policy
Source: https://docs.coralogix.com/api-reference/v5/policies-service/update-policy
openapi_v5.yaml put /dataplans/policies/v1
Updates an existing data policy.
# Batch Get Presets
Source: https://docs.coralogix.com/api-reference/v5/presets-service/batch-get-presets
openapi_v5.yaml get /notifications/notification-center/v1/presets
Returns all notification presets.
# Create Custom Preset
Source: https://docs.coralogix.com/api-reference/v5/presets-service/create-custom-preset
openapi_v5.yaml post /notifications/notification-center/v1/presets:createCustom
Creates a new custom notification preset.
# Delete Custom Preset
Source: https://docs.coralogix.com/api-reference/v5/presets-service/delete-custom-preset
openapi_v5.yaml delete /notifications/notification-center/v1/presets/custom/{id}
Deletes the custom notification preset with the specified ID.
# Get Default Preset Summary
Source: https://docs.coralogix.com/api-reference/v5/presets-service/get-default-preset-summary
openapi_v5.yaml get /notifications/notification-center/v1/presets:getDefaultSummary
Returns a summary of the default notification preset.
# Get Preset
Source: https://docs.coralogix.com/api-reference/v5/presets-service/get-preset
openapi_v5.yaml get /notifications/notification-center/v1/presets/{id}
Returns the details of the specified notification preset.
# Get System Default Preset Summary
Source: https://docs.coralogix.com/api-reference/v5/presets-service/get-system-default-preset-summary
openapi_v5.yaml get /notifications/notification-center/v1/presets/summaries/system
Returns summaries for all system-defined notification presets.
# List Preset Summaries
Source: https://docs.coralogix.com/api-reference/v5/presets-service/list-preset-summaries
openapi_v5.yaml get /notifications/notification-center/v1/presets:summariesList
Returns a list of notification preset summaries.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/presets-service/overview
# Presets Service overview
## Constants
OrderByDirection
| Value |
| -------------------------------- |
| `ORDER_BY_DIRECTION_UNSPECIFIED` |
| `ASC` |
| `DESC` |
ConnectorType
| Value |
| ---------------------------- |
| `CONNECTOR_TYPE_UNSPECIFIED` |
| `SLACK` |
| `GENERIC_HTTPS` |
| `PAGERDUTY` |
| `AWS` |
| `IBM_EVENT_NOTIFICATIONS` |
PresetType
| Value |
| ------------------------- |
| `PRESET_TYPE_UNSPECIFIED` |
| `SYSTEM` |
| `CUSTOM` |
TriggerType
| Value |
| -------------------------- |
| `TRIGGER_TYPE_UNSPECIFIED` |
| `MANUAL` |
| `AUTOMATIC` |
FailureReason
| Value |
| ----------------------------------- |
| `FAILURE_REASON_UNSPECIFIED` |
| `INVALID_TEMPLATE` |
| `FIELD_NOT_FOUND` |
| `TEMPLATE_EXCEEDS_MAX_LENGTH` |
| `RENDERED_VALUE_EXCEEDS_MAX_LENGTH` |
# Replace Custom Preset
Source: https://docs.coralogix.com/api-reference/v5/presets-service/replace-custom-preset
openapi_v5.yaml put /notifications/notification-center/v1/presets:replaceCustom
Replaces an existing custom notification preset.
# Set Custom Preset As Default
Source: https://docs.coralogix.com/api-reference/v5/presets-service/set-custom-preset-as-default
openapi_v5.yaml post /notifications/notification-center/v1/presets/custom/{id}/default
Sets a custom preset as the default.
# Set Preset As Default
Source: https://docs.coralogix.com/api-reference/v5/presets-service/set-preset-as-default
openapi_v5.yaml post /notifications/notification-center/v1/presets/{id}/default/apply
Sets the specified preset as the default for an entity.
# Create quota allocation rule set
Source: https://docs.coralogix.com/api-reference/v5/quota-allocation-rule-set-service/create-quota-allocation-rule-set
openapi_v5.yaml post /dataplan/quota-rules/v1
Creates new quota allocation rules.
Requires the following permissions:
- `team-quota-rules:Manage`
# Delete quota allocation rule set
Source: https://docs.coralogix.com/api-reference/v5/quota-allocation-rule-set-service/delete-quota-allocation-rule-set
openapi_v5.yaml delete /dataplan/quota-rules/v1
Deletes the quota allocation rules.
Requires the following permissions:
- `team-quota-rules:Manage`
# Get quota allocation rule set
Source: https://docs.coralogix.com/api-reference/v5/quota-allocation-rule-set-service/get-quota-allocation-rule-set
openapi_v5.yaml get /dataplan/quota-rules/v1
Returns the current quota allocation rules.
Requires the following permissions:
- `team-quota-rules:Read`
# Replace quota allocation rule set
Source: https://docs.coralogix.com/api-reference/v5/quota-allocation-rule-set-service/replace-quota-allocation-rule-set
openapi_v5.yaml put /dataplan/quota-rules/v1
Updates the quota allocation rules.
Requires the following permissions:
- `team-quota-rules:Manage`
# Create Recording Rules
Source: https://docs.coralogix.com/api-reference/v5/recording-rules-service/create-recording-rules
openapi_v5.yaml post /recording-rules/recording-rules/v1
Creates a new recording rule group.
# Delete Recording Rules
Source: https://docs.coralogix.com/api-reference/v5/recording-rules-service/delete-recording-rules
openapi_v5.yaml delete /recording-rules/recording-rules/v1/{id}
Deletes the recording rule group with the specified ID.
# Get Recording Rules
Source: https://docs.coralogix.com/api-reference/v5/recording-rules-service/get-recording-rules
openapi_v5.yaml get /recording-rules/recording-rules/v1/{id}
Returns the details of the specified recording rule group.
# List Recording Rules
Source: https://docs.coralogix.com/api-reference/v5/recording-rules-service/list-recording-rules
openapi_v5.yaml get /recording-rules/recording-rules/v1
Returns all recording rule groups for the team.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/recording-rules-service/overview
# Recording Rules service overview
Coralogix Recording Rules enable you to define and manage PromQL-based transformations that generate new metrics from existing time series. The API supports full CRUD operations for rule groups and group sets, allowing you to schedule evaluations, apply label modifications, and optimize metric usage with limits and grouping logic.
## Constants
Kind
| Value |
| ----------- |
| `Transient` |
| `Final` |
# Update Recording Rules
Source: https://docs.coralogix.com/api-reference/v5/recording-rules-service/update-recording-rules
openapi_v5.yaml put /recording-rules/recording-rules/v1/{id}
Updates the specified recording rule group.
# Activate Retentions
Source: https://docs.coralogix.com/api-reference/v5/retentions-service/activate-retentions
openapi_v5.yaml post /dataengine/retention-tags/v1/activate
Activates the specified retention tags.
# Get Retentions
Source: https://docs.coralogix.com/api-reference/v5/retentions-service/get-retentions
openapi_v5.yaml get /dataengine/retention-tags/v1
Returns all available retention tags.
# Get Retentions Enabled
Source: https://docs.coralogix.com/api-reference/v5/retentions-service/get-retentions-enabled
openapi_v5.yaml get /dataengine/retention-tags/v1/enabled
Returns the enabled retention tags for the team.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/retentions-service/overview
# Retentions Service overview
## Constants
DatasetClass
| Value |
| ---------------------------------- |
| `DATASET_CLASS_UNSPECIFIED` |
| `DATASET_CLASS_ENV_LEVEL_DATASET` |
| `DATASET_CLASS_TEAM_LEVEL_DATASET` |
PartitioningScheme
| Value |
| --------------------------------- |
| `PARTITIONING_SCHEME_UNSPECIFIED` |
| `PARTITIONING_SCHEME_DT_HR` |
DataPillar
| Value |
| ------------------------- |
| `DATA_PILLAR_UNSPECIFIED` |
| `DATA_PILLAR_LOG` |
| `DATA_PILLAR_SPAN` |
PredicateType
| Value |
| ---------------------------- |
| `PREDICATE_TYPE_UNSPECIFIED` |
| `PREDICATE_TYPE_REGEX` |
| `PREDICATE_TYPE_DPXL` |
| `PREDICATE_TYPE_EXACT` |
Pillar
| Value |
| -------------------- |
| `PILLAR_UNSPECIFIED` |
| `PILLAR_LOGS` |
| `PILLAR_SPANS` |
| `PILLAR_METRICS` |
| `PILLAR_BINARY` |
DataType
| Value |
| --------------------------- |
| `DATA_TYPE_UNSPECIFIED` |
| `DATA_TYPE_NUM` |
| `DATA_TYPE_STRING` |
| `DATA_TYPE_BOOL` |
| `DATA_TYPE_UNTRACKED_ARRAY` |
| `DATA_TYPE_OBJECT` |
| `DATA_TYPE_NUM_ARRAY` |
| `DATA_TYPE_STRING_ARRAY` |
| `DATA_TYPE_BOOL_ARRAY` |
| `DATA_TYPE_ARRAY_ARRAY` |
| `DATA_TYPE_OBJECT_ARRAY` |
| `DATA_TYPE_NULL` |
| `DATA_TYPE_NULL_ARRAY` |
| `DATA_TYPE_EMPTY_ARRAY` |
FieldReservation
| Value |
| -------------------------------------------- |
| `FIELD_RESERVATION_NOT_RESERVED_UNSPECIFIED` |
| `FIELD_RESERVATION_RESERVED` |
WriteToDatasetMode
| Value |
| ----------------------------------- |
| `WRITE_TO_DATASET_MODE_UNSPECIFIED` |
| `WRITE_TO_DATASET_MODE_OVERWRITE` |
| `WRITE_TO_DATASET_MODE_APPEND` |
Namespace
| Value |
| ----------------------- |
| `NAMESPACE_UNSPECIFIED` |
| `NAMESPACE_METADATA` |
| `NAMESPACE_LABELS` |
| `NAMESPACE_USER_DATA` |
SchemaType
| Value |
| ------------------------------ |
| `SCHEMA_TYPE_UNSPECIFIED` |
| `SCHEMA_TYPE_STRING` |
| `SCHEMA_TYPE_TIMESTAMP_NANOS` |
| `SCHEMA_TYPE_TIMESTAMP_MICROS` |
ProviderType
| Value |
| --------------------------- |
| `PROVIDER_TYPE_UNSPECIFIED` |
| `PROVIDER_TYPE_S3` |
| `PROVIDER_TYPE_IBM_COS` |
PartitioningScheme
| Value |
| --------------------------------- |
| `PARTITIONING_SCHEME_UNSPECIFIED` |
| `PARTITIONING_SCHEME_DT_HR` |
ArchivingFormatId
| Value |
| ------------------------------------- |
| `ARCHIVING_FORMAT_ID_UNSPECIFIED` |
| `ARCHIVING_FORMAT_ID_WIDE_PARQUET_V1` |
OrderBy
| Value |
| ---------------------- |
| `ORDER_BY_UNSPECIFIED` |
| `ORDER_BY_UPDATED_AT` |
| `ORDER_BY_CREATED_AT` |
| `ORDER_BY_COMPANY_ID` |
OrderDirection
| Value |
| ----------------------------- |
| `ORDER_DIRECTION_UNSPECIFIED` |
| `ORDER_DIRECTION_ASC` |
| `ORDER_DIRECTION_DESC` |
IbmBucketType
| Value |
| ----------------------------- |
| `IBM_BUCKET_TYPE_UNSPECIFIED` |
| `IBM_BUCKET_TYPE_EXTERNAL` |
| `IBM_BUCKET_TYPE_INTERNAL` |
CompressionType
| Value |
| ------------------------------ |
| `COMPRESSION_TYPE_UNSPECIFIED` |
| `COMPRESSION_TYPE_GZIP` |
CompressionType
| Value |
| ------------------------------ |
| `COMPRESSION_TYPE_UNSPECIFIED` |
| `COMPRESSION_TYPE_GZIP` |
CompressionType
| Value |
| ------------------------------ |
| `COMPRESSION_TYPE_UNSPECIFIED` |
| `COMPRESSION_TYPE_GZIP` |
CompressionType
| Value |
| ------------------------------ |
| `COMPRESSION_TYPE_UNSPECIFIED` |
| `COMPRESSION_TYPE_GZIP` |
| `COMPRESSION_TYPE_ZSTANDARD` |
FieldType
| Value |
| ----------------------------- |
| `FIELD_TYPE_UNSPECIFIED` |
| `FIELD_TYPE_STRING` |
| `FIELD_TYPE_STRING_ARRAY` |
| `FIELD_TYPE_TIMESTAMP_NANOS` |
| `FIELD_TYPE_TIMESTAMP_MICROS` |
Version
| Value |
| --------------------- |
| `VERSION_UNSPECIFIED` |
| `VERSION_V1` |
| `VERSION_V3` |
Version
| Value |
| --------------------- |
| `VERSION_UNSPECIFIED` |
| `VERSION_V1` |
Version
| Value |
| --------------------- |
| `VERSION_UNSPECIFIED` |
| `VERSION_V1` |
# Update Retentions
Source: https://docs.coralogix.com/api-reference/v5/retentions-service/update-retentions
openapi_v5.yaml post /dataengine/retention-tags/v1
Creates a new retention tag.
# Create Role
Source: https://docs.coralogix.com/api-reference/v5/role-management-service/create-role
openapi_v5.yaml put /aaa/custom-roles/v1
Creates a new custom role.
# Delete Role
Source: https://docs.coralogix.com/api-reference/v5/role-management-service/delete-role
openapi_v5.yaml delete /aaa/custom-roles/v1/{role_id}
Deletes the custom role with the specified ID.
# Get Custom Role
Source: https://docs.coralogix.com/api-reference/v5/role-management-service/get-custom-role
openapi_v5.yaml get /aaa/custom-roles/v1/{role_id}
Returns the details of the specified custom role.
# List Custom Roles
Source: https://docs.coralogix.com/api-reference/v5/role-management-service/list-custom-roles
openapi_v5.yaml get /aaa/custom-roles/v1
Returns all custom roles for the authenticated team.
# List System Roles
Source: https://docs.coralogix.com/api-reference/v5/role-management-service/list-system-roles
openapi_v5.yaml get /aaa/system-roles/v1
Returns all built-in system roles.
# Update Role
Source: https://docs.coralogix.com/api-reference/v5/role-management-service/update-role
openapi_v5.yaml post /aaa/custom-roles/v1/{role_id}
Updates the specified custom role.
# Bulk Delete Rule Group
Source: https://docs.coralogix.com/api-reference/v5/rule-groups-service/bulk-delete-rule-group
openapi_v5.yaml delete /parsing-rules/rule-groups/v1
Deletes all parsing rule groups.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/rule-groups-service/overview
# Rule Groups service overview
A service to manage rule groups.
## Common error response codes
| Status Code | Description |
| --------------------------- | ----------------- |
| `400 Bad Request` | Response code 400 |
| `401 Unauthorized` | Response code 401 |
| `500 Internal Server Error` | Response code 500 |
## Constants
Value
| Value |
| ---------------------------- |
| `VALUE_DEBUG_OR_UNSPECIFIED` |
| `VALUE_VERBOSE` |
| `VALUE_INFO` |
| `VALUE_WARNING` |
| `VALUE_ERROR` |
| `VALUE_CRITICAL` |
DestinationField
| Value |
| ------------------------------------------- |
| `DESTINATION_FIELD_CATEGORY_OR_UNSPECIFIED` |
| `DESTINATION_FIELD_CLASSNAME` |
| `DESTINATION_FIELD_METHODNAME` |
| `DESTINATION_FIELD_THREADID` |
| `DESTINATION_FIELD_SEVERITY` |
| `DESTINATION_FIELD_TEXT` |
FormatStandard
| Value |
| ----------------------------------------- |
| `FORMAT_STANDARD_STRFTIME_OR_UNSPECIFIED` |
| `FORMAT_STANDARD_JAVASDF` |
| `FORMAT_STANDARD_GOLANG` |
| `FORMAT_STANDARD_SECONDSTS` |
| `FORMAT_STANDARD_MILLITS` |
| `FORMAT_STANDARD_MICROTS` |
| `FORMAT_STANDARD_NANOTS` |
# Create Rule Group
Source: https://docs.coralogix.com/api-reference/v5/rule-groups-service/create-rule-group
openapi_v5.yaml post /parsing-rules/rule-groups/v1
Creates a new parsing rule group.
# Delete Rule Group
Source: https://docs.coralogix.com/api-reference/v5/rule-groups-service/delete-rule-group
openapi_v5.yaml delete /parsing-rules/rule-groups/v1/{group_id}
Deletes the parsing rule group with the specified ID.
# Get Company Usage Limits
Source: https://docs.coralogix.com/api-reference/v5/rule-groups-service/get-company-usage-limits
openapi_v5.yaml post /parsing-rules/limits/v1
Returns parsing rule usage limits.
# Get Rule Group
Source: https://docs.coralogix.com/api-reference/v5/rule-groups-service/get-rule-group
openapi_v5.yaml get /parsing-rules/rule-groups/v1/{group_id}
Returns the details of the specified parsing rule group.
# Get Rule Group Model Mapping
Source: https://docs.coralogix.com/api-reference/v5/rule-groups-service/get-rule-group-model-mapping
openapi_v5.yaml post /parsing-rules/mapping/v1
Returns the model mapping for a parsing rule group.
# List Rule Groups
Source: https://docs.coralogix.com/api-reference/v5/rule-groups-service/list-rule-groups
openapi_v5.yaml get /parsing-rules/rule-groups/v1
Returns all parsing rule groups for the team.
# Update Rule Group
Source: https://docs.coralogix.com/api-reference/v5/rule-groups-service/update-rule-group
openapi_v5.yaml put /parsing-rules/rule-groups/v1/{group_id}
Updates the specified parsing rule group.
# Activate/Deactivate SAML
Source: https://docs.coralogix.com/api-reference/v5/saml-configuration-service/activatedeactivate-saml
openapi_v5.yaml post /aaa/team-saml/v1/active
Activates or deactivates SAML for the team.
# Get SAML Configuration
Source: https://docs.coralogix.com/api-reference/v5/saml-configuration-service/get-saml-configuration
openapi_v5.yaml get /aaa/team-saml/v1/configuration
Returns the current SAML configuration for the team.
# Get SP Parameters
Source: https://docs.coralogix.com/api-reference/v5/saml-configuration-service/get-sp-parameters
openapi_v5.yaml get /aaa/team-saml/v1/sp_parameters
Returns the service provider parameters for SAML.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/saml-configuration-service/overview
# SAML Configuration service overview
The Coralogix SAML Configuration API enables secure setup and management of SAML-based Single Sign-On (SSO) for team authentication. This API allows you to programmatically retrieve and configure both service provider (SP) and identity provider (IDP) parameters, activate or deactivate SSO, and view current authentication settings. It supports secure, team-scoped operations for full lifecycle control of your SAML integration.
## Constants
AssignableTo
| Value |
| --------------------------- |
| `ASSIGNABLE_TO_UNSPECIFIED` |
| `ASSIGNABLE_TO_USER_GROUP` |
| `ASSIGNABLE_TO_API_KEY` |
FilterType
| Value |
| ------------------------- |
| `FILTER_TYPE_UNSPECIFIED` |
| `FILTER_TYPE_STARTS_WITH` |
| `FILTER_TYPE_ENDS_WITH` |
| `FILTER_TYPE_CONTAINS` |
| `FILTER_TYPE_EXACT` |
UserStatus
| Value |
| ------------------------- |
| `USER_STATUS_UNSPECIFIED` |
| `USER_STATUS_ACTIVE` |
| `USER_STATUS_INACTIVE` |
GroupOrigin
| Value |
| --------------------------- |
| `GROUP_ORIGIN_UNSPECIFIED` |
| `GROUP_ORIGIN_BUILT_IN` |
| `GROUP_ORIGIN_USER_DEFINED` |
Resource
| Value |
| ---------------------- |
| `RESOURCE_UNSPECIFIED` |
Action
| Value |
| -------------------- |
| `ACTION_UNSPECIFIED` |
PermissionGroup
| Value |
| ------------------------------ |
| `PERMISSION_GROUP_UNSPECIFIED` |
Permission
| Value |
| ------------------------ |
| `PERMISSION_UNSPECIFIED` |
PredefinedLandingPage
| Value |
| --------------------------------------------- |
| `PREDEFINED_LANDING_PAGE_UNSPECIFIED` |
| `PREDEFINED_LANDING_PAGE_HOME_DASHBOARD` |
| `PREDEFINED_LANDING_PAGE_CUSTOM_DASHBOARD` |
| `PREDEFINED_LANDING_PAGE_EXPLORE_LOGS` |
| `PREDEFINED_LANDING_PAGE_EXPLORE_TRACING` |
| `PREDEFINED_LANDING_PAGE_INCIDENTS` |
| `PREDEFINED_LANDING_PAGE_LIVETAIL` |
| `PREDEFINED_LANDING_PAGE_RUM_ERROR_TRACKING` |
| `PREDEFINED_LANDING_PAGE_RUM_USER_SESSIONS` |
| `PREDEFINED_LANDING_PAGE_RUM_WEB_VITALS` |
| `PREDEFINED_LANDING_PAGE_APM_SERVICE_CATALOG` |
| `PREDEFINED_LANDING_PAGE_CSPM_OVERVIEW` |
AssertionError
| Value |
| ---------------------------------------- |
| `ASSERTION_ERROR_UNSPECIFIED` |
| `ASSERTION_ERROR_SIGNATURE` |
| `ASSERTION_ERROR_AUDIENCE` |
| `ASSERTION_ERROR_UNRESOLVED_SAML_CONFIG` |
# Set IDP Parameters
Source: https://docs.coralogix.com/api-reference/v5/saml-configuration-service/set-idp-parameters
openapi_v5.yaml post /aaa/team-saml/v1/idp_parameters
Sets the identity provider parameters for SAML.
# Create Scope
Source: https://docs.coralogix.com/api-reference/v5/scopes-service/create-scope
openapi_v5.yaml post /aaa/team-scopes/v1
Creates a new data access scope.
# Delete Scope
Source: https://docs.coralogix.com/api-reference/v5/scopes-service/delete-scope
openapi_v5.yaml delete /aaa/team-scopes/v1/{id}
Deletes the data access scope with the specified ID.
# Get Team Scopes
Source: https://docs.coralogix.com/api-reference/v5/scopes-service/get-team-scopes
openapi_v5.yaml get /aaa/team-scopes/v1/all/list
Returns all data access scopes for the team.
# Get Team Scopes By Ids
Source: https://docs.coralogix.com/api-reference/v5/scopes-service/get-team-scopes-by-ids
openapi_v5.yaml get /aaa/team-scopes/v1
Returns a data access scope by ID.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/scopes-service/overview
# Scopes service overview
The Scopes Service provides API capabilities to manage data scopes within Coralogix, enabling fine-grained segmentation of logs and metrics for specific teams, applications, or services. A scope defines a logical boundary using entity filters and expressions, allowing for controlled visibility, permissions, and team-specific access. This service allows users to create, retrieve (individually or in bulk), update, and delete scopes tied to a team. Each scope includes metadata such as a display name, description, team ID, and customizable filters targeting specific entity types.
## Constants
EntityType
| Value |
| ------------------------- |
| `ENTITY_TYPE_UNSPECIFIED` |
| `ENTITY_TYPE_LOGS` |
| `ENTITY_TYPE_SPANS` |
# Update Scope
Source: https://docs.coralogix.com/api-reference/v5/scopes-service/update-scope
openapi_v5.yaml put /aaa/team-scopes/v1
Updates an existing data access scope.
# Batch Execute Slo
Source: https://docs.coralogix.com/api-reference/v5/slos-service/batch-execute-slo
openapi_v5.yaml post /slo/slos/v1/all/execute
Triggers execution for all SLOs.
# Batch Get Slo
Source: https://docs.coralogix.com/api-reference/v5/slos-service/batch-get-slo
openapi_v5.yaml get /slo/slos/v1/all/list
Returns all SLOs for the team.
# Create Slo
Source: https://docs.coralogix.com/api-reference/v5/slos-service/create-slo
openapi_v5.yaml post /slo/slos/v1
Creates a new SLO.
# Delete Slo
Source: https://docs.coralogix.com/api-reference/v5/slos-service/delete-slo
openapi_v5.yaml delete /slo/slos/v1/{id}
Deletes the SLO with the specified ID.
# Get Slo
Source: https://docs.coralogix.com/api-reference/v5/slos-service/get-slo
openapi_v5.yaml get /slo/slos/v1/{id}
Returns the details of the specified SLO.
# Get Slo Zero State
Source: https://docs.coralogix.com/api-reference/v5/slos-service/get-slo-zero-state
openapi_v5.yaml get /slo/zero-state/v1
Returns the zero-state configuration for SLOs.
# List Slos
Source: https://docs.coralogix.com/api-reference/v5/slos-service/list-slos
openapi_v5.yaml get /slo/slos/v1
Returns SLOs matching the given criteria.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/slos-service/overview
# SLO Service overview
Manage your SLOs.
## Common error response codes
| Status Code | Description |
| --------------------------- | ----------------- |
| `400 Bad Request` | Response code 400 |
| `401 Unauthorized` | Response code 401 |
| `500 Internal Server Error` | Response code 500 |
## Constants
K8sFilter
| Value |
| ------------------------ |
| `K8S_FILTER_UNSPECIFIED` |
| `K8S_FILTER_NAMESPACE` |
| `K8S_FILTER_NODE` |
| `K8S_FILTER_APP` |
| `K8S_FILTER_POD` |
| `K8S_FILTER_CLUSTER` |
K8sObject
| Value |
| ------------------------ |
| `K8S_OBJECT_UNSPECIFIED` |
| `K8S_OBJECT_POD` |
| `K8S_OBJECT_NODE` |
| `K8S_OBJECT_APP` |
Feature
| Value |
| ----------------------- |
| `FEATURE_UNSPECIFIED` |
| `FEATURE_K8S_DASHBOARD` |
OrderByDirection
| Value |
| -------------------------------- |
| `ORDER_BY_DIRECTION_UNSPECIFIED` |
| `ORDER_BY_DIRECTION_ASC` |
| `ORDER_BY_DIRECTION_DESC` |
CompareType
| Value |
| -------------------------- |
| `COMPARE_TYPE_UNSPECIFIED` |
| `COMPARE_TYPE_IS` |
| `COMPARE_TYPE_START_WITH` |
| `COMPARE_TYPE_ENDS_WITH` |
| `COMPARE_TYPE_INCLUDES` |
SloStatus
| Value |
| ------------------------ |
| `SLO_STATUS_UNSPECIFIED` |
| `SLO_STATUS_OK` |
| `SLO_STATUS_BREACHED` |
SliMetricType
| Value |
| ----------------------------- |
| `SLI_METRIC_TYPE_UNSPECIFIED` |
| `SLI_METRIC_TYPE_ERROR` |
| `SLI_METRIC_TYPE_LATENCY` |
| `SLI_METRIC_TYPE_CUSTOM` |
ThresholdSymbol
| Value |
| ----------------------------------- |
| `THRESHOLD_SYMBOL_UNSPECIFIED` |
| `THRESHOLD_SYMBOL_GREATER` |
| `THRESHOLD_SYMBOL_GREATER_OR_EQUAL` |
| `THRESHOLD_SYMBOL_LESS` |
| `THRESHOLD_SYMBOL_LESS_OR_EQUAL` |
| `THRESHOLD_SYMBOL_EQUAL` |
| `THRESHOLD_SYMBOL_NOT_EQUAL` |
SloPeriod
| Value |
| ------------------------ |
| `SLO_PERIOD_UNSPECIFIED` |
| `SLO_PERIOD_7_DAYS` |
| `SLO_PERIOD_14_DAYS` |
| `SLO_PERIOD_30_DAYS` |
Unit
| Value |
| -------------------------- |
| `UNIT_UNSPECIFIED` |
| `UNIT_BYTES` |
| `UNIT_MESSAGES` |
| `UNIT_MESSAGES_PER_SECOND` |
| `UNIT_BYTES_PER_SECOND` |
| `UNIT_SECONDS` |
| `UNIT_MILLISECONDS` |
| `UNIT_X_PER_SECOND` |
| `UNIT_PERCENT` |
| `UNIT_MICROSECONDS` |
| `UNIT_MESSAGES_PER_MINUTE` |
| `UNIT_X_PER_MINUTE` |
| `UNIT_MEGABYTES` |
# Replace Slo
Source: https://docs.coralogix.com/api-reference/v5/slos-service/replace-slo
openapi_v5.yaml put /slo/slos/v1
Updates an existing SLO.
# Replace Slo Pre-Validate Alerts
Source: https://docs.coralogix.com/api-reference/v5/slos-service/replace-slo-pre-validate-alerts
openapi_v5.yaml put /slo/validated/v1
Validates and updates an SLO.
# Get target
Source: https://docs.coralogix.com/api-reference/v5/target-service/get-target
openapi_v5.yaml get /logs/data-setup/v2
Returns the current log archive target configuration.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/target-service/overview
# Target service overview
Coralogix Archive Target API allows customers to configure, validate, and retrieve external storage targets for long-term log retention, such as Amazon S3. This public API helps ensure reliable cold storage setup and compliance across environments.
## Constants
Namespace
| Value |
| ----------------------- |
| `NAMESPACE_UNSPECIFIED` |
| `NAMESPACE_METADATA` |
| `NAMESPACE_LABELS` |
| `NAMESPACE_USER_DATA` |
SchemaType
| Value |
| ------------------------------ |
| `SCHEMA_TYPE_UNSPECIFIED` |
| `SCHEMA_TYPE_STRING` |
| `SCHEMA_TYPE_TIMESTAMP_NANOS` |
| `SCHEMA_TYPE_TIMESTAMP_MICROS` |
ProviderType
| Value |
| --------------------------- |
| `PROVIDER_TYPE_UNSPECIFIED` |
| `PROVIDER_TYPE_S3` |
| `PROVIDER_TYPE_IBM_COS` |
PartitioningScheme
| Value |
| --------------------------------- |
| `PARTITIONING_SCHEME_UNSPECIFIED` |
| `PARTITIONING_SCHEME_DT_HR` |
ArchivingFormatId
| Value |
| ------------------------------------- |
| `ARCHIVING_FORMAT_ID_UNSPECIFIED` |
| `ARCHIVING_FORMAT_ID_WIDE_PARQUET_V1` |
OrderBy
| Value |
| ---------------------- |
| `ORDER_BY_UNSPECIFIED` |
| `ORDER_BY_UPDATED_AT` |
| `ORDER_BY_CREATED_AT` |
| `ORDER_BY_COMPANY_ID` |
OrderDirection
| Value |
| ----------------------------- |
| `ORDER_DIRECTION_UNSPECIFIED` |
| `ORDER_DIRECTION_ASC` |
| `ORDER_DIRECTION_DESC` |
IbmBucketType
| Value |
| ----------------------------- |
| `IBM_BUCKET_TYPE_UNSPECIFIED` |
| `IBM_BUCKET_TYPE_EXTERNAL` |
| `IBM_BUCKET_TYPE_INTERNAL` |
# Set target
Source: https://docs.coralogix.com/api-reference/v5/target-service/set-target
openapi_v5.yaml post /logs/data-setup/v2
Sets the log archive target configuration.
# Create Team Group
Source: https://docs.coralogix.com/api-reference/v5/team-groups-management-service/create-team-group
openapi_v5.yaml post /aaa/team-groups/v2
Creates a new team group.
# Delete Team Group
Source: https://docs.coralogix.com/api-reference/v5/team-groups-management-service/delete-team-group
openapi_v5.yaml delete /aaa/team-groups/v2/{group_id}
Deletes the team group with the specified ID.
# Get Group Users
Source: https://docs.coralogix.com/api-reference/v5/team-groups-management-service/get-group-users
openapi_v5.yaml get /aaa/team-groups/v2/{group_id}/users/list
Returns all users in the specified team group.
# Get Team Group
Source: https://docs.coralogix.com/api-reference/v5/team-groups-management-service/get-team-group
openapi_v5.yaml get /aaa/team-groups/v2/id/{group_id}
Returns the team group with the specified ID.
# Get Team Group By Name
Source: https://docs.coralogix.com/api-reference/v5/team-groups-management-service/get-team-group-by-name
openapi_v5.yaml get /aaa/team-groups/v2/name/{name}
Returns the team group with the specified name.
# Get Team Groups
Source: https://docs.coralogix.com/api-reference/v5/team-groups-management-service/get-team-groups
openapi_v5.yaml get /aaa/team-groups/v2
Returns all team groups.
# Update Team Group
Source: https://docs.coralogix.com/api-reference/v5/team-groups-management-service/update-team-group
openapi_v5.yaml put /aaa/team-groups/v2/{group_id}
Updates the specified team group.
# Activate/Revoke Users
Source: https://docs.coralogix.com/api-reference/v5/users-management-service/activaterevoke-users
openapi_v5.yaml patch /aaa/teams/v2/{team_id}/members:updateStatuses
Updates the active status of multiple team members.
# Create Users
Source: https://docs.coralogix.com/api-reference/v5/users-management-service/create-users
openapi_v5.yaml post /aaa/teams/v2/{team_id}/members
Adds members to the specified team.
# Get User
Source: https://docs.coralogix.com/api-reference/v5/users-management-service/get-user
openapi_v5.yaml get /aaa/teams/v2/{team_id}/members/{user_account_id}
Returns the details of a specific team member.
# Overview
Source: https://docs.coralogix.com/api-reference/v5/users-management-service/overview
# Users Management service overview
The Users Management service provides programmatic, team-scoped administration of users in Coralogix. Use it to create a user in a team, update a user's attributes, activate or revoke one or more users, retrieve a single user by account ID, or search users in a team by username and status. All operations are scoped to a `team_id` path parameter. This is the API behind the Team Members page; see the [Manage team members](https://coralogix.com/docs/user-guides/account-management/user-management/manage-team-members/) user guide for the corresponding UI and the [Teams](https://coralogix.com/docs/user-guides/account-management/user-management/teams/) and [Groups](https://coralogix.com/docs/user-guides/account-management/user-management/assign-user-roles-and-scopes-via-groups/) guides for the underlying user, group, and permission model.
## Methods
| Method | Path | Description |
| ------- | --------------------------------------------------- | ----------------------------------------------- |
| `POST` | `/aaa/teams/v2/{team_id}/members` | Create a user in a team. |
| `PUT` | `/aaa/teams/v2/{team_id}/members` | Update a user in a team. |
| `PATCH` | `/aaa/teams/v2/{team_id}/members/status` | Activate or revoke one or more users in a team. |
| `GET` | `/aaa/teams/v2/{team_id}/members/{user_account_id}` | Retrieve a single user by account ID. |
| `GET` | `/aaa/teams/v2/{team_id}/search` | Search users in a team by username and status. |
# Search Users
Source: https://docs.coralogix.com/api-reference/v5/users-management-service/search-users
openapi_v5.yaml get /aaa/teams/v2/{team_id}/search
Searches for team members by query.
# Update Users
Source: https://docs.coralogix.com/api-reference/v5/users-management-service/update-users
openapi_v5.yaml put /aaa/teams/v2/{team_id}/members
Updates team members for the specified team.
# Create a view service
Source: https://docs.coralogix.com/api-reference/v5/views-service/create-a-view-service
openapi_v5.yaml post /data-exploration/views/v1/views
Creates a new view
# Delete view service
Source: https://docs.coralogix.com/api-reference/v5/views-service/delete-view-service
openapi_v5.yaml delete /data-exploration/views/v1/views/{id}
Deletes a view by ID
# Get view service
Source: https://docs.coralogix.com/api-reference/v5/views-service/get-view-service
openapi_v5.yaml get /data-exploration/views/v1/views/{id}
Gets a view by ID
# List views service
Source: https://docs.coralogix.com/api-reference/v5/views-service/list-views-service
openapi_v5.yaml get /data-exploration/views/v1/views
Lists all company public views
# Overview
Source: https://docs.coralogix.com/api-reference/v5/views-service/overview
# Views service overview
Coralogix Views enable users to save and manage customized data explorations, including search queries, filters, and time ranges. The API supports full CRUD operations to create, update, retrieve, list, and delete views. Each view encapsulates query logic, visual parameters (e.g., compact mode), and optional folder grouping, allowing teams to reuse or share analytical configurations across environments. This service helps streamline common investigation patterns and promotes consistency in observability workflows.
# Replace a view service
Source: https://docs.coralogix.com/api-reference/v5/views-service/replace-a-view-service
openapi_v5.yaml put /data-exploration/views/v1/views/{id}
Replaces an existing view
# Copy a dashboard
Source: https://docs.coralogix.com/copy_a_dashboard
# Use case: Copy a Dashboard
This use case demonstrates how to duplicate an existing dashboard by retrieving its configuration and posting it as a new dashboard.
## Steps
**1. (Optional) List available dashboards**
If you don't already have the `dashboard_id` of the source dashboard, use this endpoint to list existing dashboards.
**GET** `/dashboards/catalog`
### Sample response
```json theme={null}
{
"items": [
{
"id": "qw5k07W8SYBxp6h1m1EN9",
"name": "K8s dashboard",
"description": "A23 updated desc",
"isDefault": false,
"isPinned": true,
"createTime": "2024-10-22T09:28:31.538Z",
"updateTime": "2025-02-11T11:02:32.534Z",
"folder": {
"id": "ebee6dd5-078b-44ca-f901-ba9722b17d6e",
"name": "Infra"
},
"isLocked": true
}
]
}
```
!!! Note
Note the ID of the dashboard you want to copy.
**2. Retrieve the dashboard by ID**
**GET** `/dashboards/{dashboard_id}`
Use the ID from the previous step to fetch the full dashboard definition.
### Example
**GET** `/dashboards/qw5k07W8SYBxp6h1m1EN9`
**3. Copy the dashboard**
Take the response from the previous step and remove the following fields:
* `id`
* `createTime`- `updateTime`
Update any fields if needed, then send the remaining data as the body to create a new dashboard.
**POST** `/dashboards`
### Sample request body
```json theme={null}
{
"name": "K8s dashboard (Copy)",
"description": "Copied from K8s dashboard",
"variables": [
{
"name": "env",
"definition": {
"multiSelect": {
"source": {
"query": {
"query": {
"logsQuery": {
"type": {
"fieldValue": {
"observationField": {
"keypath": ["environment"],
"scope": "DATASET_SCOPE_USER_DATA"
}
}
}
}
}
}
}
}
}
}
],
"relativeTimeFrame": "3600s",
"folderId": {
"value": "ebee6dd5-078b-44ca-f901-ba9722b17d6e"
},
"annotations": [
{
"name": "sample",
"enabled": true,
"source": {
"logs": {
"luceneQuery": {
"value": "coralogix.metadata.subsystemName=\"resource\""
},
"strategy": {
"instant": {
"timestampField": {
"keypath": ["timestamp"],
"scope": "DATASET_SCOPE_METADATA"
}
}
},
"labelFields": [
{
"keypath": ["severity"],
"scope": "DATASET_SCOPE_METADATA"
}
]
}
}
}
]
}
```
### Summary
| Action | Endpoint | Notes |
| -------------------- | -------------------------------- | -------------------------------------------- |
| List dashboards | `GET /dashboards/catalog` | Optional: use to select the source dashboard |
| Get dashboard by ID | `GET /dashboards/{dashboard_id}` | Fetch full config of dashboard |
| Create new dashboard | `POST /dashboards` | Submit updated body to create a copy |
# Create an alert with an outgoing webhook
Source: https://docs.coralogix.com/create_an_alert_with_an_outgoing_webhook
# Use case: Create an alert with an outgoing webhook
This guide demonstrates how to create an alert that sends notifications through an outgoing webhook (e.g., Slack) using the REST API. The flow involves:
1. Creating a webhook integration
2. Testing the webhook
3. Listing webhooks to retrieve `integrationId`
4. Creating the alert definition
## Steps
1. **Create a webhook integration**
**POST** `/v1/outgoing-webhooks`
Create a new webhook integration to send notifications to Slack. The current webhook configuration enables notifications about error and critical logs, spike anomalies, and data usage. The alert message is also configured to include a snapshot of metric data.
| **Field** | **Description** |
| ------------- | ----------------------------------- |
| `type` | Integration type (e.g.,`2` = Slack) |
| `url` | Webhook destination URL |
| `digests` | Events that trigger notifications |
| `attachments` | Metric snapshots |
### Supported webhook types
| **Value** | **Name** | **Description** |
| --------- | ------------------------- | ------------------------ |
| 0 | `UNKNOWN` | Default or undefined |
| 1 | `GENERIC` | Generic webhook |
| 2 | `SLACK` | Slack integration |
| 3 | `PAGERDUTY` | PagerDuty integration |
| 4 | `SEND_LOG` | Log forwarding webhook |
| 5 | `EMAIL_GROUP` | Email group notification |
| 6 | `MICROSOFT_TEAMS` | Microsoft Teams |
| 7 | `JIRA` | Jira integration |
| 8 | `OPSGENIE` | Opsgenie integration |
| 9 | `DEMISTO` | Demisto |
| 10 | `AWS_EVENT_BRIDGE` | AWS EventBridge |
| 11 | `IBM_EVENT_NOTIFICATIONS` | IBM Event Notifications |
| 12 | `MS_TEAMS_WORKFLOW` | MS Teams workflow app |
### Request body
```bnf theme={null}
{
"data": {
"type": 2, // SLACK
"name": "SlackWebhook",
"url": "https://hooks.slack.com/services/T2KG0NT2T/A05JJ8MG3FV/PHWHCuXXqFDnWA5ndsCJWRRB",
"config": {
"$case": "slack",
"slack": {
"digests": [
{
"type": 1, // ERROR_AND_CRITICAL_LOGS
"isActive": true
},
{
"type": 3, // SPIKE_ANOMALIES
"isActive": true
},
{
"type": 4, // DATA_USAGE
"isActive": true
}
],
"attachments": [
{
"type": 1, // METRIC_SNAPSHOT
"isActive": true
}
]
}
}
}
}
```
2. **Test outgoing webhook**
**POST** `/v1/outgoing-webhooks/test`
To validate the webhook configuration, send a test request.
### Request body
Same as the create payload above.
### **Successful response**
```bnf theme={null}
{
"result": {
"$case": "success",
"success": {}
}
}
```
3. **Retrieve webhook integration ID**
**GET** `/v1/outgoing-webhooks/all`
Use the **List Outgoing Webhooks** API to retrieve the list of available integrations. From the response, extract the `externalId` of the webhook you just created—this will be used as `integrationId` in the alert definition.
**Sample response**
```
{
"deployed": [
{
"id": "n8F2B116-d401-49a3-ag79-3f9a66ff4b2a",
"type": "AWS_EVENT_BRIDGE",
"name": "EventBridge-Alerts",
"createdAt": "2024-02-21T18:01:36.690012Z",
"updatedAt": "2024-05-22T07:54:19.753346Z",
"externalId": 13490
},
{
"id": "0ac29499-4b1b-42bj-a249-97204c136f6e",
"type": "EMAIL_GROUP",
"name": "Alert_Email_Group",
"createdAt": "2022-01-11T12:10:12Z",
"updatedAt": "2022-07-28T09:35:07Z",
"externalId": 3722
}
]
}
```
4. **Create an alert with the webhook**
**POST** `/v3/alert-defs`
Now that you have the `integrationId`, you can define an alert and specify the webhook as a notification destination.
```bnf theme={null}
{
"alertDefProperties": {
"deleted": false,
"enabled": true,
"phantomMode": false,
"groupByKeys": [],
"name": "Logs Threshold Alert",
"description": "",
"priority": 0,
"type": 1, // ALERT_DEF_TYPE_LOGS_THRESHOLD
"incidentsSettings": {
"notifyOn": 0,
"retriggeringPeriod": {
"$case": "minutes",
"minutes": 5
}
},
"notificationGroup": {
"groupByKeys": [],
"webhooks": [
{
"integration": {
"integrationType": {
"$case": "integrationId",
"integrationId": 172196
}
}
}
],
"destinations": []
},
"notificationGroupExcess": [],
"entityLabels": {},
"typeDefinition": {
"$case": "logsThreshold",
"logsThreshold": {
"notificationPayloadFilter": [],
"logsFilter": {
"filterType": {
"$case": "simpleFilter",
"simpleFilter": {
"luceneQuery": "",
"labelFilters": {
"applicationName": [
{
"value": "aws-lambda",
"operation": 0
}
],
"subsystemName": [],
"severities": []
}
}
}
},
"rules": [
{
"condition": {
"threshold": 1,
"conditionType": 0,
"timeWindow": {
"type": {
"$case": "logsTimeWindowSpecificValue",
"logsTimeWindowSpecificValue": 0
}
}
},
"override": {
"priority": 0
}
}
],
"evaluationDelayMs": null
}
}
}
}
```
## Summary
| Create webhook | `POST /api/integrations/webhook` | Define the outgoing integration |
| -------------- | ------------------------------------- | ------------------------------------ |
| Test webhook | `POST /api/integrations/webhook/test` | Optional but recommended |
| Get webhook ID | `GET /api/integrations/webhook` | Extract `externalId` |
| Create alert | `POST /api/alerts` | Attach webhook using `integrationId` |
# Setup kubernetes complete observability integration
Source: https://docs.coralogix.com/setup_kubernetes_complete_observability_integration
# Use case: Setup Kubernetes Complete Observability integration
Coralogix’s Kubernetes Complete Observability provides a comprehensive solution for full-stack observability in your Kubernetes environment. View all of your nodes, pods and cluster metrics, pod logs, and k8s events, as well as your distributed traces pipeline. Take advantage of our Kubernetes Dashboard using our pre-configured OpenTelemetry Collector.
## Prerequisites
* A Coralogix **Send-Your-Data API key**
* **Helm v3.9+** installed and configured
* Your [Coralogix domain](https://coralogix.com/docs/user-guides/account-management/account-settings/coralogix-domain/) (e.g., `eu2.coralogix.com`)
* A Kubernetes secret named `coralogix-keys`, that includes the key `PRIVATE_KEY`.
If not already created, run:
```json theme={null}
kubectl create secret generic coralogix-keys --from-literal=PRIVATE_KEY=""
```
## Steps
**Step 1: Install the Helm Chart for the Integration**
```json theme={null}
helm repo add coralogix https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
helm repo update
```
Run the following command to deploy the integration. Make sure that you replace the `` with your cluster name and `` with your Coralogix domain.
```json theme={null}
helm upgrade --install otel-coralogix-integration coralogix/otel-integration --version=0.0.166 --render-subchart-notes --set global.domain="" --set global.clusterName=""
```
**Step 2: Obtain your API key ID**
Navigate to **Settings → Keys** to download the details of the Send-Your-Data API key you choose to use for this integration.
Open the downloaded file and extract the `keyId` field value.
**Step 3: Register the Integration via API**
Use the following HTTP request to persist the integration metadata:
**POST** `/v1/integrations/metadata`
**Request Body**
```json theme={null}
{
"integrationKey": "otel-agent-k8s",
"version": "0.0.166",
"specificData": {
"$case": "integrationParameters",
"integrationParameters": {
"parameters": [
{
"key": "CollectorName",
"value": {
"$case": "stringValue",
"stringValue": "otel-collector-for-k8s"
}
},
{
"key": "ApplicationName",
"value": {
"$case": "stringValue",
"stringValue": "otel"
}
},
{
"key": "SubsystemName",
"value": {
"$case": "stringValue",
"stringValue": "integration"
}
},
{
"key": "PrivateKey",
"value": {
"$case": "apiKey",
"apiKey": {
"id": ""
}
}
},
{
"key": "LogsCollection",
"value": {
"$case": "booleanValue",
"booleanValue": true
}
}
]
}
}
}
```
**Sample response**
```json theme={null}
{
"integrationId": "07867979-55e5-4c73-8c54-474cd2f54124"
}
```
# Copy a dashboard
Source: https://docs.coralogix.com/copy_a_dashboard
# Use case: Copy a Dashboard
This use case demonstrates how to duplicate an existing dashboard by retrieving its configuration and posting it as a new dashboard.
## Steps
**1. (Optional) List available dashboards**
If you don't already have the `dashboard_id` of the source dashboard, use this endpoint to list existing dashboards.
**GET** `/dashboards/catalog`
### Sample response
```json theme={null}
{
"items": [
{
"id": "qw5k07W8SYBxp6h1m1EN9",
"name": "K8s dashboard",
"description": "A23 updated desc",
"isDefault": false,
"isPinned": true,
"createTime": "2024-10-22T09:28:31.538Z",
"updateTime": "2025-02-11T11:02:32.534Z",
"folder": {
"id": "ebee6dd5-078b-44ca-f901-ba9722b17d6e",
"name": "Infra"
},
"isLocked": true
}
]
}
```
!!! Note
Note the ID of the dashboard you want to copy.
**2. Retrieve the dashboard by ID**
**GET** `/dashboards/{dashboard_id}`
Use the ID from the previous step to fetch the full dashboard definition.
### Example
**GET** `/dashboards/qw5k07W8SYBxp6h1m1EN9`
**3. Copy the dashboard**
Take the response from the previous step and remove the following fields:
* `id`
* `createTime`- `updateTime`
Update any fields if needed, then send the remaining data as the body to create a new dashboard.
**POST** `/dashboards`
### Sample request body
```json theme={null}
{
"name": "K8s dashboard (Copy)",
"description": "Copied from K8s dashboard",
"variables": [
{
"name": "env",
"definition": {
"multiSelect": {
"source": {
"query": {
"query": {
"logsQuery": {
"type": {
"fieldValue": {
"observationField": {
"keypath": ["environment"],
"scope": "DATASET_SCOPE_USER_DATA"
}
}
}
}
}
}
}
}
}
}
],
"relativeTimeFrame": "3600s",
"folderId": {
"value": "ebee6dd5-078b-44ca-f901-ba9722b17d6e"
},
"annotations": [
{
"name": "sample",
"enabled": true,
"source": {
"logs": {
"luceneQuery": {
"value": "coralogix.metadata.subsystemName=\"resource\""
},
"strategy": {
"instant": {
"timestampField": {
"keypath": ["timestamp"],
"scope": "DATASET_SCOPE_METADATA"
}
}
},
"labelFields": [
{
"keypath": ["severity"],
"scope": "DATASET_SCOPE_METADATA"
}
]
}
}
}
]
}
```
### Summary
| Action | Endpoint | Notes |
| -------------------- | -------------------------------- | -------------------------------------------- |
| List dashboards | `GET /dashboards/catalog` | Optional: use to select the source dashboard |
| Get dashboard by ID | `GET /dashboards/{dashboard_id}` | Fetch full config of dashboard |
| Create new dashboard | `POST /dashboards` | Submit updated body to create a copy |
# Create an alert with an outgoing webhook
Source: https://docs.coralogix.com/create_an_alert_with_an_outgoing_webhook
# Use case: Create an alert with an outgoing webhook
This guide demonstrates how to create an alert that sends notifications through an outgoing webhook (e.g., Slack) using the REST API. The flow involves:
1. Creating a webhook integration
2. Testing the webhook
3. Listing webhooks to retrieve `integrationId`
4. Creating the alert definition
## Steps
1. **Create a webhook integration**
**POST** `/v1/outgoing-webhooks`
Create a new webhook integration to send notifications to Slack. The current webhook configuration enables notifications about error and critical logs, spike anomalies, and data usage. The alert message is also configured to include a snapshot of metric data.
| **Field** | **Description** |
| ------------- | ----------------------------------- |
| `type` | Integration type (e.g.,`2` = Slack) |
| `url` | Webhook destination URL |
| `digests` | Events that trigger notifications |
| `attachments` | Metric snapshots |
### Supported webhook types
| **Value** | **Name** | **Description** |
| --------- | ------------------------- | ------------------------ |
| 0 | `UNKNOWN` | Default or undefined |
| 1 | `GENERIC` | Generic webhook |
| 2 | `SLACK` | Slack integration |
| 3 | `PAGERDUTY` | PagerDuty integration |
| 4 | `SEND_LOG` | Log forwarding webhook |
| 5 | `EMAIL_GROUP` | Email group notification |
| 6 | `MICROSOFT_TEAMS` | Microsoft Teams |
| 7 | `JIRA` | Jira integration |
| 8 | `OPSGENIE` | Opsgenie integration |
| 9 | `DEMISTO` | Demisto |
| 10 | `AWS_EVENT_BRIDGE` | AWS EventBridge |
| 11 | `IBM_EVENT_NOTIFICATIONS` | IBM Event Notifications |
| 12 | `MS_TEAMS_WORKFLOW` | MS Teams workflow app |
### Request body
```bnf theme={null}
{
"data": {
"type": 2, // SLACK
"name": "SlackWebhook",
"url": "https://hooks.slack.com/services/T2KG0NT2T/A05JJ8MG3FV/PHWHCuXXqFDnWA5ndsCJWRRB",
"config": {
"$case": "slack",
"slack": {
"digests": [
{
"type": 1, // ERROR_AND_CRITICAL_LOGS
"isActive": true
},
{
"type": 3, // SPIKE_ANOMALIES
"isActive": true
},
{
"type": 4, // DATA_USAGE
"isActive": true
}
],
"attachments": [
{
"type": 1, // METRIC_SNAPSHOT
"isActive": true
}
]
}
}
}
}
```
2. **Test outgoing webhook**
**POST** `/v1/outgoing-webhooks/test`
To validate the webhook configuration, send a test request.
### Request body
Same as the create payload above.
### **Successful response**
```bnf theme={null}
{
"result": {
"$case": "success",
"success": {}
}
}
```
3. **Retrieve webhook integration ID**
**GET** `/v1/outgoing-webhooks/all`
Use the **List Outgoing Webhooks** API to retrieve the list of available integrations. From the response, extract the `externalId` of the webhook you just created—this will be used as `integrationId` in the alert definition.
**Sample response**
```
{
"deployed": [
{
"id": "n8F2B116-d401-49a3-ag79-3f9a66ff4b2a",
"type": "AWS_EVENT_BRIDGE",
"name": "EventBridge-Alerts",
"createdAt": "2024-02-21T18:01:36.690012Z",
"updatedAt": "2024-05-22T07:54:19.753346Z",
"externalId": 13490
},
{
"id": "0ac29499-4b1b-42bj-a249-97204c136f6e",
"type": "EMAIL_GROUP",
"name": "Alert_Email_Group",
"createdAt": "2022-01-11T12:10:12Z",
"updatedAt": "2022-07-28T09:35:07Z",
"externalId": 3722
}
]
}
```
4. **Create an alert with the webhook**
**POST** `/v3/alert-defs`
Now that you have the `integrationId`, you can define an alert and specify the webhook as a notification destination.
```bnf theme={null}
{
"alertDefProperties": {
"deleted": false,
"enabled": true,
"phantomMode": false,
"groupByKeys": [],
"name": "Logs Threshold Alert",
"description": "",
"priority": 0,
"type": 1, // ALERT_DEF_TYPE_LOGS_THRESHOLD
"incidentsSettings": {
"notifyOn": 0,
"retriggeringPeriod": {
"$case": "minutes",
"minutes": 5
}
},
"notificationGroup": {
"groupByKeys": [],
"webhooks": [
{
"integration": {
"integrationType": {
"$case": "integrationId",
"integrationId": 172196
}
}
}
],
"destinations": []
},
"notificationGroupExcess": [],
"entityLabels": {},
"typeDefinition": {
"$case": "logsThreshold",
"logsThreshold": {
"notificationPayloadFilter": [],
"logsFilter": {
"filterType": {
"$case": "simpleFilter",
"simpleFilter": {
"luceneQuery": "",
"labelFilters": {
"applicationName": [
{
"value": "aws-lambda",
"operation": 0
}
],
"subsystemName": [],
"severities": []
}
}
}
},
"rules": [
{
"condition": {
"threshold": 1,
"conditionType": 0,
"timeWindow": {
"type": {
"$case": "logsTimeWindowSpecificValue",
"logsTimeWindowSpecificValue": 0
}
}
},
"override": {
"priority": 0
}
}
],
"evaluationDelayMs": null
}
}
}
}
```
## Summary
| Create webhook | `POST /api/integrations/webhook` | Define the outgoing integration |
| -------------- | ------------------------------------- | ------------------------------------ |
| Test webhook | `POST /api/integrations/webhook/test` | Optional but recommended |
| Get webhook ID | `GET /api/integrations/webhook` | Extract `externalId` |
| Create alert | `POST /api/alerts` | Attach webhook using `integrationId` |
# Setup kubernetes complete observability integration
Source: https://docs.coralogix.com/setup_kubernetes_complete_observability_integration
# Use case: Setup Kubernetes Complete Observability integration
Coralogix’s Kubernetes Complete Observability provides a comprehensive solution for full-stack observability in your Kubernetes environment. View all of your nodes, pods and cluster metrics, pod logs, and k8s events, as well as your distributed traces pipeline. Take advantage of our Kubernetes Dashboard using our pre-configured OpenTelemetry Collector.
## Prerequisites
* A Coralogix **Send-Your-Data API key**
* **Helm v3.9+** installed and configured
* Your [Coralogix domain](https://coralogix.com/docs/user-guides/account-management/account-settings/coralogix-domain/) (e.g., `eu2.coralogix.com`)
* A Kubernetes secret named `coralogix-keys`, that includes the key `PRIVATE_KEY`.
If not already created, run:
```json theme={null}
kubectl create secret generic coralogix-keys --from-literal=PRIVATE_KEY=""
```
## Steps
**Step 1: Install the Helm Chart for the Integration**
```json theme={null}
helm repo add coralogix https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
helm repo update
```
Run the following command to deploy the integration. Make sure that you replace the `` with your cluster name and `` with your Coralogix domain.
```json theme={null}
helm upgrade --install otel-coralogix-integration coralogix/otel-integration --version=0.0.166 --render-subchart-notes --set global.domain="" --set global.clusterName=""
```
**Step 2: Obtain your API key ID**
Navigate to **Settings → Keys** to download the details of the Send-Your-Data API key you choose to use for this integration.
Open the downloaded file and extract the `keyId` field value.
**Step 3: Register the Integration via API**
Use the following HTTP request to persist the integration metadata:
**POST** `/v1/integrations/metadata`
**Request Body**
```json theme={null}
{
"integrationKey": "otel-agent-k8s",
"version": "0.0.166",
"specificData": {
"$case": "integrationParameters",
"integrationParameters": {
"parameters": [
{
"key": "CollectorName",
"value": {
"$case": "stringValue",
"stringValue": "otel-collector-for-k8s"
}
},
{
"key": "ApplicationName",
"value": {
"$case": "stringValue",
"stringValue": "otel"
}
},
{
"key": "SubsystemName",
"value": {
"$case": "stringValue",
"stringValue": "integration"
}
},
{
"key": "PrivateKey",
"value": {
"$case": "apiKey",
"apiKey": {
"id": ""
}
}
},
{
"key": "LogsCollection",
"value": {
"$case": "booleanValue",
"booleanValue": true
}
}
]
}
}
}
```
**Sample response**
```json theme={null}
{
"integrationId": "07867979-55e5-4c73-8c54-474cd2f54124"
}
```