Skip to content

Get Monitor Details



GET /api/v1/checker/{rule_uuid}/get

Overview

Read the complete monitor configuration, associated resources, and compatible historical snapshots.

Before Calling and Usage Steps

The path must use the rule UUID of the current workspace obtained from the corresponding type list; this shared read itself does not restrict Rule.type, so do not guess the object category from the same rul_ prefix. By default, the current configuration is read; see the table below for compatible Query parameters. When the old ruleHistory has no available history, it returns successfully with content={}, which does not mean the current rule does not exist.

Although this route's YAML has no Query declaration, it actually passes through request.args and handles ruleHistory/targetWorkspaceUUID/targetRegion; only the compatible fields verified through the complete call chain are listed here, and you must not infer from this that all other controller parameters can be used from the public API. Cross-workspace/cross-site access requires a real, valid authorization; this API does not create authorization and does not change the source rule; when the remote end rejects with an authorization-expired error, it asynchronously marks the local mirror authorization as invalid, and reads may also update the local authorization state, so you should verify the source authorization before recovering. It returns the currently or historically saved configuration; association/identity/level/channel data may be completed from current resources and is not a complete historical snapshot of all associated resources at that time. Reads do not execute monitoring or notifications. OpenAPI does not pass the Front-specific df_event_id, so alreadyFeedback is not returned; managerInfos additionally supplemented by Manage is also not a fixed field of this entry.

Route Parameters

Parameter Name Type Required Description
rule_uuid string Y Rule UUID, not a group UUID, name, history UUID, or numeric version.
Example: rul_checker_example
How to get or fill: Obtain from content.data[].uuid in the Monitor List.

Request Headers

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

Query Request Parameters

Parameter Name Type Required Description
ruleHistory integer Optional string integer 0/1. A non-zero integer enters the history branch; it is not a history version number; with no history, {} is returned successfully. An invalid integer format currently returns 500. For complete V2 multi-version history, use Smart Monitoring History.
Example: 0
How to get or fill: Use 0 or omit to read the current configuration; use 1 for compatibility with the previous non-deleted history record.
targetWorkspaceUUID string Optional; omits the current workspace; pass it when you need to read a rule of an authorized source workspace, and rule_uuid must belong to that source. It does not change the workspace of this API Key; a comma-separated set cannot be used instead of a single UUID.
Example: wksp_source_example
How to get or fill: Take a single target source workspace UUID from a valid cross-workspace authorization record.
targetRegion string Optional; used only with targetWorkspaceUUID; when omitted, it is resolved from the authorization relationship. Cross-site reads are not enabled when no target workspace is passed. Different sites may forward to the source service; do not treat the example code as a real site.
Example: example-region
How to get or fill: Confirm from the actual site of the target source workspace and the valid authorization record.

Request Example

curl --get 'https://openapi.guance.com/api/v1/checker/rul_checker_example/get' \
  -H 'DF-API-KEY: <DF-API-KEY>'

Response

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

