{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/varonis/refs/heads/main/json-schema/varonis-datalert-get-alerted-events-request-schema.json", "title": "GetAlertedEventsRequest", "description": "GetAlertedEventsRequest schema from Varonis DatAlert API", "type": "object", "properties": { "alertId": { "type": "string", "description": "Unique identifier of the alert to retrieve events for." }, "startTime": { "type": "string", "format": "date-time", "description": "Start of the time range for event retrieval." }, "endTime": { "type": "string", "format": "date-time", "description": "End of the time range for event retrieval." }, "lastDays": { "type": "integer", "minimum": 1, "description": "Retrieve events from the last N days." }, "extraFields": { "type": "array", "items": { "type": "string" }, "description": "Additional fields to include in the response." }, "descendingOrder": { "type": "boolean", "description": "When true, results are returned in descending order by time." } }, "required": [ "alertId" ] }