Skip to Content
SeyloDocs

Mute alerts

POST
/api/v1/alerts.mute

Stops notifications for a scope (everything, a project, a service or a node), optionally for one event only and until a time. Alerts keep being recorded in the feed.

Needs alerts.manage, which owners and admins hold. Available to MCP clients and the assistant.

Authorization

cookieseylo_session<token>

Request Body

application/json
  1. body
scopeType*string|string|string|string
scopeId?string

Panel-issued id.

Match^[a-z0-9]{16}$
event?string|string|string|string|string|string|string|string|string|string|string|string|string|string|string|string|string|string|string|string|string
until?string
Formatdate-time
reason?string
Lengthlength <= 200

Response Body

Success.

application/json
  1. response
id*string

Panel-issued id.

Match^[a-z0-9]{16}$
scopeType*string|string|string|string
scopeId*|null
event*string|string|string|string|string|string|string|string|string|string|string|string|string|string|string|string|string|string|string|string|string|null
until*|null
reason*string
createdBy*|null
createdAt*string
Formatdate-time
Example Request
curl -X POST 'https://example.com/api/v1/alerts.mute' \  -H 'Content-Type: application/json' \  -d '{  "scopeType": "global"}'
Example Response
{  "id": "string",  "scopeType": "global",  "scopeId": "string",  "event": "crash",  "until": "2019-08-24T14:15:22Z",  "reason": "string",  "createdBy": "string",  "createdAt": "2019-08-24T14:15:22Z"}