> ## Documentation Index
> Fetch the complete documentation index at: https://docs.megaport.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Monitoring Service Status with the API

> This help topic describes how to use the Megaport API to monitor the status of Megaport services.

export const Video = ({url, text, duration, description}) => {
  const errorPrefix = '\x1b[31;1;4mERROR\x1b[0m: Video -';
  if (typeof url !== 'string') {
    url = String(url);
  }
  if (typeof text !== 'string') {
    text = String(text);
  }
  if (!url || url === 'undefined') {
    console.error(`${errorPrefix} the \`url\` property is required — rendering an empty string instead`);
    return <></>;
  }
  if (!text || text === 'undefined') {
    console.error(`${errorPrefix} the \`text\` property is required — rendering an empty string instead`);
    return <></>;
  }
  const youtubeIconMask = "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M549.7 124.1c-6.3-23.7-24.8-42.3-48.3-48.6C458.8 64 288 64 288 64S117.2 64 74.6 75.5c-23.5 6.3-42 24.9-48.3 48.6-11.4 42.9-11.4 132.3-11.4 132.3s0 89.4 11.4 132.3c6.3 23.7 24.8 41.5 48.3 47.8C117.2 448 288 448 288 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zM232 336V176l142.7 80z'/%3E%3C/svg%3E\")";
  return <div className="video-callout">
      <div className="callout my-4 flex gap-3 overflow-hidden rounded-2xl border px-5 py-4">
        <div className="mt-0.5 w-4 shrink-0" data-component-part="callout-icon">
          <svg aria-hidden="true" className="size-4 shrink-0" style={{
    WebkitMaskImage: youtubeIconMask,
    maskImage: youtubeIconMask,
    WebkitMaskRepeat: 'no-repeat',
    maskRepeat: 'no-repeat',
    WebkitMaskPosition: 'center',
    maskPosition: 'center',
    backgroundColor: '#0284c7'
  }} />
        </div>
        <div className="min-w-0 w-full text-sm" data-component-part="callout-content">
          <strong>
            Video:{' '}
            <a href={url} target="_blank" rel="noopener noreferrer">
              {text}
              <span className="sr-only"> (opens in a new tab)</span>
            </a>
          </strong>
          {}
          {duration && <> ({duration})</>}
          {}
          {description && <p className="mt-1 mb-0 text-xs text-gray-500 dark:text-gray-400">
              {description}
            </p>}
        </div>
      </div>
    </div>;
};

You can retrieve the status of any Megaport service (such as Port, VXC, MCR, or MVE) with this request available in the Product Details folder of the Postman collection:

```http theme={"theme":{"light":"github-light-high-contrast","dark":"github-dark-high-contrast"}}
GET {baseUrl}/v2/product/{productUid}
```

The response includes the provisioning status of the service in the `provisioningStatus` field.
The `provisioningStatus` field can have the following values:

| Provisioning Status          | Description                                                                                                                                                                                                | Port                                                                                                                                                         | MCR, MVE, or<br />NAT Gateway                                                                              | MegaIX,<br />Megaport Internet,<br />Megaport Marketplace,<br />or other VXC connections       |
| :--------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------- |
| NEW                          | Only for preordering Ports. This status indicates the service order has been accepted and is waiting on the infrastructure to be available.                                                                | This status applies to Port preorders only.<br />The Port cannot accept any connections (such as a VXC) and is not billed.                                   | N/A                                                                                                        | N/A                                                                                            |
| DESIGN                       | The service has been added, but has not been ordered or deployed.                                                                                                                                          |                                                                                                                                                              |                                                                                                            |                                                                                                |
| DEPLOYABLE                   | The service order has been confirmed and is waiting for deployment. Services are typically in this state for 1-2 minutes.                                                                                  |                                                                                                                                                              |                                                                                                            |                                                                                                |
| CONFIGURED                   | The deployment has completed and the service is configured on the network.                                                                                                                                 |                                                                                                                                                              |                                                                                                            |                                                                                                |
| LIVE                         | The meaning of this status depends on the product.                                                                                                                                                         | The service has been detected as live on the network. Light has been detected on the Port, meaning a Cross Connect has been attached and the Port activated. | The transition from CONFIGURED to LIVE is instantaneous.                                                   | The transition from CONFIGURED to LIVE is instantaneous.                                       |
| CANCELLED, CANCELLED\_PARENT | Termination of the service has been requested. Services are typically in this state for 1-2 minutes.                                                                                                       | You can terminate Ports directly and they remain in this state for up to 2 minutes.                                                                          | You can terminate MCRs, MVEs, and NAT Gateways directly and they remain in this state for up to 2 minutes. | You can terminate VXCs directly or by terminating the attached Port, MCR, MVE, or NAT Gateway. |
| DECOMMISSIONED               | The service has been decommissioned from the network. The service is billed only for the time that it was in use before it was decommissioned. Products on a term will incur early termination fees (ETF). |                                                                                                                                                              |                                                                                                            |                                                                                                |
| FAILED                       | The service could not be deployed and is not in the deployment queue.                                                                                                                                      |                                                                                                                                                              |                                                                                                            |                                                                                                |