Field Type Description
content.id integer Current record ID; for the history branch, the history record ID.
content.uuid string Current rul_ UUID; when ruleHistory=1 and a history record exists, the ruleh_ history UUID; subsequent modifications still use the requested current UUID.
content.ruleUUID string History branch only; UUID of the current monitor it belongs to.
content.workspaceUUID string Workspace the object belongs to.
content.monitorUUID string Associated monitor group UUID.
content.type string Entity category, usually trigger/smartMonitor/aiMonitor, which is distinct from the jsonScript.type check algorithm.
content.refKey string Compatible business association key, usually an empty string.
content.secret string or null Shared field such as the external event Webhook identifier; do not treat it as a general API Key; do not write sensitive real values to logs.
content.jsonScript object Saved detection configuration, interpreted according to jsonScript.type and version. Reading does not execute detection.
content.crontabInfo object Scheduling configuration; fields vary by single/multiple workspace and algorithm, and it may be {}.
content.crontabInfo.id string Primary scheduling configuration ID, may be omitted.
content.crontabInfo.crontab string or null Actually executed Cron; it may be explicitly null or omitted (for example, composite monitoring without Cron), and is distinct from the input every.
content.crontabInfo.smartRelId string Subsidiary scheduling ID for some smart monitors, may be omitted.
content.crontabInfo.multiWsCrontabInfo array<object> Scheduling data for each cross-workspace, may exist in history, may be omitted.
content.crontabInfo.multiWsCrontabInfo[].ws_uuid string Target workspace UUID.
content.crontabInfo.multiWsCrontabInfo[].id string Scheduling ID of that workspace.
content.crontabInfo.multiWsCrontabInfo[].crontab string or null Actual Cron of that workspace; it may be explicitly null or omitted.
content.extend object Additional echo/incident association configuration, may contain historical custom fields; must not be blindly passed back in full for modification.
content.extend.custom field JSON Historical or type-specific saved value; refer to the current type details and the public structure of the create API.
content.createdWay string manual/import/template or an empty value in history.
content.isLocked integer or boolean Lock status, may be omitted in the history branch.
content.openPermissionSet boolean Custom operation permission switch; a successful read does not imply modifiability.
content.permissionSet array<string> Custom operation subject UUIDs.
content.permissionSet[] string Account/team/role identifier.
content.status integer 0 enabled, 2 disabled; non-delete queries may include other historical statuses; does not represent the latest run result.
content.creator string Creator identity.
content.updator string Updater identity.
content.createAt integer Creation Unix seconds.
content.updateAt integer Update Unix seconds, -1 if never updated.
content.deleteAt integer Deletion Unix seconds, -1 if not deleted.
content.configVersion integer Additional field for the V2 current configuration version, may be omitted for regular rules.
content.jsonScript.targetWorkspaceUUID string Cross-workspace target UUID, only applicable to simpleCheck, seniorMutationsCheck, seniorRangeV2Check, seniorRangeCheck, outlierCheck; a valid authorization is still required, and it cannot be used for arbitrary detection types.
content.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.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.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.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.jsonScript.recoverTitle string Output recovery event title template. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.recoverMessage string Output recovery event message template. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.noDataTitle string Output no-data event title template. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.noDataMessage string Output no-data event message template. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.openNotificationMessage boolean Whether to enable the event notification content; default 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.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.jsonScript.openNoDataNotificationMessage boolean Whether to enable the data gap event notification content; default 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.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.jsonScript.noDataRecoverTitle string Output no-data recovery upload event title template. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.noDataRecoverMessage string Output no-data recovery upload event message template. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.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.jsonScript.customCrontab string Custom detection frequency. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.delaySeconds integer Data wait window for regular monitors, in seconds; 0 means no waiting; smart monitoring does not support this configuration. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.interval integer Query interval, that is, the time range difference of a single query. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.range integer For advanced detection and mutation detection, the range parameter, in s. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.range_2 integer For advanced detection and mutation detection, the range_2 parameter, in s; special notes (-1 means period-over-period, 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.jsonScript.periodBefore integer For advanced detection and mutation detection, the (yesterday/one hour ago) parameter, in s. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.recoverNeedPeriodCount integer Specifies after how many check periods an anomaly generates a recovery event; if the detection frequency is custom customCrontab, this field represents a duration in s, otherwise it represents a number of detection frequencies. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.noDataInterval integer If there is no data within this duration, a no-data event is generated; when noDataEventRepeat is set, 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.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.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.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.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.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.jsonScript.checkerOpt.enableStreamingAggregation boolean or null Monitor streaming aggregation acceleration; default 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.jsonScript.checkerOpt.yamlConfig string Complete V2 source YAML text, max 256KiB; it is not a JSON object and carries no Markdown fences. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.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.jsonScript.checkerOpt.script string Script content of programmable monitoring. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.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.jsonScript.checkerOpt.openOkConditions boolean Enable graded recovery, default disabled false. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.checkerOpt.openMatchTimes boolean Enable consecutive trigger judgment, default disabled false. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.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.jsonScript.checkerOpt.infoEventCondition json Info event generation conditions, supporting thresholds, logs, application/RUM metrics, synthetic, process, network, mutation, range, and compatible legacy types for regular rule detection; does not support outlier, composite, alive 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.jsonScript.checkerOpt.infoEventCondition.alias string Judgment object alias. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.checkerOpt.infoEventCondition.operator string Judgment operator. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.checkerOpt.infoEventCondition.operands array List of judgment operands. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.checkerOpt.diffMode string In advanced detection, the difference mode for mutation detection; enum values value, percent. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.checkerOpt.direction string In advanced detection, the trigger condition direction for mutation detection and range detection. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.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.jsonScript.checkerOpt.threshold json Trigger prerequisite settings for mutation detection. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.checkerOpt.threshold.status boolean Mutation detection, whether the trigger prerequisite is enabled. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.checkerOpt.threshold.operator string Mutation detection, trigger prerequisite operator. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.checkerOpt.threshold.value float or null Mutation detection, trigger prerequisite detection value. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.checkerOpt.combineExpr string Composite monitoring, combination method. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.checkerOpt.ignoreNodata boolean Composite 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.jsonScript.checkerOpt.confidenceInterval integer New parameter in 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.jsonScript.checkerOpt.category string AI monitoring category metadata. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.checkerOpt.userPrompt string AI user prompt; cannot be empty when passed, max 20000 characters. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.checkerOpt.systemPrompt string AI system prompt; cannot be empty when passed, max 20000 characters. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.checkerOpt.mentions array DQL reference list; each item must contain type=dql, namespace, datasource; index is optional and filled in when selecting logs; max 20000 characters after serialization. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.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.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.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.jsonScript.checkerOpt.mentions[].index string DQL index; filled in when selecting logs. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.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.jsonScript.checkerOpt.model string Model used for this detection. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.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.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.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.jsonScript.checkerOpt.creditSoftBudget number Credit soft budget per detection, 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.jsonScript.channels array Channel UUID list. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.atAccounts array List of account UUIDs @-mentioned under normal detection. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.atNoDataAccounts array List of account UUIDs @-mentioned in no-data cases. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.subUri string Webhook address suffix of OuterEventChecker; required when creating, 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.jsonScript.isChangeEvent boolean Whether OuterEventChecker handles it as a change event, default false; treated as false when missing in existing rules. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.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.jsonScript.eventChartEnable boolean Whether to enable event charts, disabled by default (note that this only takes effect 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.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.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.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.jsonScript.targets[] object A single DQL/PromQL query target, or a composite monitoring member.
content.jsonScript.targets[].dql string Actually executed query; qtype determines the syntax.
content.jsonScript.targets[].qtype string Usually dql/promql; history may express it via queryType.
content.jsonScript.targets[].queryType string Legacy query syntax marker.
content.jsonScript.targets[].alias string Regular common plugins usually require Result; composite monitoring uses the member alias.
content.jsonScript.targets[].monitorCheckerId string Member UUID associated only with composite monitoring.
content.jsonScript.targets[].groupBy array<string> Additional trigger dimensions of the composite member.
content.jsonScript.targets[].groupBy[] string Field name.
content.jsonScript.targetWorkspaceUUIDs array<string> Set of target workspace UUIDs that may be saved by history/other entries; not declared by the public create/update APIs, so do not pass back in full.
content.jsonScript.targetWorkspaceUUIDs[] string A single target workspace UUID.
content.jsonScript.targets[].extraOptions object get echoes saved values; list may supplement them in place when cross-workspace authorization verification yields a resolution result, and may retain historical values when there is no result. It is not a client-writable request nor proof of current complete authorization.
content.jsonScript.targets[].extraOptions.workspace_uuids array<string> Candidate execution workspaces that were saved or resolved by this list call; may contain historical values and does not guarantee that all are currently authorized.
content.jsonScript.targets[].extraOptions.workspace_uuids[] string A single saved or candidate workspace UUID; verify the current authorization.
content.jsonScript.targets[].extraOptions.index_list array<object> Data domain/index candidate ranges that were saved or resolved by this list call; may be historical values and cannot serve as a guarantee of current complete authorization.
content.jsonScript.targets[].extraOptions.index_list[].workspace_uuid string Source workspace UUID.
content.jsonScript.targets[].extraOptions.index_list[].namespace string Query namespace.
content.jsonScript.targets[].extraOptions.index_list[].index_name string Allowed index name; may be default for non-log data.
content.jsonScript.targets[].extraOptions.index_list[].expr_name string Expression subquery name, may be omitted.
content.jsonScript.targets[].conditions object or string Additional query filters; read according to the saved structure and do not assume a uniform type.
content.jsonScript.groupBy[] string Trigger dimension field.
content.jsonScript.checkFuncs[] object Compatible detection function data.
content.jsonScript.checkFuncs[].funcId string Function ID.
content.jsonScript.checkFuncs[].kwargs object Function-specific parameters; not a generic input for all algorithms.
content.jsonScript.checkFuncs[].kwargs.parameter name JSON Interpret according to the documentation of the corresponding function.
content.jsonScript.channels[] string Incident channel UUID.
content.jsonScript.atAccounts[] string Identity identifier @-mentioned in notifications; may be an email in history.
content.jsonScript.atNoDataAccounts[] string No-data notification @ targets.
content.jsonScript.checkerOpt.rules[] object Set trigger and recovery conditions by level.
content.jsonScript.checkerOpt.rules[].status string fatal/critical/error/warning/info/ok/ALL etc., interpreted by detection type.
content.jsonScript.checkerOpt.rules[].conditionLogic string and/or, combination of multiple conditions.
content.jsonScript.checkerOpt.rules[].matchTimes integer Number of consecutive matches; use together with openMatchTimes.
content.jsonScript.checkerOpt.rules[].conditions array<object> Trigger conditions.
content.jsonScript.checkerOpt.rules[].okConditions array<object> Graded recovery conditions, may be omitted.
content.jsonScript.checkerOpt.rules[].conditions[].alias string Corresponding query target alias.
content.jsonScript.checkerOpt.rules[].conditions[].operator string Condition operator; the supported set depends on the detection type.
content.jsonScript.checkerOpt.rules[].conditions[].operands array Array of comparison values; numeric/string types are preserved.
content.jsonScript.checkerOpt.rules[].conditions[].operands[] string / number A single comparison value.
content.jsonScript.checkerOpt.rules[].okConditions[].alias string Corresponding query target alias.
content.jsonScript.checkerOpt.rules[].okConditions[].operator string Condition operator; the supported set depends on the detection type.
content.jsonScript.checkerOpt.rules[].okConditions[].operands array Array of comparison values; numeric/string types are preserved.
content.jsonScript.checkerOpt.rules[].okConditions[].operands[] string / number A single comparison value.
content.extend.isNeedCreateIssue boolean Whether to create an Issue based on the anomaly.
content.extend.issueLevelUUID string Legacy Issue level identifier, may already be invalid.
content.extend.issueDfStatus array<string> Anomaly statuses that trigger an Issue.
content.extend.issueDfStatus[] string fatal/critical/error/warning/nodata.
content.extend.manager array<string> Resolved manager targets.
content.extend.manager[] string Target identifiers such as member/team.
content.extend.incidentsTags array<string> Names of incident-associated tags.
content.extend.incidentsTags[] string A single tag name.
content.extend.faultMappingMode string custom/existing, the current incident level mapping method.
content.extend.levelMappingUUID string Level mapping UUID when existing.
content.extend.bindIncidentsInfo array<object> Custom level mapping rows.
content.extend.bindIncidentsInfo[].incidentsLevelUUID string Mapped Issue level UUID.
content.extend.bindIncidentsInfo[].incidentsDfStatus array<string> Mapped anomaly status array.
content.extend.bindIncidentsInfo[].incidentsDfStatus[] string A single anomaly status.
content.extend.smartMonitor object V2 source and current version metadata.
content.extend.smartMonitor.source string ai/builtin source.
content.extend.smartMonitor.engineVersion integer Usually 2 for V2.
content.extend.smartMonitor.configVersion integer V2 configuration version.
content.extend.smartMonitor.category string Smart Monitoring category.
content.extend.smartMonitor.prompt string AI generation prompt.
content.extend.smartMonitor.templateId string Built-in template identifier.
content.extend.smartMonitor.templateVersion string Built-in template version.
content.extend.smartMonitor.generationRunId string Generation process trace identifier, may be omitted.
content.creatorInfo object or string Identity summary; an empty string in lists when there is no data, {} in details when there is no data.
content.creatorInfo.uuid string Identity UUID, may be omitted.
content.creatorInfo.status integer Account/subject status, may be omitted.
content.creatorInfo.wsAccountStatus integer Member status, may be omitted.
content.creatorInfo.name string Display name.
content.creatorInfo.username string Login name, may be omitted.
content.creatorInfo.email string Email or system identity identifier.
content.creatorInfo.mobile string Mobile number, may be empty.
content.creatorInfo.countryCode string Country/region code, may be omitted.
content.creatorInfo.iconUrl string Avatar, may be omitted.
content.creatorInfo.acntWsNickname string Workspace nickname, may be omitted.
content.updatorInfo object or string Identity summary; an empty string in lists when there is no data, {} in details when there is no data.
content.updatorInfo.uuid string Identity UUID, may be omitted.
content.updatorInfo.status integer Account/subject status, may be omitted.
content.updatorInfo.wsAccountStatus integer Member status, may be omitted.
content.updatorInfo.name string Display name.
content.updatorInfo.username string Login name, may be omitted.
content.updatorInfo.email string Email or system identity identifier.
content.updatorInfo.mobile string Mobile number, may be empty.
content.updatorInfo.countryCode string Country/region code, may be omitted.
content.updatorInfo.iconUrl string Avatar, may be omitted.
content.updatorInfo.acntWsNickname string Workspace nickname, may be omitted.
content.allow_operation boolean or null Operation display value for the current calling identity; interface permission and business validation still apply; may be null when not configured.
content.permissionSetInfo object Provides an identifier→data mapping when permissionSet is not empty; may be {} if no subject matches.
content.permissionSetInfo.subject object Full account identity, or role/team {name,status}.
content.permissionSetInfo.subject.uuid string Identity UUID, may be omitted.
content.permissionSetInfo.subject.status integer Account/subject status, may be omitted.
content.permissionSetInfo.subject.wsAccountStatus integer Member status, may be omitted.
content.permissionSetInfo.subject.name string Display name.
content.permissionSetInfo.subject.username string Login name, may be omitted.
content.permissionSetInfo.subject.email string Email or system identity identifier.
content.permissionSetInfo.subject.mobile string Mobile number, may be empty.
content.permissionSetInfo.subject.countryCode string Country/region code, may be omitted.
content.permissionSetInfo.subject.iconUrl string Avatar, may be omitted.
content.permissionSetInfo.subject.acntWsNickname string Workspace nickname, may be omitted.
content.monitorName string or null May be null in lists; the group name supplement in lists is not guaranteed to match monitorUUID, so verify the group by monitorUUID. Only returned in details when a group exists.
content.tagInfo array<object> Valid associated tag summary.
content.tagInfo[].id integer Tag record ID.
content.tagInfo[].uuid string Tag UUID.
content.tagInfo[].name string Tag name.
content.tagInfo[].description string Tag description.
content.tagInfo[].colour string Tag color.
content.tagInfo[].scope string or array Scope; a historical empty value may fall back to the string all, others are arrays.
content.tagInfo[].scope[] string A single scope, may be omitted.
content.alertPolicyInfos array<object> Valid associated alert policies.
content.alertPolicyInfos[].uuid string Policy UUID.
content.alertPolicyInfos[].name string Policy name.
content.dashboardUUID string Valid associated dashboard UUID, may be omitted.
content.dashboardName string Dashboard name, may be omitted.
content.relCombinedCheckerInfos array<object> Summary of composite monitors referencing this rule, may be omitted.
content.relCombinedCheckerInfos[].uuid string Composite monitoring UUID.
content.relCombinedCheckerInfos[].name string Composite name.
content.memberRuleInfos array<object> Valid member summary returned only in composite monitoring details; not returned for regular rules.
content.memberRuleInfos[].uuid string Member rule UUID.
content.memberRuleInfos[].name string Member name.
content.incidentsTagInfo array<object> Complete valid tag entities corresponding to the names in extend.incidentsTags.
content.incidentsTagInfo[].id integer Tag record ID.
content.incidentsTagInfo[].uuid string Tag UUID.
content.incidentsTagInfo[].name string Tag name.
content.incidentsTagInfo[].description string Tag description.
content.incidentsTagInfo[].colour string Tag color.
content.incidentsTagInfo[].scope string or array Scope; a historical empty value may fall back to the string all, others are arrays.
content.incidentsTagInfo[].scope[] string A single scope, may be omitted.
content.incidentsTagInfo[].workspaceUUID string Tag workspace.
content.incidentsTagInfo[].status integer Valid tag 0.
content.incidentsTagInfo[].creator string Tag creator identity.
content.incidentsTagInfo[].updator string Tag updater identity.
content.incidentsTagInfo[].createAt integer Tag creation Unix seconds.
content.incidentsTagInfo[].updateAt integer Tag update Unix seconds.
content.incidentsTagInfo[].deleteAt integer Tag deletion Unix seconds.
content.levelInfo array Compatible return that contains both level UUID strings and appended level display objects; empty [] when not configured; do not parse as an array of pure objects.
content.levelInfo[] string or object A string is the original configured UUID; an object may be {} or historical/system level data and is not guaranteed to still be selectable.
content.levelInfo[].id integer Level record ID, may be omitted for system defaults.
content.levelInfo[].uuid string Level UUID.
content.levelInfo[].name string Level name.
content.levelInfo[].color string Level color.
content.levelInfo[].description string Level description.
content.levelInfo[].extend object Level extension, may be omitted by default.
content.levelInfo[].extend.custom key JSON Saved level extension value.
content.levelInfo[].isManage boolean Global management level flag, may be omitted.
content.levelInfo[].isDefault boolean Default level selectable flag.
content.levelInfo[].status integer Historical level status, may be omitted.
content.levelInfo[].creator string Level creator identity, may be omitted.
content.levelInfo[].updator string Level updater identity, may be omitted.
content.levelInfo[].createAt integer Level creation Unix seconds.
content.levelInfo[].updateAt integer Level update Unix seconds.
content.levelInfo[].deleteAt integer Level deletion Unix seconds.
content.channelInfo object Mapping of associated channel entities keyed by channel UUID, {} when empty; the current query may include historical states, so do not treat it as a valid channel list.
content.channelInfo.channel UUID object Complete entity of a single channel.
content.channelInfo.channel UUID.id integer or null Database record ID. The response is constructed before persistence on creation, so it may be null; use uuid to operate on the resource.
content.channelInfo.channel UUID.uuid string Channel UUID, used for modification, deletion, or subscription.
content.channelInfo.channel UUID.workspaceUUID string Workspace the channel belongs to.
content.channelInfo.channel UUID.name string Channel name. default indicates the default channel.
content.channelInfo.channel UUID.description string Channel description.
content.channelInfo.channel UUID.notifyTarget array<string> Notification target UUIDs directly configured for this channel.
content.channelInfo.channel UUID.notifyTarget[] string A single notification target UUID.
content.channelInfo.channel UUID.notifyUpgradeCfg object Upgrade notification configuration; an empty object when not configured.
content.channelInfo.channel UUID.notifyUpgradeCfg.triggerTime integer Wait duration before triggering the upgrade notification, in seconds.
content.channelInfo.channel UUID.notifyUpgradeCfg.notifyTarget array<string> List of upgrade notification target UUIDs.
content.channelInfo.channel UUID.notifyUpgradeCfg.notifyTarget[] string Upgrade notification target UUID.
content.channelInfo.channel UUID.status integer Record status, 0 for normal.
content.channelInfo.channel UUID.creator string Creating calling identity.
content.channelInfo.channel UUID.updator string Most recent updating identity, may be an empty string if not updated.
content.channelInfo.channel UUID.createAt integer Creation time, Unix seconds.
content.channelInfo.channel UUID.updateAt integer Update time, Unix seconds, -1 if not updated.
content.channelInfo.channel UUID.deleteAt integer Deletion time, Unix seconds, -1 if not deleted.
content.declaration object Public declaration when the object is non-empty; when there is no history, {} is returned and this field is not appended.
{
  "code": 200,
  "content": {
    "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": "默认分组",
    "alertPolicyInfos": [],
    "tagInfo": [],
    "allow_operation": null,
    "relCombinedCheckerInfos": [],
    "incidentsTagInfo": [],
    "levelInfo": [],
    "channelInfo": {},
    "declaration": {}
  },
  "errorCode": "",
  "message": "",
  "success": true,
  "traceId": "TRACE-EXAMPLE"
}

Compatible history with no records:

{
  "code": 200,
  "content": {},
  "errorCode": "",
  "message": "",
  "success": true,
  "traceId": "TRACE-EXAMPLE"
}

Error Responses

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

HTTP Status errorCode Trigger Condition Message or Response Description Handling
404 ft.NotFoundRuleInspector The current/target workspace has no such non-deleted rule Specified rule/inspector not found Verify the workspace the UUID belongs to; a history with no records may succeed with {}.
406 ft.workspaceUnauthorized The target workspace has no corresponding valid authorization Workspace [{}] unauthorized Verify the source authorization and the calling workspace.
406 ft.NotFoundWorkspaceAuthorizationCfg No available authorization configuration across sites Workspace authorization information not found An administrator verifies the source/target site authorization.
406 ft.UnsupportMultiSiteQuery Authorization resolution involves multiple source sites Multi-site workspace queries are not supported Select one source workspace and site at a time.
400 ft.InvalidWorkspace The target workspace is deleted/unavailable Invalid workspace: {} Verify a valid source workspace.
404 ft.NoInitOtherNodeCfg The cross-site target address is not configured Other node configuration not initialized An administrator verifies the site service configuration and authorization.
500 ft.InternalServerError Rule/history/association/permission read, formatting, or an ordinary downstream 5xx failure; also fails when ruleHistory cannot be converted to an integer Internal error Use the parameter format on this page and verify the current rule and source; provide traceId if it persists.

Feedback

Is this page helpful?