## Get the current status of an interconnect object `client.networkInterconnects.interconnects.status(stringicon, InterconnectStatusParamsparams, RequestOptionsoptions?): InterconnectStatusResponse` **get** `/accounts/{account_id}/cni/interconnects/{icon}/status` Get the current status of an interconnect object ### Parameters - `icon: string` - `params: InterconnectStatusParams` - `account_id: string` Customer account tag ### Returns - `InterconnectStatusResponse = Pending | Down | Unhealthy | Healthy` - `Pending` - `state: "Pending"` - `"Pending"` - `Down` - `state: "Down"` - `"Down"` - `reason?: string | null` Diagnostic information, if available - `Unhealthy` - `state: "Unhealthy"` - `"Unhealthy"` - `reason?: string | null` Diagnostic information, if available - `Healthy` - `state: "Healthy"` - `"Healthy"` ### Example ```node import Cloudflare from 'cloudflare'; const client = new Cloudflare({ apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted }); const response = await client.networkInterconnects.interconnects.status('icon', { account_id: 'account_id', }); console.log(response); ``` #### Response ```json { "state": "Pending" } ```