Skip to main content

Overview

The Infrastructure Service provides APIs for monitoring critical infrastructure including:
  • Internet outages from Cloudflare Radar
  • External service status tracking
  • Submarine cable health monitoring
  • Temporal baseline anomaly detection
Base Path: /api/infrastructure/v1

ListInternetOutages

Retrieves detected internet outages from Cloudflare Radar. Endpoint: GET /api/infrastructure/v1/list-internet-outages

Request Parameters

integer
required
Start of time range (inclusive), Unix epoch milliseconds.
integer
required
End of time range (inclusive), Unix epoch milliseconds.
integer
Maximum items per page.
string
Cursor for next page.
string
Optional country filter (ISO 3166-1 alpha-2).

Response

array
The list of internet outages.
object
Pagination metadata with cursor for next page.

Example Request

Example Response


ListServiceStatuses

Retrieves operational status of monitored external services. Endpoint: GET /api/infrastructure/v1/list-service-statuses

Request Parameters

enum
Optional status filter. Returns only services in this state.Values: OPERATIONAL, DEGRADED, PARTIAL_OUTAGE, MAJOR_OUTAGE, MAINTENANCE

Response

array
The list of service statuses.

Example Request

Example Response


GetTemporalBaseline

Checks current activity count against stored baseline for anomaly detection. Endpoint: GET /api/infrastructure/v1/get-temporal-baseline

Request Parameters

string
required
Activity type: military_flights, vessels, protests, news, ais_gaps, or satellite_fires.
string
Geographic region key, defaults to “global”.
number
Current observed count to compare against baseline.

Response

object
Anomaly details; absent when count is within normal range.
object
Baseline statistics; absent when still in learning phase.
boolean
True if insufficient samples have been collected.
integer
Current number of samples stored.
integer
Minimum samples required before anomaly detection activates.
string
Error message if request was invalid.

Example Request

Example Response


RecordBaselineSnapshot

Batch-updates baseline statistics using Welford’s online algorithm. Endpoint: POST /api/infrastructure/v1/record-baseline-snapshot

Request Body

array
required
Up to 20 metric updates to apply.

Response

integer
Number of baselines that were written.
string
Error message if the request was invalid.

Example Request

Example Response


GetCableHealth

Computes health status for submarine cables from NGA maritime warning signals. Endpoint: GET /api/infrastructure/v1/get-cable-health

Request Parameters

No request parameters required.

Response

integer
Generation timestamp, as Unix epoch milliseconds.
object
Health records keyed by cable identifier.

Example Request

Example Response