Get an attack
/services/{serviceId}/protection/incidents/{incidentId}Use this to read one incident's figures, for example to show your customer what happened during an outage.
- Token
- Bearer API token: cxk_live_ followed by 46 letters and digits
- Scope
protection:read- Header
Authorization: Bearer $CLOUDUXE_API_KEY
How tokens and scopes work: Authentication and scopes.
serviceIdstring (uuid)RequiredThe service's id.
incidentIdstring (uuid)RequiredThe incident's id.
Clouduxe-VersionstringOptionalThe API version to use, such as 2026-12-01. Omit it to use your token's version.
pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
200OK The incident.
objectstringRequiredThe object's type. Always "protection_incident".
idstring (uuid)RequiredThe incident's id.
serviceIdstring (uuid)RequiredThe service attacked.
statusstringRequiredongoing or ended.
One ofongoingendedstartedAtstring (date-time)RequiredWhen the first attack packet was dropped.
startKnownbooleanRequiredFalse when the attack began before the records this service can see (its start is then a lower bound, and the totals are not measured).
endedAtstring (date-time) or nullRequiredWhen the attack ended (its last dropped packet), or null while ongoing.
vectorstringRequiredThe main attack vector, in words, such as UDP flood or invalid game protocol.
targetPortobject or nullRequiredThe port most of the attack aimed at, or null.
Show 2 child attributesHide 2 child attributes
protocolstringRequiredtcp or udp.
One oftcpudpportintegerRequiredThe port.
min 1, max 65535
peakPpsinteger or nullRequiredThe highest packets per second measured at the protection layer, or null when not measured.
droppedPacketsinteger or nullRequiredPackets dropped by protection during the attack, or null when not measured.
actionsTakenarray of stringRequiredWhat protection did: filtered (dropped at the server's protection), edge_filtered (also scrubbed earlier, at the network edge).
livemodebooleanRequiredTrue for objects of your live account.
Every response
- 200OKThe incident.
- 400Bad requestThe request is not valid. Codes: version_invalid.
- 401UnauthorizedAuthentication failed. Codes: token_missing, token_invalid, token_expired, token_revoked.
- 403ForbiddenThe token is not allowed to do this. Codes: ip_not_allowed, api_access_disabled, scope_missing.
- 404Not foundNot found. Codes: not_found.
- 409ConflictThe request conflicts with the object's current state. Codes: protection_not_available.
- 429Too many requestsA rate limit was reached. Codes: rate_limited.
- 500Server errorUnexpected error. Codes: internal_error.
- 503UnavailableTemporarily unavailable. Codes: unavailable.