API referenceMaintenance pages
Get the global maintenance page
GET
Returns whether panel-wide maintenance mode is on, and the global page shown for services without their own.
Needs settings.view, which owners and admins hold. Available to MCP clients and the assistant.
cookie
seylo_session<token>Success.
application/json- response
enabled*booleanmessage*stringhtml*|nullupdatedAt*|nullcurl -X GET 'https://example.com/api/v1/maintenance.getGlobal'Example Response
{ "enabled": true, "message": "string", "html": "string", "updatedAt": "2019-08-24T14:15:22Z"}Get a service's maintenance page GET
Returns a service's maintenance mode, its own page if any, and which page visitors actually see. Needs `services.view` on the service (a grant on its project covers it). Available to MCP clients and the assistant.
Preview a maintenance page GET
Returns the HTML visitors would see: the service's page when serviceId is given, otherwise the global page, with the message filled in. The web app shows it in a sandboxed frame. Any signed-in caller. Not available to MCP clients or the assistant.