## Get the current status of an interconnect object `network_interconnects.interconnects.status(stricon, InterconnectStatusParams**kwargs) -> InterconnectStatusResponse` **get** `/accounts/{account_id}/cni/interconnects/{icon}/status` Get the current status of an interconnect object ### Parameters - `account_id: str` Customer account tag - `icon: str` ### Returns - `InterconnectStatusResponse` - `class Pending: …` - `state: Literal["Pending"]` - `"Pending"` - `class Down: …` - `state: Literal["Down"]` - `"Down"` - `reason: Optional[str]` Diagnostic information, if available - `class Unhealthy: …` - `state: Literal["Unhealthy"]` - `"Unhealthy"` - `reason: Optional[str]` Diagnostic information, if available - `class Healthy: …` - `state: Literal["Healthy"]` - `"Healthy"` ### Example ```python import os from cloudflare import Cloudflare client = Cloudflare( api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted ) response = client.network_interconnects.interconnects.status( icon="icon", account_id="account_id", ) print(response) ``` #### Response ```json { "state": "Pending" } ```