Get Monitor List¶
GET /api/v1/checker/list
Overview¶
Read normal, smart, or AI semantic monitor configurations and their associated resources with pagination.
Before You Call and Usage Steps¶
For normal monitors, omit type; for smart and AI monitors, pass smartMonitor and aiMonitor respectively. Results are sorted by Rule.id in descending order with status!=3, including both enabled and disabled. Filters for tags, policies, specified UUIDs, and SLO are intersected across groups. The current public Query does not declare internal filters such as monitorUUID/refKey/dashboardUUID/scriptType, and they should not be appended.
This is a configuration list; it does not synchronously execute monitor checks or return recent events. Cross-workspace rules resolve the stored DQL and supplement targets[].extraOptions with the authorized execution scope, so the objects read are not necessarily only the originally saved values. An empty filter intersection returns data=[] and pageInfo={} in advance; normal pagination provides pageInfo. The list does not forcibly hide configurations based on custom operation permissions; allow_operation only affects operation display, and subsequent modifications still validate permissions.
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 enter: obtain an OpenAPI Key with the required operation permission from API Key management in the target workspace. |
Query Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
| type | string | Optional; defaults to trigger when not provided; trigger cannot be passed explicitly (not in the current enumeration). Not the jsonScript.type algorithm name. Allow null: False Allow empty string: False Allowed values: ['smartMonitor', 'aiMonitor'] Example: smartMonitorHow to obtain or enter: use smartMonitor for Smart Monitoring and aiMonitor for AI semantic monitoring; omit for normal monitors. |
|
| alertPolicyUUID | commaArray | Optional; multiple values separated by English commas; any match within the group; intersected with other filters. Allow null: False Example: altpl_exampleHow to obtain or enter: get the uuid from the Alert Policy List. |
|
| checkerStatus | commaArray | Optional; when omitted, reads by status!=3, and other historical statuses may also appear; comma-separated string, and callers submit only 0/2; non-integer values may return 500; reading deleted items with 3 is not supported. Allow null: False Example: 0,2How to obtain or enter: 0 enabled, 2 disabled. |
|
| tagsUUID | commaArray | Optional; multiple values separated by English commas; matches any associated monitor tag and is ANDed with other filters. Allow null: False Example: tag_exampleHow to obtain or enter: get the uuid from the Tag List, not the tag name. |
|
| checkerUUID | commaArray | Optional; multiple values separated by English commas; not the monitor group UUID. Allow null: False Example: rul_checker_exampleHow to obtain or enter: obtain from content.data[].uuid of this API. |
|
| sloUUID | string | Optional, a single SLO; filtered by its SLI association; if the association fails, the result is empty. Allow null: False Example: monitor_slo_exampleHow to obtain or enter: obtain the owning SLO UUID from the SLO details. |
|
| search | string | Optional; contains matching after trimming, name matching is case-insensitive, %/_ follow LIKE semantics; does not search check data. Allow null: False Example: 生产CPUHow to obtain or enter: rule name or rule UUID keyword. |
|
| pageIndex | integer | Optional, default 1, minimum 1. Allow null: False $minValue: 1 Example: 1How to obtain or enter: page through starting from 1. |
|
| pageSize | integer | Optional, default 100, maximum 100. Allow null: False $minValue: 1 $maxValue: 100 Example: 100How to obtain or enter: 1..100 per page. |
Request Example¶
curl --get 'https://openapi.guance.com/api/v1/checker/list' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--data-urlencode pageIndex=1 \
--data-urlencode pageSize=100
Response¶
HTTP 200, application/json. The example below shows the main fields that can be read directly.
| Field | Type | Description |
|---|---|---|
| content.data | array<object> |
Monitor configurations on this page. |
| content.data[].id | integer | Database record ID of the current monitor; use uuid in subsequent calls. |
| content.data[].uuid | string | The rul_ UUID of the current monitor; use this identifier for operations such as details, modification, and deletion. |
| content.data[].workspaceUUID | string | Workspace the object belongs to. |
| content.data[].monitorUUID | string | Associated monitor group UUID. |
| content.data[].type | string | Entity category, usually trigger/smartMonitor/aiMonitor; this differs from jsonScript.type, which is the check algorithm. |
| content.data[].refKey | string | Compatibility business association key, usually an empty string. |
| content.data[].secret | string or null | Shared fields such as external event Webhook identifiers; do not treat it as a general API Key; do not write sensitive real values to logs. |
| content.data[].jsonScript | object | Saved check configuration, interpreted by jsonScript.type and version. Reading does not execute checks. |
| content.data[].crontabInfo | object | Schedule configuration; fields vary by single/multi workspace and algorithm, and may be {}. |
| content.data[].crontabInfo.id | string | Primary schedule configuration ID; may be omitted. |
| content.data[].crontabInfo.crontab | string or null | Actual execution Cron; may be explicitly null or omitted (for example, combined monitors without Cron); this differs from the input every. |
| content.data[].crontabInfo.smartRelId | string | Attached schedule ID for some smart monitors; may be omitted. |
| content.data[].crontabInfo.multiWsCrontabInfo | array<object> |
Per-workspace schedule details for cross-workspace; may exist historically and may be omitted. |
| content.data[].crontabInfo.multiWsCrontabInfo[].ws_uuid | string | Target workspace UUID. |
| content.data[].crontabInfo.multiWsCrontabInfo[].id | string | Schedule ID in that workspace. |
| content.data[].crontabInfo.multiWsCrontabInfo[].crontab | string or null | Actual Cron for that workspace; may be explicitly null or omitted. |
| content.data[].extend | object | Additional echo/incident association configuration; may contain historical custom fields; must not be blindly posted back as a whole for modification. |
| content.data[].extend.custom field | JSON | Historical or type-specific saved values; refer to the current type's details and the public structure of the create API. |
| content.data[].createdWay | string | manual/import/template or a historical empty value. |
| content.data[].isLocked | integer or boolean | Lock flag of the current monitor configuration; 1 means locked and 0 means unlocked; it does not indicate historical configuration versions. |
| content.data[].openPermissionSet | boolean | Custom operation permission switch; a successful read does not imply the configuration can be modified. |
| content.data[].permissionSet | array<string> |
Custom operation subject UUIDs. |
| content.data[].permissionSet[] | string | Account/team/role identifier. |
| content.data[].status | integer | 0 enabled, 2 disabled; non-deletion queries may include other historical states; it does not represent the latest run result. |
| content.data[].creator | string | Creator identity. |
| content.data[].updator | string | Updater identity. |
| content.data[].createAt | integer | Creation Unix seconds. |
| content.data[].updateAt | integer | Update Unix seconds; -1 if never updated. |
| content.data[].deleteAt | integer | Deletion Unix seconds; -1 if not deleted. |
| content.data[].configVersion | integer | Additional field for the current V2 configuration version; may be omitted for normal rules. |
| content.data[].jsonScript.targetWorkspaceUUID | string | Cross-workspace target UUID; applies only to simpleCheck, seniorMutationsCheck, seniorRangeV2Check, seniorRangeCheck, and outlierCheck; valid authorization is still required, and it cannot be used for arbitrary check types. |
| content.data[].jsonScript.type | string | Check method type. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.windowDql | string | window DQL. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.title | string | Title of the generated event. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.message | string | Event content. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.recoverTitle | string | Title template for outputting recovery events. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.recoverMessage | string | Message template for outputting recovery events. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.noDataTitle | string | Title template for outputting no-data events. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.noDataMessage | string | Message template for outputting no-data events. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.openNotificationMessage | boolean | Whether to enable event notification content; default is disabled (use the event content as the notification content). This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.notificationMessage | string | Event notification content. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.openNoDataNotificationMessage | boolean | Whether to enable data gap event notification content; default is disabled (use the data gap event content as the notification content). This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.noDataNotificationMessage | string | Data gap event notification content. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.noDataRecoverTitle | string | Title template for outputting no-data recovery events. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.noDataRecoverMessage | string | Message template for outputting no-data recovery events. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.every | string | Check frequency. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.customCrontab | string | Custom check frequency. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.delaySeconds | integer | Data waiting window for normal monitors, in seconds; 0 means no waiting; smart monitors do not support this configuration. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.interval | integer | Query interval, that is, the time range difference of one query. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.range | integer | range parameter for advanced detection and mutation detection, in s. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.range_2 | integer | range_2 parameter for advanced detection and mutation detection, in s; special note (-1 means period-over-period comparison, 0 means use the periodBefore field). This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.periodBefore | integer | (yesterday/one hour ago) parameter for advanced detection and mutation detection, in s. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.recoverNeedPeriodCount | integer | Specify after how many check periods an anomaly generates a recovery event; if the check frequency is custom customCrontab, this field represents a duration in s; otherwise, it represents a number of check frequencies. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.noDataInterval | integer | How long without data before a no-data event is generated; when noDataEventRepeat is used, it must be a positive integer number of seconds. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.noDataAction | string | No-data handling action. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkFuncs | array | List of check function information. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.groupBy | array | Trigger dimensions. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.targets | array | Check targets. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt | json | Check condition settings. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.enableStreamingAggregation | boolean or null | Monitor streaming aggregation acceleration; omitted or null follows the workspace, true enables it independently, false disables it independently. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.yamlConfig | string | Complete source YAML text for V2, up to 256 KiB; it is not a JSON object and has no Markdown fences. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.disableLargeScaleEventProtect | boolean | Whether to disable large-scale event protection; default false. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.script | string | Script content of programmable monitors. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.rules | array | List of trigger conditions. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.openOkConditions | boolean | Enable level-based recovery; default disabled (false). This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.openMatchTimes | boolean | Enable consecutive trigger evaluation; default disabled (false). This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.infoEvent | boolean | Whether to generate info events while continuously normal; default false. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.infoEventCondition | json | Conditions for generating info events; supports thresholds, logs, application/RUM metrics, availability, processes, network, mutation, range, and compatible legacy types for normal rule checks; does not support outlier, combined, liveness V2, change, programmable, smart, and SLO. An empty object means unconditional generation. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.infoEventCondition.alias | string | Alias of the judged object. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.infoEventCondition.operator | string | Comparison operator. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.infoEventCondition.operands | array | List of comparison operands. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.diffMode | string | Difference mode for mutation detection in advanced detection; enumerated values: value, percent. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.direction | string | Trigger condition direction for mutation detection and range detection in advanced detection. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.eps | float | Distance parameter, value range: 0 ~ 3.0. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.threshold | json | Trigger precondition settings for mutation detection. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.threshold.status | boolean | Mutation detection, whether the trigger precondition is enabled. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.threshold.operator | string | Mutation detection, trigger precondition operator. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.threshold.value | float or null | Mutation detection, trigger precondition check value. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.combineExpr | string | Combined monitoring, combination method. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.ignoreNodata | boolean | Combined monitoring, whether to ignore no-data results (true means ignore). This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.confidenceInterval | integer | New parameter for range detection V2; confidence interval range 1-100. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.category | string | AI monitor category metadata. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.userPrompt | string | AI user prompt; must not be empty when provided, up to 20000 characters. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.systemPrompt | string | AI system prompt; must not be empty when provided, up to 20000 characters. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.mentions | array | DQL reference list; each item must contain type=dql, namespace, and datasource; index is optional and filled when selecting logs; up to 20000 characters after serialization. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.mentions[] | object | A single object in the array, interpreted by its subordinate fields. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.mentions[].type | string | Data source type. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.mentions[].namespace | string | DQL namespace. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.mentions[].index | string | DQL index; filled when selecting logs. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.mentions[].datasource | string | DQL data source. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.model | string | Model used for this check. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.contextWindowLimit | integer | Context window token limit; must be greater than 0. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.maxChatRounds | integer | Maximum conversation rounds; must be greater than or equal to 1. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.maxDQLQueries | integer | Maximum number of DQL queries; must be greater than or equal to 0. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.checkerOpt.creditSoftBudget | number | Credit soft budget per check; must be greater than 0. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.channels | array | List of channel UUIDs. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.atAccounts | array | List of account UUIDs mentioned (@) in normal checks. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.atNoDataAccounts | array | List of account UUIDs mentioned (@) when there is no data. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.subUri | string | Webhook address suffix of OuterEventChecker; required on creation and not required to be unique. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.isChangeEvent | boolean | Whether OuterEventChecker is handled as a Change Event; default false; existing rules missing the field are treated as false. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.disableCheckEndTime | boolean | Whether to disable the end time limit. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.eventChartEnable | boolean | Whether to enable event charts; disabled by default (note that this takes effect only when the primary storage engine logging is doris). This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.eventCharts | array | List of event charts. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.eventCharts[] | object | A single object in the array, interpreted by its subordinate fields. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.eventCharts[].dql | string | Query statement of the event chart. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor. |
| content.data[].jsonScript.targets[] | object | A single DQL/PromQL query target, or a combined monitoring member. |
| content.data[].jsonScript.targets[].dql | string | Actual executed query; qtype determines the syntax. |
| content.data[].jsonScript.targets[].qtype | string | Usually dql/promql; historically may be expressed via queryType. |
| content.data[].jsonScript.targets[].queryType | string | Historical query syntax marker. |
| content.data[].jsonScript.targets[].alias | string | Normal common plugins usually require Result; combined monitoring uses member aliases. |
| content.data[].jsonScript.targets[].monitorCheckerId | string | Only the associated member UUID for combined monitoring. |
| content.data[].jsonScript.targets[].groupBy | array<string> |
Additional trigger dimensions for combined members. |
| content.data[].jsonScript.targets[].groupBy[] | string | Field name. |
| content.data[].jsonScript.targetWorkspaceUUIDs | array<string> |
Set of target workspace UUIDs that may be saved by historical/other entry points; not declared in public create/update and must not be posted back as a whole. |
| content.data[].jsonScript.targetWorkspaceUUIDs[] | string | Single target workspace UUID. |
| content.data[].jsonScript.targets[].extraOptions | object | get echoes the saved values; list may supplement them in place when cross-workspace authorization verification produces resolved results, and may retain historical values when there are no results. This is not a client-writable request or proof of the current complete authorization. |
| content.data[].jsonScript.targets[].extraOptions.workspace_uuids | array<string> |
Candidate execution workspaces saved or resolved in this list request; may contain historical values and does not guarantee that all are currently authorized. |
| content.data[].jsonScript.targets[].extraOptions.workspace_uuids[] | string | Single saved or candidate workspace UUID; verify the current authorization. |
| content.data[].jsonScript.targets[].extraOptions.index_list | array<object> |
Data domain/index candidate scope saved or resolved in this list request; may contain historical values and cannot serve as a guarantee of current complete authorization. |
| content.data[].jsonScript.targets[].extraOptions.index_list[].workspace_uuid | string | Source workspace UUID. |
| content.data[].jsonScript.targets[].extraOptions.index_list[].namespace | string | Query namespace. |
| content.data[].jsonScript.targets[].extraOptions.index_list[].index_name | string | Allowed index name; may be default for non-log data. |
| content.data[].jsonScript.targets[].extraOptions.index_list[].expr_name | string | Expression subquery name; may be omitted. |
| content.data[].jsonScript.targets[].conditions | object or string | Additional query filters; read according to the saved structure and do not assume a uniform type. |
| content.data[].jsonScript.groupBy[] | string | Trigger dimension field. |
| content.data[].jsonScript.checkFuncs[] | object | Compatible check function information. |
| content.data[].jsonScript.checkFuncs[].funcId | string | Function ID. |
| content.data[].jsonScript.checkFuncs[].kwargs | object | Function-specific parameters; not a common input for all algorithms. |
| content.data[].jsonScript.checkFuncs[].kwargs.parameter name | JSON | Interpret according to the corresponding function documentation. |
| content.data[].jsonScript.channels[] | string | Incident channel UUID. |
| content.data[].jsonScript.atAccounts[] | string | Identities mentioned (@) in notifications; historically may be email addresses. |
| content.data[].jsonScript.atNoDataAccounts[] | string | @ targets for no-data notifications. |
| content.data[].jsonScript.checkerOpt.rules[] | object | Set trigger and recovery conditions by level. |
| content.data[].jsonScript.checkerOpt.rules[].status | string | fatal/critical/error/warning/info/ok/ALL etc., interpreted by check type. |
| content.data[].jsonScript.checkerOpt.rules[].conditionLogic | string | and/or, combination of multiple conditions. |
| content.data[].jsonScript.checkerOpt.rules[].matchTimes | integer | Number of consecutive matches; use together with openMatchTimes. |
| content.data[].jsonScript.checkerOpt.rules[].conditions | array<object> |
Trigger conditions. |
| content.data[].jsonScript.checkerOpt.rules[].okConditions | array<object> |
Level-based recovery conditions; may be omitted. |
| content.data[].jsonScript.checkerOpt.rules[].conditions[].alias | string | Alias of the corresponding query target. |
| content.data[].jsonScript.checkerOpt.rules[].conditions[].operator | string | Condition operator; the supported set depends on the check type. |
| content.data[].jsonScript.checkerOpt.rules[].conditions[].operands | array | Array of comparison values; numeric/string types are preserved. |
| content.data[].jsonScript.checkerOpt.rules[].conditions[].operands[] | string / number | Single comparison value. |
| content.data[].jsonScript.checkerOpt.rules[].okConditions[].alias | string | Alias of the corresponding query target. |
| content.data[].jsonScript.checkerOpt.rules[].okConditions[].operator | string | Condition operator; the supported set depends on the check type. |
| content.data[].jsonScript.checkerOpt.rules[].okConditions[].operands | array | Array of comparison values; numeric/string types are preserved. |
| content.data[].jsonScript.checkerOpt.rules[].okConditions[].operands[] | string / number | Single comparison value. |
| content.data[].extend.isNeedCreateIssue | boolean | Whether to create an Issue based on the anomaly. |
| content.data[].extend.issueLevelUUID | string | Historical Issue level identifier; may no longer be valid. |
| content.data[].extend.issueDfStatus | array<string> |
Anomaly statuses that trigger an Issue. |
| content.data[].extend.issueDfStatus[] | string | fatal/critical/error/warning/nodata. |
| content.data[].extend.manager | array<string> |
Resolved owner targets. |
| content.data[].extend.manager[] | string | Target identifiers such as members/teams. |
| content.data[].extend.incidentsTags | array<string> |
Tag names associated with the anomaly. |
| content.data[].extend.incidentsTags[] | string | Single tag name. |
| content.data[].extend.faultMappingMode | string | custom/existing, current Issue level mapping mode. |
| content.data[].extend.levelMappingUUID | string | Level mapping UUID when existing. |
| content.data[].extend.bindIncidentsInfo | array<object> |
Custom level mapping rows. |
| content.data[].extend.bindIncidentsInfo[].incidentsLevelUUID | string | Mapped Issue level UUID. |
| content.data[].extend.bindIncidentsInfo[].incidentsDfStatus | array<string> |
Mapped anomaly status array. |
| content.data[].extend.bindIncidentsInfo[].incidentsDfStatus[] | string | Single anomaly status. |
| content.data[].extend.smartMonitor | object | V2 source and current version metadata. |
| content.data[].extend.smartMonitor.source | string | ai/builtin source. |
| content.data[].extend.smartMonitor.engineVersion | integer | Usually 2 for V2. |
| content.data[].extend.smartMonitor.configVersion | integer | V2 configuration version. |
| content.data[].extend.smartMonitor.category | string | Smart monitor category. |
| content.data[].extend.smartMonitor.prompt | string | AI-generated prompt. |
| content.data[].extend.smartMonitor.templateId | string | Built-in template identifier. |
| content.data[].extend.smartMonitor.templateVersion | string | Built-in template version. |
| content.data[].extend.smartMonitor.generationRunId | string | Generation process trace identifier; may be omitted. |
| content.data[].creatorInfo | object or string | Identity summary; an empty string in the list when there is no profile, and {} in details when there is no profile. |
| content.data[].creatorInfo.uuid | string | Identity UUID; may be omitted. |
| content.data[].creatorInfo.status | integer | Account/subject status; may be omitted. |
| content.data[].creatorInfo.wsAccountStatus | integer | Member status; may be omitted. |
| content.data[].creatorInfo.name | string | Display name. |
| content.data[].creatorInfo.username | string | Login name; may be omitted. |
| content.data[].creatorInfo.email | string | Email or system identity identifier. |
| content.data[].creatorInfo.mobile | string | Mobile number; may be empty. |
| content.data[].creatorInfo.countryCode | string | Country/region code; may be omitted. |
| content.data[].creatorInfo.iconUrl | string | Avatar; may be omitted. |
| content.data[].creatorInfo.acntWsNickname | string | Workspace nickname; may be omitted. |
| content.data[].updatorInfo | object or string | Identity summary; an empty string in the list when there is no profile, and {} in details when there is no profile. |
| content.data[].updatorInfo.uuid | string | Identity UUID; may be omitted. |
| content.data[].updatorInfo.status | integer | Account/subject status; may be omitted. |
| content.data[].updatorInfo.wsAccountStatus | integer | Member status; may be omitted. |
| content.data[].updatorInfo.name | string | Display name. |
| content.data[].updatorInfo.username | string | Login name; may be omitted. |
| content.data[].updatorInfo.email | string | Email or system identity identifier. |
| content.data[].updatorInfo.mobile | string | Mobile number; may be empty. |
| content.data[].updatorInfo.countryCode | string | Country/region code; may be omitted. |
| content.data[].updatorInfo.iconUrl | string | Avatar; may be omitted. |
| content.data[].updatorInfo.acntWsNickname | string | Workspace nickname; may be omitted. |
| content.data[].allow_operation | boolean or null | Operation display value for the current calling identity; interface permissions and business validation still apply; may be null when not configured. |
| content.data[].permissionSetInfo | object | Provides an identifier→profile mapping when permissionSet is not empty; may be {} when no subject matches. |
| content.data[].permissionSetInfo.subject | object | Complete account identity, or {name,status} for a role/team. |
| content.data[].permissionSetInfo.subject.uuid | string | Identity UUID; may be omitted. |
| content.data[].permissionSetInfo.subject.status | integer | Account/subject status; may be omitted. |
| content.data[].permissionSetInfo.subject.wsAccountStatus | integer | Member status; may be omitted. |
| content.data[].permissionSetInfo.subject.name | string | Display name. |
| content.data[].permissionSetInfo.subject.username | string | Login name; may be omitted. |
| content.data[].permissionSetInfo.subject.email | string | Email or system identity identifier. |
| content.data[].permissionSetInfo.subject.mobile | string | Mobile number; may be empty. |
| content.data[].permissionSetInfo.subject.countryCode | string | Country/region code; may be omitted. |
| content.data[].permissionSetInfo.subject.iconUrl | string | Avatar; may be omitted. |
| content.data[].permissionSetInfo.subject.acntWsNickname | string | Workspace nickname; may be omitted. |
| content.data[].monitorName | string or null | May be null in the list; the group name supplemented in the list is not guaranteed to be consistent with monitorUUID, so verify the group by monitorUUID. Details return it only when a group exists. |
| content.data[].tagInfo | array<object> |
Summary of valid associated tags. |
| content.data[].tagInfo[].id | integer | Tag record ID. |
| content.data[].tagInfo[].uuid | string | Tag UUID. |
| content.data[].tagInfo[].name | string | Tag name. |
| content.data[].tagInfo[].description | string | Tag description. |
| content.data[].tagInfo[].colour | string | Tag color. |
| content.data[].tagInfo[].scope | string or array | Scope; a historical empty value may fall back to the string all, and others are arrays. |
| content.data[].tagInfo[].scope[] | string | Single scope; may be omitted. |
| content.data[].alertPolicyInfos | array<object> |
Valid associated alert policies. |
| content.data[].alertPolicyInfos[].uuid | string | Policy UUID. |
| content.data[].alertPolicyInfos[].name | string | Policy name. |
| content.data[].dashboardUUID | string | Valid associated dashboard UUID; may be omitted. |
| content.data[].dashboardName | string | Dashboard name; may be omitted. |
| content.data[].relCombinedCheckerInfos | array<object> |
Summary of combined monitors that reference this rule; may be omitted. |
| content.data[].relCombinedCheckerInfos[].uuid | string | Combined monitor UUID. |
| content.data[].relCombinedCheckerInfos[].name | string | Combination name. |
| content.data[].isSLI | boolean | Whether it is associated with a valid SLO. |
| content.data[].sloInfo | array<object> |
SLO summary only when isSLI is true. |
| content.data[].sloInfo[].uuid | string | SLO UUID. |
| content.data[].sloInfo[].name | string | SLO name. |
| content.data[].invalidWsGrant | boolean | true only when the cross-workspace source authorization is judged invalid; its absence does not mean all future queries will succeed. |
| content.declaration | object | Public declaration. |
| pageInfo | object | Pagination object; may be {} if filtering ends early. |
| pageInfo.pageIndex | integer | Current page; may be omitted. |
| pageInfo.pageSize | integer | Page size; may be omitted. |
| pageInfo.count | integer | Number of items on this page; may be omitted. |
| pageInfo.totalCount | integer | Total filtered count; may be omitted. |
{
"code": 200,
"content": {
"data": [
{
"id": 100,
"uuid": "rul_checker_example",
"workspaceUUID": "wksp_example",
"monitorUUID": "monitor_example",
"type": "trigger",
"refKey": "",
"secret": "",
"jsonScript": {
"type": "simpleCheck",
"title": "生产CPU阈值",
"name": "生产CPU阈值",
"every": "1m",
"interval": 300,
"groupBy": [
"host"
],
"targets": [
{
"dql": "M::cpu:(avg(usage_idle)) BY host",
"alias": "Result",
"qtype": "dql"
}
],
"checkerOpt": {
"rules": [
{
"status": "warning",
"conditionLogic": "and",
"conditions": [
{
"alias": "Result",
"operator": "<",
"operands": [
10
]
}
]
}
]
}
},
"extend": {},
"crontabInfo": {
"id": "cron_example",
"crontab": "0 */1 * * * *"
},
"createdWay": "manual",
"isLocked": 0,
"openPermissionSet": false,
"permissionSet": [],
"status": 0,
"creator": "wsak_example",
"updator": "",
"createAt": 1785427200,
"updateAt": -1,
"deleteAt": -1,
"creatorInfo": "",
"updatorInfo": "",
"monitorName": null,
"alertPolicyInfos": [],
"tagInfo": [],
"allow_operation": null,
"isSLI": false
}
],
"declaration": {}
},
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-EXAMPLE",
"pageInfo": {
"pageIndex": 1,
"pageSize": 100,
"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 |
|---|---|---|---|---|
| 406 | ft.ParameterValidationFailed | An undeclared Query parameter is used or a parameter violates the rules | Parameter parsing failed | Check the Query parameter table and the example. |
| 404 | ft.NoInitOtherNodeCfg | The external organization site address is not configured when the list verifies source authorization | Other node configuration not initialized | The administrator should verify the authorization source service address and site configuration. |
| 406 | ft.UnsupportMultiSiteQuery | Source authorization resolves to multiple incompatible site addresses | Multi-site workspace queries are not supported | Filter by source workspace and verify the authorized site configuration. |
| 406 | ft.DqlParseError | The stored DQL or eval subquery fails to parse when the list verifies cross-workspace authorization | dql parser parse failed: {} | Fix the saved check query expression and index/data domain; narrow down to the corresponding UUID first. |
| 500 | ft.InternalServerError | The status is not an integer, the saved JSON shape is invalid, association/authorization processing fails, or the normal query service fails with a 5xx | Internal error | Use only 0/2 for checkerStatus and narrow the filters; if it persists, provide the traceId. |