Additionally, the response to the `/v2/product/` endpoint for any Megaport service includes the current status of the service. The status in the root level `up` parameter indicates if the service is up (a value of true) or down (a value of false). This example shows the `up` parameter for a VXC.

```json {56} theme={"theme":{"light":"github-light-high-contrast","dark":"github-dark-high-contrast"}}
{
    "message": "Found Product 9fbc4f9e-5f59-458e-bb95-6633e77ab121",
    "terms": "This data is subject to the Acceptable Use Policy https://www.megaport.com/legal/acceptable-use-policy",
    "data": {
        "productId": 220451,
        "productUid": "9fbc4f9e-5f59-458e-bb95-6633e77ab121",
        "productName": "WEST AWS",
        "secondaryName": null,
        "productType": "VXC",
        "rateLimit": 50,
        "maximumRate": 10000,
        "distanceBand": "METRO",
        "provisioningStatus": "LIVE",
        "usageAlgorithm": "POST_PAID_VARIABLE",
        "createdBy": "cb9c4d7e-4cd2-4f6b-4f4e-89ab263e57e4",
        "liveDate": 1733253865042,
        "createDate": 1733253767229,
        "resources": {
            "csp_connection": {
                "bandwidth": 50,
                "connectType": "AWSHC",
                "resource_name": "b_csp_connection",
                "resource_type": "csp_connection",
                "name": "WEST AWS",
                "ownerAccount": "206049248854",
                "bandwidths": [
                    50
                ],
                "connectionId": "dxcon-fftxgi4j"
            },
            "vll": {
                "a_vlan": 2612,
                "b_vlan": 2612,
                "rate_limit_mbps": 50,
                "resource_name": "vll",
                "resource_type": "vll",
                "up": 1,
                "shutdown": false
            }
        },
        "vxcApproval": {
            "status": null,
            "message": null,
            "uid": null,
            "type": null,
            "newSpeed": null
        },
        "contractStartDate": 1733253865055,
        "contractEndDate": 1735912800000,
        "contractTermMonths": 12,
        "companyUid": "160408ae-01e4-4cb9-8d57-03a147bd47a8",
        "companyName": "Megaport Test",
        "locked": false,
        "adminLocked": false,
        "attributeTags": {},
        "up": true,
        "shutdown": false,
        "cancelable": true,
        "aEnd": {
            "ownerUid": "160408ae-01e4-4cb9-8d57-03a147bd47a8",
            "productUid": "21be60a4-14c8-454f-9636-c6a4ad9f8447",
            "productName": "ZW TEST",
            "locationId": 147,
            "location": "CyrusOne Chandler",
            "locationDetail": {
                "name": "CyrusOne Chandler",
                "city": "Phoenix",
                "metro": "Phoenix",
                "country": "USA"
            },
            "vlan": 2612,
            "innerVlan": null,
            "secondaryName": null,
            "connectType": "DEFAULT",
            "diversityZone": "red"
        },
        "bEnd": {
            "ownerUid": "605cb840-dfb4-4a05-a171-8bf17757b4a2",
            "productUid": "d2b92be4-d85c-4ae5-b511-37c1cfe6e146",
            "productName": "US West (N. California) (us-west-1)",
            "locationId": 370,
            "location": "PhoenixNAP",
            "locationDetail": {
                "name": "PhoenixNAP",
                "city": "Phoenix",
                "metro": "Phoenix",
                "country": "USA"
            },
            "vlan": 2612,
            "innerVlan": null,
            "secondaryName": null,
            "connectType": "AWSHC",
            "diversityZone": "red"
        }
    }
}
```

## Helpful references

<Video url="https://www.youtube.com/watch?v=MkYtlmAqRGY" text="How to Check the Status of Your Megaport Services" duration="1:02" description="This video shows how to check the status of Megaport services directly from the Megaport Portal." />

* [Monitoring MCR](/monitoring/mcr-monitoring)
* [Monitoring MVE](/monitoring/mve-monitoring)
* [Monitoring Ports, VXCs, Megaport Internet, and IXs](/monitoring/port-vxc-monitoring)
* [Viewing Activity Logs](/portal-admin/activity-logs)
