Skip to content

List



GET /api/v1/monitor/mute/list

Overview

Query the mute rules in the current workspace, including their scope, time, notification configuration, and derived status.

Before Calling and Usage Steps

First filter by type/isEnable and maintenance scope, then read page by page. The list is sorted by update time and creation time in descending order; deleted records are not returned, and disabled and expired rules can still be queried.

The workStatus in the list is a derived display: a one-time rule is marked active only when start <= now < end; the current algorithm incorrectly marks one-time rules with no end (end=-1) as expired, although they can still be used on the execution side. The display of repeating rules also does not first constrain the overall start, so rules that start in the future may be shown as active early; verify status, the complete time, and actual notification suppression together.

The rule controls notification muting for matching events; events and monitoring data are still processed according to the original flow. muteIncident is an extended capability for Incident notifications and is not included in the current public write parameters; to adjust it, operate in the console. Do not submit internal parameters as public request fields.

The returned start/end/repeatExpire values are Unix seconds, and startTime/endTime/repeatExpireTime are displayed according to each rule's timezone. The repeat configuration can be read from repeatCrontabSet; if there are no results, data=[] is returned.

Request Headers

Parameter Type Required Description
DF-API-KEY string Y OpenAPI authentication credential for the workspace.
Example: <DF-API-KEY>
How to obtain or fill in: Obtain an OpenAPI Key with permission for this operation from API Key management in the target workspace.

Query Request Parameters

Parameter Type Required Description
search string Optional keyword; omit it to not filter by keyword.
Allows null: False
Example: 维护
How to obtain or fill in: Search by text in rule names; descriptions and UUIDs are not searched.
workStatus commaArray Optional derived status filter; multiple values are combined as a union, and omitting it includes all. See the usage notes for display limitations.
Allows null: False
Example: pending_activation,active
How to obtain or fill in: Select from pending_activation/active/expired, separated by commas.
isEnable commaArray Optional enabled/disabled filter; omitting it includes enabled and disabled rules.
Allows null: False
Example: 1
How to obtain or fill in: 1 for enabled and 0 for disabled; separate multiple values with commas to select both.
type commaArray Optional type filter; separate multiple values with commas; historical types may include monitor.
Allows null: False
Example: custom
How to obtain or fill in: Select custom/checker/alertPolicy/tag by mute scope.
updator commaArray Optional UUIDs of the identities that last updated the rules; separate multiple values with commas.
Allows null: False
Example: wsak_example
How to obtain or fill in: Obtain the actual identity from updator in an existing list or from a member account UUID.
creator commaArray Optional UUIDs of the identities that created the rules; separate multiple values with commas.
Allows null: False
Example: wsak_example
How to obtain or fill in: Obtain the actual identity from creator in an existing list or from a member account UUID.
pageIndex integer Optional page number; minimum 1, default 1.
Allows null: False
$minValue: 1
Example: 1
How to obtain or fill in: Read page by page starting from 1.
pageSize integer Optional number of records per page; default 50.
Allows null: False
$minValue: 1
$maxValue: 100
Example: 50
How to obtain or fill in: Select 1-100 according to the client's paging capacity.

Request Example

curl --get 'https://openapi.guance.com/api/v1/monitor/mute/list' \
  -H 'DF-API-KEY: <DF-API-KEY>' \
  --data-urlencode pageIndex=1 \
  --data-urlencode pageSize=50 \
  --data-urlencode type=custom

Response

HTTP 200, application/json. The example below shows the main fields that can be read directly.

