# HTTP — `GET /v1/maintenance`

`GET /v1/maintenance` returns the announcements of a Mosaiq stop and of a venue
maintenance, and when trading on each Mosaiq venue stops because of one. It
answers the same values as the first message of the
[`maintenance` topic](/api/exchange-websocket#maintenance-announcements), the
`snapshot`, without `message_type`. The endpoint is public and takes no
parameters. It never reads the database, so it never answers
`public_reads_busy`. Like every HTTP endpoint, it counts toward the
[HTTP limit](/api/http-public#rate-limits) of your IP and can answer
`429 rate_limited`.

No order is refused because of a Mosaiq maintenance. During a venue
maintenance, Mosaiq refuses place and modify on that venue: `venues` tells you
when. To follow changes as they happen, subscribe to the topic on any WebSocket
instead of polling. While a Mosaiq stop or a venue window nears, the topic also
sends the current state again on a schedule, down to every second for the last
10 seconds. Each message is the whole current state.

```http
GET /v1/maintenance
```

This example shows Mosaiq two minutes after a start, with a Mosaiq stop and a
Lighter maintenance scheduled for later:

```jsonc
{
  "status": "ok",
  "data": {
    "platform": {
      "announcement": {
        "id": "019a9d5a-6b80-7c3e-9f41-2d7e8a05c113",
        "status": "scheduled",
        "window_start_ms": 1788654600000,
        "expected_downtime_s": 600
      },
      "boot_hold": {
        "id": "019a9d5a-8f20-7a41-b6c2-51e90d374a88",
        "booted_at_ms": 1788646029474,
        "hold_until_ms": 1788646929474
      }
    },
    "sources": [
      {
        "venue": "hyperliquid",
        "source_url": "https://hyperliquid.statuspage.io/api/v2/scheduled-maintenances.json",
        "status": "fresh",
        "checked_at_ms": 1788646129474,
        "last_success_ms": 1788646129474,
        "maintenances": []
      },
      {
        "venue": "lighter",
        "source_url": "https://status.lighter.xyz/index.json",
        "status": "fresh",
        "checked_at_ms": 1788646129474,
        "last_success_ms": 1788646129474,
        "maintenances": [
          {
            "id": "1051290",
            "title": "Network Upgrade",
            "source_url": "https://status.lighter.xyz/maintenance/1051290",
            "status": "scheduled",
            "scheduled_start_ms": 1788692431000,
            "scheduled_end_ms": 1788700531000
          }
        ]
      }
    ],
    "venues": [
      { "venue": "hyperliquid", "announcement": null },
      { "venue": "hyperliquid:xyz", "announcement": null },
      { "venue": "hyperliquid:mkts", "announcement": null },
      { "venue": "hyperliquid:io", "announcement": null },
      { "venue": "hyperliquid:para", "announcement": null },
      {
        "venue": "lighter",
        "announcement": {
          "id": "1051290",
          "status": "scheduled",
          "window_start_ms": 1788692431000,
          "window_end_ms": 1788700531000
        }
      },
      {
        "venue": "lighter:robinhood",
        "announcement": {
          "id": "1051290",
          "status": "scheduled",
          "window_start_ms": 1788692431000,
          "window_end_ms": 1788700531000
        }
      }
    ]
  },
  "server_time_ms": 1788646149474
}
```

| Field | Meaning |
| --- | --- |
| `platform` | Mosaiq itself: `announcement` and `boot_hold`, each `null` when absent. Both `null` means normal. |
| `platform.announcement` | A planned stop of Mosaiq, with `id`, `status`, `window_start_ms`, `expected_downtime_s`, and `shutdown_at_ms` while `shutting_down`. |
| `platform.boot_hold` | Mosaiq started at `booted_at_ms`: hold your volume until `hold_until_ms`. |
| `sources` | One entry per venue status page: Hyperliquid and Lighter. |
| `venues` | One entry per Mosaiq venue, in a fixed order, with `venue` and `announcement`. `announcement` is `null` when Mosaiq knows no window for the venue. Else it has `id`, the window in `sources`, `status` (`scheduled` or `in_progress`), `window_start_ms`, and `window_end_ms`, `null` without an end. |

[Maintenance announcements](/api/exchange-websocket#maintenance-announcements)
describes every field and status.
