Skip to Content
SeyloDocs
API referenceMaintenance pages

Get a service's maintenance page

GET
/api/v1/maintenance.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.

Authorization

cookieseylo_session<token>

Query Parameters

serviceId*string

Panel-issued id.

Match^[a-z0-9]{16}$

Response Body

Success.

application/json
  1. response
serviceId*string

Panel-issued id.

Match^[a-z0-9]{16}$
enabled*boolean
message*string
html*|null
pageSource*string|string|string
globalEnabled*boolean
updatedAt*|null
Example Request
curl -X GET 'https://example.com/api/v1/maintenance.get?serviceId=string'
Example Response
{  "serviceId": "string",  "enabled": true,  "message": "string",  "html": "string",  "pageSource": "service",  "globalEnabled": true,  "updatedAt": "2019-08-24T14:15:22Z"}