Field Type Description
content object Paginated content; pageInfo is at the top level of the response.
content.data array<object> Mute rules that match the criteria; an empty result is [].
content.data[].id integer Rule record ID; use uuid for operations.
content.data[].uuid string Mute rule UUID.
content.data[].workspaceUUID string Workspace to which the rule belongs.
content.data[].name string Rule name.
content.data[].description string Description.
content.data[].type string custom/checker/alertPolicy/tag; historical records may also contain monitor.
content.data[].tags object Saved field value conditions.
content.data[].tags.field JSON Matching value for the corresponding event field.
content.data[].filterString string Event attribute condition; when non-empty, takes precedence over tags.
content.data[].muteRanges array<object> Saved range array; see the request parameters for the meaning of each UUID.
content.data[].muteRanges[].checkerUUID string or array Monitor identifier; historical records may be an array.
content.data[].muteRanges[].sloUUID string or array SLO identifier; historical records may be an array.
content.data[].muteRanges[].alertPolicyUUID string Alert Policy UUID.
content.data[].muteRanges[].tagUUID string or array Monitor tag UUID.
content.data[].muteRanges[].name string Display name; may be omitted.
content.data[].muteRanges[].type string Display type; may be omitted.
content.data[].notifyTargets array<object> Notification targets for the mute rule.
content.data[].notifyTargets[].type string mail/notifyObject/memberGroup.
content.data[].notifyTargets[].to array<string> Array of UUIDs of the corresponding type.
content.data[].notifyTargets[].to[] string Single target UUID.
content.data[].notifyMessage string Notification body for the mute rule.
content.data[].notifyTime integer Notification time in Unix seconds; -1 indicates an immediate intent, and whether to send is still determined by the task.
content.data[].notifyTimeStr string Notification time formatted according to timezone; empty string for immediate intent.
content.data[].start integer Start time in Unix seconds.
content.data[].end integer End time of a one-time rule in Unix seconds; -1 means no end.
content.data[].startTime string YYYY/MM/DD HH:MM:SS in timezone.
content.data[].endTime string End time in the same format; empty string when end=-1.
content.data[].repeatExpire integer -1 for one-time, 0 for permanent repeat, positive value for the cycle end in Unix seconds.
content.data[].repeatExpireTime string -1/0 or the formatted end time in timezone.
content.data[].crontab string Five-field Cron string for repeating rules; usually empty for one-time rules.
content.data[].crontabDuration integer Duration of each repeat window in seconds.
content.data[].cycleNotifyAt integer Unix seconds of the most recent cycle notification time; -1 if not yet notified.
content.data[].timezone string Rule timezone.
content.data[].declaration object Custom declaration for the rule, not the public declaration of this workspace.
content.data[].declaration.customField JSON Custom values saved by the caller.
content.data[].muteIncident boolean Whether to also mute Incident notifications. The current OpenAPI does not declare this write parameter; it defaults to false on creation, and existing rules may reflect console settings. The alertPolicy scope does not support this Incident matching.
content.data[].status integer 0 enabled, 2 disabled, 3 deleted. Enabled does not mean it is currently in effect.
content.data[].creator string Creator identity.
content.data[].updator string Last updater identity.
content.data[].createAt integer Creation time in Unix seconds.
content.data[].updateAt integer Update time in Unix seconds; initially -1.
content.data[].deleteAt integer Deletion time in Unix seconds; -1 if not deleted.
content.data[].repeatCrontabSet object Cron parsed object provided when listing and creating repeating rules; not always provided in update responses.
content.data[].repeatCrontabSet.min string Corresponding Cron field.
content.data[].repeatCrontabSet.hour string Corresponding Cron field.
content.data[].repeatCrontabSet.day string Corresponding Cron field.
content.data[].repeatCrontabSet.month string Corresponding Cron field.
content.data[].repeatCrontabSet.week string Corresponding Cron field.
content.data[].workStatus string pending_activation/active/expired; derived display with the edge cases described in the usage notes.
content.data[].creatorInfo object Fixed set of five display keys; when no identity matches, name/username are null and the rest are empty strings.
content.data[].creatorInfo.name string or null Display name.
content.data[].creatorInfo.username string or null Login name.
content.data[].creatorInfo.acntWsNickname string or null Workspace nickname.
content.data[].creatorInfo.email string or null Email or system identity identifier.
content.data[].creatorInfo.iconUrl string or null Avatar URL.
content.data[].updatorInfo object Fixed set of five display keys; when no identity matches, name/username are null and the rest are empty strings.
content.data[].updatorInfo.name string or null Display name.
content.data[].updatorInfo.username string or null Login name.
content.data[].updatorInfo.acntWsNickname string or null Workspace nickname.
content.data[].updatorInfo.email string or null Email or system identity identifier.
content.data[].updatorInfo.iconUrl string or null Avatar URL.
content.allCreatorInfo array<object> Identity candidates associated with non-deleted rules in the entire workspace; not narrowed by the current filter or pagination.
content.allCreatorInfo[].uuid string Account UUID; may be omitted.
content.allCreatorInfo[].status integer Account status.
content.allCreatorInfo[].wsAccountStatus integer Workspace account status.
content.allCreatorInfo[].username string Login name.
content.allCreatorInfo[].name string Display name.
content.allCreatorInfo[].iconUrl string Avatar URL; may be omitted.
content.allCreatorInfo[].email string Email or system identity name.
content.allCreatorInfo[].mobile string Mobile number; may be empty.
content.allCreatorInfo[].countryCode string Country/region code; may be omitted.
content.allCreatorInfo[].acntWsNickname string Workspace nickname; may be omitted.
content.allUpdatorInfo array<object> Identity candidates associated with non-deleted rules in the entire workspace; not narrowed by the current filter or pagination.
content.allUpdatorInfo[].uuid string Account UUID; may be omitted.
content.allUpdatorInfo[].status integer Account status.
content.allUpdatorInfo[].wsAccountStatus integer Workspace account status.
content.allUpdatorInfo[].username string Login name.
content.allUpdatorInfo[].name string Display name.
content.allUpdatorInfo[].iconUrl string Avatar URL; may be omitted.
content.allUpdatorInfo[].email string Email or system identity name.
content.allUpdatorInfo[].mobile string Mobile number; may be empty.
content.allUpdatorInfo[].countryCode string Country/region code; may be omitted.
content.allUpdatorInfo[].acntWsNickname string Workspace nickname; may be omitted.
content.declaration object Public workspace declaration; may be an empty object.
pageInfo object Pagination information.
pageInfo.pageIndex integer Current page number.
pageInfo.pageSize integer Number of records per page.
pageInfo.count integer Actual number of records on the current page.
pageInfo.totalCount integer Total number of records matching the filter criteria.
{
  "code": 200,
  "content": {
    "data": [
      {
        "id": 42,
        "uuid": "mute_example",
        "workspaceUUID": "wksp_example",
        "name": "生产维护静默",
        "description": "生产服务维护窗口。",
        "type": "custom",
        "tags": {},
        "filterString": "service:checkout-api",
        "muteRanges": [],
        "notifyTargets": [],
        "notifyMessage": "",
        "notifyTime": -1,
        "start": 1795136400,
        "end": 1795140000,
        "repeatExpire": -1,
        "cycleNotifyAt": -1,
        "crontab": "",
        "crontabDuration": 0,
        "declaration": {},
        "muteIncident": false,
        "timezone": "Asia/Shanghai",
        "status": 0,
        "creator": "wsak_example",
        "updator": "",
        "createAt": 1785430800,
        "updateAt": -1,
        "deleteAt": -1,
        "startTime": "2026/11/20 09:00:00",
        "endTime": "2026/11/20 10:00:00",
        "notifyTimeStr": "",
        "repeatExpireTime": "-1",
        "workStatus": "pending_activation",
        "creatorInfo": {
          "name": null,
          "username": null,
          "acntWsNickname": "",
          "email": "",
          "iconUrl": ""
        },
        "updatorInfo": {
          "name": null,
          "username": null,
          "acntWsNickname": "",
          "email": "",
          "iconUrl": ""
        }
      }
    ],
    "allCreatorInfo": [],
    "allUpdatorInfo": [],
    "declaration": {}
  },
  "errorCode": "",
  "message": "",
  "success": true,
  "traceId": "TRACE-EXAMPLE",
  "pageInfo": {
    "pageIndex": 1,
    "pageSize": 50,
    "count": 1,
    "totalCount": 1
  }
}

Error Response

For authentication, rate limiting, and common request errors, see Common Error Definitions.

HTTP Status errorCode Trigger Condition Message or Response Description Handling Method
406 ft.ParameterValidationFailed Using an undeclared Query parameter or a parameter that violates the rules Parameter parsing failed Check the Query parameter table and examples.
500 ft.InternalServerError Reading, time formatting, or identity information processing failed Internal error Narrow the filter; if the failure persists, provide the traceId.

Feedback

Is this page helpful?