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

Protection

A protected server's DDoS protection, read-only: status, traffic now, and its attack history.

Base URL https://api.clouduxe.com/v1Updated 5 November 2026

Operations

The Protection object

A server's DDoS protection, read-only: what the panel's protection page shows.

Attributes

  • objectstringRequired

    The object's type. Always "protection".

  • serviceIdstring (uuid)Required

    The service's id.

  • statusstringRequired

    protected (on, no attack), under_attack (an attack is being mitigated now), elevated (traffic is higher than usual, no attack), paused (protection is off, so nothing is filtered), sealed (the address is idle and protection holds it closed; contact support), not_reporting (protection has not reported recently, so no claim about traffic is made), unknown (the state could not be read), or managed (a protected proxy, set up and watched by staff).

    One ofprotectedunder_attackelevatedpausedsealednot_reportingunknownmanaged
  • mitigatingbooleanRequired

    True while an attack is being mitigated now.

  • currentIncidentIdstring (uuid) or nullRequired

    The incident being mitigated now, or null.

  • trafficobject or nullRequired

    Traffic now, or null for a managed proxy.

    Show 3 child attributesHide 3 child attributes
    • receivedPpsinteger or nullRequired

      Packets per second arriving at the protection layer, or null when not known.

    • droppedPpsinteger or nullRequired

      Packets per second dropped by protection, or null when not known.

    • measuredAtstring (date-time) or nullRequired

      When these rates were measured, or null.

  • last24Hoursobject or nullRequired

    Packets in the last 24 hours, or null when not known.

    Show 2 child attributesHide 2 child attributes
    • receivedPacketsinteger or nullRequired

      Packets received.

    • droppedPacketsinteger or nullRequired

      Packets dropped by protection.

  • portsarray of ProtectedPortRequired

    The protected ports, as the panel shows them. Change them with the firewall operations.

    Show 5 child attributesHide 5 child attributes
    • protocolstringRequired

      tcp or udp.

      One oftcpudp
    • portStartintegerRequired

      The first port.

      min 1, max 65535
    • portEndintegerRequired

      The last port.

      min 1, max 65535
    • profilestring or nullRequired

      The protection profile that inspects this traffic, or null for the default checks.

    • enabledbooleanRequired

      Whether the rule is on.

  • protectedSincestring (date-time) or nullRequired

    When protection data for this service starts: nothing before this service held the address is ever shown.

  • updatedAtstring (date-time) or nullRequired

    When this state was read.

  • livemodebooleanRequired

    True for objects of your live account.

The Protection object
{
  "object": "protection",
  "serviceId": "c3a1f6d2-8b4e-4a9c-b7d5-2e1f0a3c6b8d",
  "status": "under_attack",
  "mitigating": true,
  "currentIncidentId": "1c7e4a2f-9b3d-4f6e-a8c1-5d2b0e9f7a4c",
  "traffic": {
    "receivedPps": 912400,
    "droppedPps": 908100,
    "measuredAt": "2026-12-04T10:02:40Z"
  },
  "last24Hours": {
    "receivedPackets": 3184001233,
    "droppedPackets": 2741980511
  },
  "ports": [
    {
      "protocol": "tcp",
      "portStart": 30120,
      "portEnd": 30120,
      "profile": "fivem",
      "enabled": true
    },
    {
      "protocol": "udp",
      "portStart": 30120,
      "portEnd": 30120,
      "profile": "fivem",
      "enabled": true
    },
    {
      "protocol": "tcp",
      "portStart": 22,
      "portEnd": 22,
      "profile": "generic",
      "enabled": true
    }
  ],
  "protectedSince": "2026-12-04T09:17:51Z",
  "updatedAt": "2026-12-04T10:02:40Z",
  "livemode": true
}

Generated from the API contract, version 2026-12-01.

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.