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

List attacks

GET/services/{serviceId}/protection/incidents

Use this to read a server's attack history, newest first: each incident's start, end, peak, vector and the action taken. Only incidents since this service held its address are listed.

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.

  • limitintegerOptional

    How many objects to return, 1 to 100. Default 20.

    Default 20min 1, max 100
  • cursorstringOptional

    The nextCursor of the previous page. Valid for 24 hours, with the same filters.

    max length 512
  • statusstringOptional

    Only ongoing or ended incidents.

    One ofongoingended
  • startedAfterstring (date-time)Optional

    Only incidents that started after this time.

  • startedBeforestring (date-time)Optional

    Only incidents that started before this time.

  • 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 A page of incidents.

  • objectstringRequired

    Always "list".

  • dataarray of ProtectionIncidentRequired

    The objects on this page.

    Show 13 child attributesHide 13 child attributes
    • 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.

  • hasMorebooleanRequired

    True when there are more objects after this page. A page can hold fewer than limit objects while hasMore is true: keep following nextCursor.

  • nextCursorstring or nullRequired

    Pass this as cursor to get the next page. Null when hasMore is false.

Every response

  • 200OKA page of incidents.
  • 400Bad requestThe request is not valid. Codes: cursor_invalid, version_invalid, parameter_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.