Get All Dedup Key Overlay by Service
GET {{baseUrl}}/services/:serviceID/overlays/dedup-key
This endpoint returns the default deduplication rules if not already created.
Requires access_token
as a Bearer {{token}}
in the Authorization
header with read
scope.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | null |
RESPONSES
status: OK
{"data":[{"created_at":"2023-06-16T05:01:44.767593+05:30","updated_at":"2023-06-16T05:09:43.621872+05:30","deleted_at":null,"org_id":"6163f3d7f839f32753ff409b","service_id":"6163f3d7d7daa488535e7c28","alert_source_version":"v1","alert_source_shortname":"datadog","overlay_template_type":"go","overlay":{"dedup_key_overlay":{"template":"{{.labels.alertname}}-{{.labels.deployment}}","duration":200},"message_overlay":{"template":"{{.labels.alertname}}-{{.labels.deployment}}"},"description_overlay":{"template":"new desc 123 template"}}},{"created_at":"2023-06-16T05:07:57.613953+05:30","updated_at":"2023-06-16T05:14:22.869682+05:30","deleted_at":null,"org_id":"6163f3d7f839f32753ff409b","service_id":"6163f3d7d7daa488535e7c28","alert_source_version":"v1","alert_source_shortname":"grafana","overlay_template_type":"go","overlay":{"dedup_key_overlay":{"template":"{{.labels.alertname}}-{{.labels.deployment}}","duration":200},"message_overlay":{"template":"{{.labels.alertname}}-{{.labels.deployment}}"},"description_overlay":{"template":"new desc 123 template"}}},{"created_at":"2023-06-16T05:16:56.387269+05:30","updated_at":"2023-06-16T05:17:02.897388+05:30","deleted_at":null,"org_id":"6163f3d7f839f32753ff409b","service_id":"6163f3d7d7daa488535e7c28","alert_source_version":"v1","alert_source_shortname":"squadcast","overlay_template_type":"go","overlay":{"dedup_key_overlay":{"template":"{{.labels.alertname}}-{{.labels.deployment}}","duration":200},"message_overlay":{"template":"{{.labels.alertname}}-{{.labels.deployment}}"},"description_overlay":{"template":"new desc 123 template"}}}]}