{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Retrieves the BGP hijack events.","properties":{"query":{"type":"object","properties":{"page":{"description":"Current page number, starting from 1.","type":"integer","default":1,"exclusiveMinimum":0},"per_page":{"description":"Number of entries per page.","type":"integer","default":50,"exclusiveMinimum":0},"eventId":{"description":"The unique identifier of a event.","type":"integer"},"hijackerAsn":{"description":"The potential hijacker AS of a BGP hijack event.","type":"integer"},"victimAsn":{"description":"The potential victim AS of a BGP hijack event.","type":"integer"},"involvedAsn":{"description":"The potential hijacker or victim AS of a BGP hijack event.","type":"integer"},"involvedCountry":{"description":"The country code of the potential hijacker or victim AS of a BGP hijack event.","type":"string","maxLength":2,"minLength":2,"examples":["PT"]},"prefix":{"anyOf":[{"type":"string"},{"type":"string"}],"examples":["1.1.1.0/24"]},"minConfidence":{"description":"Filters events by minimum confidence score (1-4 low, 5-7 mid, 8+ high).","type":"integer"},"maxConfidence":{"description":"Filters events by maximum confidence score (1-4 low, 5-7 mid, 8+ high).","type":"integer"},"dateRange":{"description":"Filters results by a relative date range ending at the current time. Use `<n>d` for days (up to `364d`) or `<n>w` for weeks (up to `52w`), e.g. `7d`. Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `3dcontrol` covers days -10 to -7, `7dcontrol` covers days -14 to -7, `28dcontrol` covers days -56 to -28, and `10dcontrol` covers days -24 to -14). Mutually exclusive with `dateStart`/`dateEnd`.","type":"string","pattern":"^((([1-9]|[1-9][0-9]|[1-2][0-9][0-9]|3[0-5][0-9]|36[0-4])[d](control)?)|(([1-9]|[1-4][0-9]|5[0-2])[w](control)?))$","examples":["7d"]},"dateStart":{"description":"Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.","type":"string","format":"date-time","examples":["2023-09-01T11:41:33.782Z"]},"dateEnd":{"description":"End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.","type":"string","format":"date-time","examples":["2023-09-01T11:41:33.782Z"]},"sortBy":{"description":"Sorts results by the specified field.","type":"string","enum":["ID","TIME","CONFIDENCE"],"examples":["TIME"]},"sortOrder":{"description":"Sort order.","type":"string","enum":["ASC","DESC"],"examples":["desc"]},"format":{"description":"Format in which results will be returned.","type":"string","enum":["JSON","CSV"],"examples":["json"]}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"name":"Get BGP hijack events","id":"cloudflare.radar-get-bgp-hijacks-events","example":{},"maxRequests":1,"summary":false}}