---
updatedAt: 2026-09-10T08:17:50.000Z
agentTools:
  projectIndex: https://developer.eftcorp.com/llms.txt
---

# Get every occurrence of the same fault

Returns the alerts sharing this alert's shape, most recent first, including duplicates. Answers whether a fault is a one off or a flood, and over what period it has been happening.

# OpenAPI definition

```json
{
  "servers": [
    {
      "url": "https://eclipse-java-sandbox.ukheshe.rocks",
      "description": "Eclipse sandbox environment"
    },
    {
      "url": "https://ukheshe.live",
      "description": "Eclipse production environment"
    },
    {
      "url": "https://eclipse-java-develop.ukheshe.rocks",
      "description": "Eclipse development environment"
    },
    {
      "url": "https://zw.ukheshe.live",
      "description": "Zim Eclipse production environment"
    }
  ],
  "openapi": "3.1.0",
  "components": {
    "schemas": {
      "EclipseAlert": {
        "description": "An operations alert together with its triage state. Almost all are raised by the platform; a person can also raise one by hand for something nothing automatic would have caught, and it is published the same way and is indistinguishable here. None is ever deleted - the lifecycle ends at CLOSED so the trail stays intact.",
        "type": "object",
        "properties": {
          "acknowledged": {
            "type": "string",
            "format": "date-time",
            "examples": [
              "2022-03-10T12:15:50-04:00"
            ]
          },
          "alertId": {
            "type": "integer",
            "format": "int64"
          },
          "assigned": {
            "type": "string",
            "format": "date-time",
            "examples": [
              "2022-03-10T12:15:50-04:00"
            ]
          },
          "assignedTo": {
            "type": "integer",
            "format": "int64",
            "description": "User id of whoever currently has work to do on the alert, or absent if nobody has been assigned. Not the same as owner: the assignee changes as an issue is passed around."
          },
          "channel": {
            "type": "string",
            "description": "The channel the alert applies to, e.g. General, Finance, Support"
          },
          "closed": {
            "type": "string",
            "format": "date-time",
            "examples": [
              "2022-03-10T12:15:50-04:00"
            ]
          },
          "duplicateOfAlertId": {
            "type": "integer",
            "format": "int64",
            "description": "The alert this one was folded into, if it is a duplicate. Always points at an alert that is not itself a duplicate, so following it never needs more than one hop."
          },
          "host": {
            "type": "string",
            "description": "The host that raised it"
          },
          "info": {
            "$ref": "#/components/schemas/EclipseAlertInfo"
          },
          "lastModified": {
            "type": "string",
            "format": "date-time",
            "examples": [
              "2022-03-10T12:15:50-04:00"
            ],
            "description": "ISO 8601 date/time of when anything about the alert last changed"
          },
          "message": {
            "type": "string"
          },
          "owner": {
            "type": "string",
            "description": "Email of the person accountable for the issue being dealt with. Set from the ownership rota when the alert is written, and only for alerts that are not duplicates. Accountability does not move when the alert is assigned to somebody else."
          },
          "published": {
            "type": "string",
            "format": "date-time",
            "examples": [
              "2022-03-10T12:15:50-04:00"
            ],
            "description": "ISO 8601 date/time of when the platform raised the alert"
          },
          "severity": {
            "type": "string",
            "description": "CRITICAL, HIGH, MEDIUM, LOW or INFO"
          },
          "shape": {
            "type": "string",
            "description": "Deduplication fingerprint. Two alerts sharing a shape are the same fault happening again."
          },
          "status": {
            "$ref": "#/components/schemas/EclipseAlertStatus"
          },
          "traceId": {
            "type": "string",
            "description": "Distributed trace id, for pulling the request up in Jaeger"
          }
        }
      },
      "EclipseAlertAction": {
        "description": "The kind of thing that happened to an alert, as recorded on a history entry.",
        "type": "string",
        "enum": [
          "ACKNOWLEDGED",
          "ASSIGNED",
          "CLOSED",
          "COMMENTED",
          "CREATED",
          "LINKED",
          "OWNER_CHANGED",
          "RECURRED",
          "REOPENED",
          "UNASSIGNED",
          "UNLINKED"
        ]
      },
      "EclipseAlertHistoryEntry": {
        "type": "object",
        "description": "One thing that happened to an alert. Append only - entries are never rewritten, so the list read oldest first is the full audit trail of who did what and when.",
        "properties": {
          "action": {
            "$ref": "#/components/schemas/EclipseAlertAction"
          },
          "assignedTo": {
            "type": "integer",
            "format": "int64",
            "description": "For ASSIGNED, the person the work was handed to. Not the same as userId, which is whoever performed the action - a supervisor can hand an alert to somebody else. Absent on other actions."
          },
          "comment": {
            "type": "string",
            "description": "Operator supplied note"
          },
          "fromStatus": {
            "$ref": "#/components/schemas/EclipseAlertStatus"
          },
          "identity": {
            "type": "string",
            "description": "The identity of the acting user as it stood at the time, so the entry stays attributable even if that user is later renamed or removed"
          },
          "relatedAlertId": {
            "type": "integer",
            "format": "int64",
            "description": "For LINKED and UNLINKED, the alert on the other end of the link"
          },
          "resolution": {
            "type": "string",
            "description": "For CLOSED, why it was closed. Suggested values are FIXED, WONT_FIX, NOT_AN_ISSUE and EXPECTED"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "examples": [
              "2022-03-10T12:15:50-04:00"
            ],
            "description": "ISO 8601 date/time of when the action happened"
          },
          "toStatus": {
            "$ref": "#/components/schemas/EclipseAlertStatus"
          },
          "userId": {
            "type": "integer",
            "format": "int64",
            "description": "The user who did it, or absent when the platform did it rather than a person"
          }
        }
      },
      "EclipseAlertInfo": {
        "type": "object",
        "description": "Alert detail that is not filtered or aggregated on, carried as JSON on the alert record.",
        "properties": {
          "dedupPattern": {
            "type": "string",
            "description": "The name of the operator defined deduplication rule that claimed this alert, or absent if it was shaped by the automatic recipe. When set, the alert is grouped by that name alone."
          },
          "duplicateCount": {
            "type": "integer",
            "format": "int32",
            "description": "How many alerts have been folded into this one as duplicates"
          },
          "errorCode": {
            "type": "string",
            "description": "The platform error code parsed from the message, e.g. PNF001, if it carried one"
          },
          "exceptionClass": {
            "type": "string",
            "description": "The exception class from the stack trace, if there was one"
          },
          "history": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EclipseAlertHistoryEntry"
            }
          },
          "manualLinkDecision": {
            "$ref": "#/components/schemas/EclipseAlertAction",
            "description": "LINKED or UNLINKED if a person decided this alert's grouping by hand, absent if the grouping is the platform's. A reanalysis leaves a hand made decision alone, the same way it leaves an acknowledged or assigned alert alone.",
            "type": "string"
          },
          "shapeTemplate": {
            "type": "string",
            "description": "The readable form of the alert's shape - its lead paragraph with timestamps, identifiers, numbers and JSON payloads masked. Use this as the title of a group of duplicates."
          },
          "stackFrames": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The leading stack frames as class.method, without line numbers"
          }
        }
      },
      "EclipseAlertStatus": {
        "description": "Where an operations alert sits in the triage lifecycle.",
        "type": "string",
        "enum": [
          "ACKNOWLEDGED",
          "ASSIGNED",
          "CLOSED",
          "DUPLICATE",
          "NEW"
        ]
      },
      "ExceptionData": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "environment": {
            "type": "string"
          },
          "info": {
            "type": "object",
            "additionalProperties": {}
          },
          "severity": {
            "$ref": "#/components/schemas/ExceptionSeverity"
          },
          "spanId": {
            "type": "string"
          },
          "stackTrace": {
            "type": "string"
          },
          "traceId": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/ExceptionType"
          }
        }
      },
      "ExceptionSeverity": {
        "type": "string",
        "enum": [
          "CRITICAL",
          "HIGH",
          "INFO",
          "LOW",
          "MEDIUM"
        ]
      },
      "ExceptionType": {
        "type": "string",
        "enum": [
          "BUSINESS",
          "SYSTEM"
        ]
      }
    },
    "securitySchemes": {
      "JWTBearerAuthorisation": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "info": {
    "description": "A RESTful API using JSON as the data transfer model, covering all tenant-facing functionality in the Eclipse payments platform.",
    "title": "Eclipse ReST API",
    "version": "3.0.0"
  },
  "tags": [
    {
      "name": "z.4) Alerts",
      "description": "Operations triage of platform alerts. For authorized internal use only."
    }
  ],
  "paths": {
    "/eclipse-conductor/rest/v1/global/alerts/{alertId}/related": {
      "get": {
        "summary": "Get every occurrence of the same fault",
        "description": "Returns the alerts sharing this alert's shape, most recent first, including duplicates. Answers whether a fault is a one off or a flood, and over what period it has been happening.",
        "tags": [
          "z.4) Alerts"
        ],
        "parameters": [
          {
            "name": "alertId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EclipseAlert"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Alert not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExceptionData"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExceptionData"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "JWTBearerAuthorisation": []
          }
        ]
      }
    }
  }
}
```