Wanguard icon

Wanguard

Interact with Wanguard DDoS Detection and Mitigation API

Actions160

Anomaly → Get Graph

AI-generated

Summary

Retrieve a graph image for a specific anomaly by its ID, specifying the graph type and optional dimensions.

Inputs

  • Anomaly ID (required) — The numeric identifier of the anomaly to generate the graph for.
  • Graph Type (required) — The type of graph to generate, such as traffic rates (packets or bits, in/out) or 'Auto' to let the system choose.
  • Graph Options — Optional settings for the graph's appearance, including width and height in pixels.

Output shape

a JSON object containing the graph image data or a related graphical representation for the specified anomaly.

The graph output corresponds to the selected graph type and size parameters. The returned data is suitable for visualization within workflows and does not include pagination or multiple items.

Examples

Example 1: Get Auto graph for anomaly ID 123 with default size

Set 'Anomaly ID' to 123, 'Graph Type' to 'Auto', leave width and height defaulted.

Discussion