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

# System maintenance status

> Subscribe to real-time system maintenance status notifications via WebSocket.

Push interval: real-time push

```json theme={null}
{
  "id": "clientID",
  "topic": "maintenance_status",
  "event": "subscribe"
}
```

**Parameters**

| Name  | Type   | Required | Description               |
| ----- | ------ | -------- | ------------------------- |
| id    | string | Y        | id generate by client     |
| event | string | Y        | `subscribe`/`unsubscribe` |
| topic | string | N        | `maintenance_status`      |

<RequestExample>
  ```json Response theme={null}
  {
    "id": "clientID9",
    "event": "subscribe",
    "success": true,
    "ts": 1682242805633
  }
  ```
</RequestExample>

<ResponseExample>
  ```json Subscribed Message theme={null}
  {
     "topic":"maintenance_status",
     "ts":1682242806000,
     "data":[
        {
           "status": 2, // 0 is functioning, 2 is under maintenance
           "msg": "system is under maintenance",
           "scheduled_maintenance": {
              "startTime": 1618822380000,
              "endTime": 1618822440000
           }
        }
     ]
  }
  ```
</ResponseExample>
