AI ready
Open in Claude (opens in a new tab)View as Markdown

Get an attack

GET/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)Required

    The service's id.

  • incidentIdstring (uuid)Required

    The incident's id.

  • Clouduxe-VersionstringOptional

    The 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}$

Returns

200OK The incident.

  • objectstringRequired

    The object's type. Always "protection_incident".

  • idstring (uuid)Required

    The incident's id.

  • serviceIdstring (uuid)Required

    The service attacked.

  • statusstringRequired

    ongoing or ended.

    One ofongoingended
  • startedAtstring (date-time)Required

    When the first attack packet was dropped.

  • startKnownbooleanRequired

    False 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 nullRequired

    When the attack ended (its last dropped packet), or null while ongoing.

  • vectorstringRequired

    The main attack vector, in words, such as UDP flood or invalid game protocol.

  • targetPortobject or nullRequired

    The port most of the attack aimed at, or null.

    Show 2 child attributesHide 2 child attributes
    • protocolstringRequired

      tcp or udp.

      One oftcpudp
    • portintegerRequired

      The port.

      min 1, max 65535
  • peakPpsinteger or nullRequired

    The highest packets per second measured at the protection layer, or null when not measured.

  • droppedPacketsinteger or nullRequired

    Packets dropped by protection during the attack, or null when not measured.

  • actionsTakenarray of stringRequired

    What protection did: filtered (dropped at the server's protection), edge_filtered (also scrubbed earlier, at the network edge).

  • livemodebooleanRequired

    True 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.

Updated 5 November 2026. Generated from the API contract.

Need a server, or a hand with one?

Pick a plan to deploy a server, or open a ticket in the panel. Support runs 24/7/365.