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 for the current workspace obtained from the corresponding type list; this shared read itself does not restrict Rule.type, so do not use the same rul_ prefix to guess the object category. By default, the current configuration is read; for compatible Query parameters, see the table below. If the old ruleHistory has no available history, it successfully returns content={}, which does not mean the current rule does not exist.

Although this route has no Query declarations in YAML, it actually passes through request.args and handles ruleHistory/targetWorkspaceUUID/targetRegion; only compatibility fields verified through the complete call chain are listed here, and you cannot infer from this that all other controller parameters are available through the public API. Cross-workspace/cross-site access must already have valid, real authorization; this API does not create authorization or change the source rule; when the remote end rejects with an authorization-invalid error, it asynchronously marks the local mirror authorization as invalid, and reads may also update the local authorization status, so verify the source authorization and then restore. It returns the current or historically saved configuration; associations/identity/level/channel data may be supplemented from current resources, and this 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 it does not return alreadyFeedback; managerInfos, which Manage additionally supplements, is also not a fixed field of this endpoint.

Route Parameters

Parameter Type Required Description
rule_uuid string Y Rule UUID, not a group UUID, name, historical UUID, or numeric version.
Example: rul_checker_example
How to obtain or enter: Obtain from Monitor List content.data[].uuid.

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 Request Parameters

Parameter Type Required Description
ruleHistory integer Optional string integer 0/1. A non-zero integer enters the historical branch; it is not a historical version number; if there is no history, it succeeds with {}. An invalid integer format currently returns 500. For complete multi-version V2 history, use Smart Monitoring History.
Example: 0
How to obtain or enter: Use 0 or omit to read the current configuration; use 1 to access the previous non-deleted historical record for compatibility.
targetWorkspaceUUID string Optional; omit for the current workspace; pass when you need to read a rule in an authorized source workspace, and rule_uuid must belong to that source. This does not change the API Key workspace; a comma-separated set is not supported in place of a single UUID.
Example: wksp_source_example
How to obtain or enter: Obtain a single target source workspace UUID from a valid Cross-Workspace Authorization record.
targetRegion string Optional; used only with targetWorkspaceUUID; if omitted, it is resolved from the authorization relationship. Cross-site reading is not enabled when no target workspace is passed. Different sites may forward to the source service; do not treat the example as a real site.
Example: example-region
How to obtain or enter: Confirm from the actual site of the target source workspace and the valid authorization record.

Request Example

curl --get 'https://openapi.truewatch.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; in the historical branch, it is the historical record ID.
content.uuid string Current rul_ UUID; when ruleHistory=1 and a historical record exists, it is the ruleh_ historical UUID; subsequent modifications still use the current UUID from the request.
content.ruleUUID string Historical branch only; UUID of the current monitor to which it belongs.
content.workspaceUUID string Workspace to which the object belongs.
content.monitorUUID string Associated monitoring group UUID.
content.type string Entity category, usually trigger/smartMonitor/aiMonitor; this differs from the check algorithm in jsonScript.type.
content.refKey string Compatibility business association key, usually an empty string.
content.secret string or null Shared field such as an 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/multi-workspace and algorithm, and may be {}.
content.crontabInfo.id string Primary scheduling configuration ID; may be omitted.
content.crontabInfo.crontab string or null Actual Cron used for execution; may be explicitly null or omitted (for example, for combined monitoring without Cron); this differs from the input every.
content.crontabInfo.smartRelId string Scheduling ID attached to some Smart Monitoring configurations; may be omitted.
content.crontabInfo.multiWsCrontabInfo array<object> Scheduling data for each cross-workspace target; may exist in historical records and may be omitted.
content.crontabInfo.multiWsCrontabInfo[].ws_uuid string Target workspace UUID.
content.crontabInfo.multiWsCrontabInfo[].id string Scheduling ID for that workspace.
content.crontabInfo.multiWsCrontabInfo[].crontab string or null Actual Cron for that workspace; may be explicitly null or omitted.
content.extend object Additional returned/incident-related configuration; may contain historical custom fields; do not blindly send the entire object back in a modification request.
content.extend.自定义字段 JSON Historically or type-specifically saved value; refer to the current type details and the public structure of the create API.
content.createdWay string manual/import/template, or empty for historical records.
content.isLocked integer or boolean Lock status; may be omitted in the historical branch.
content.openPermissionSet boolean Custom operation permission switch; a successful read does not imply that modification is allowed.
content.permissionSet array<string> UUIDs of custom operation subjects.
content.permissionSet[] string Account/team/role identifier.
content.status integer 0 enabled, 2 disabled; non-delete queries may include other historical statuses; this 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 not updated.
content.deleteAt integer Deletion Unix seconds; -1 if not deleted.
content.configVersion integer Additional field for the current V2 configuration version; may be omitted for regular rules.
content.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 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 Title template for the output recovery event. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.recoverMessage string Message template for the output recovery event. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.noDataTitle string Title template for the output no-data event. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.noDataMessage string Message template for the output no-data event. 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 event notification content; disabled by default (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 notification content for data gap events; disabled by default (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 Title template for the output no-data recovery upload event. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.noDataRecoverMessage string Message template for the output no-data recovery upload event. 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 wait; 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 range parameter for advanced detection and Sudden Change Detection, in seconds. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.jsonScript.range_2 integer range_2 parameter for advanced detection and Sudden Change Detection, in seconds; 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 (Yesterday/one hour ago) parameter for advanced detection and Sudden Change Detection, in seconds. 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 seconds; 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 for this duration, 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.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; if omitted or null, follow 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, up to 256 KiB; it is not a JSON object and does not include 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 for 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 tiered recovery; disabled by default (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 evaluation; disabled by default (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 when 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 Conditions for generating information events. Supports thresholds, logs, application/user access metrics, availability, processes, networks, sudden changes, ranges, and compatible legacy types for regular rule detection; does not support outlier, combined, liveness V2, change, programmable, smart, or 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 Alias of the object being evaluated. 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 Evaluation 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 evaluation 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 Difference mode for Sudden Change 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.jsonScript.checkerOpt.direction string Trigger condition direction for Sudden Change 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.jsonScript.checkerOpt.eps float Distance parameter; value range: 0 to 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 Settings for the trigger prerequisite of Sudden Change 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 Whether the trigger prerequisite for Sudden Change Detection 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 Operator for the trigger prerequisite of Sudden Change Detection. 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 Detection value for the trigger prerequisite of Sudden Change Detection. This is saved configuration; whether it actually takes effect depends on the check type. For writing, see Create Monitor.
content.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.jsonScript.checkerOpt.ignoreNodata boolean Whether to ignore no-data results in combined monitoring (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 for range detection V2; confidence interval range is 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 provided, up to 20,000 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 provided, up to 20,000 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, and datasource; index is optional and is filled when logs are selected; up to 20,000 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 child 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; fill in when logs are selected. 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 Soft Credit 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 List of channel UUIDs. 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 for 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.jsonScript.isChangeEvent boolean Whether OuterEventChecker is handled as a change event; default false; when absent in existing rules, treat it as false. 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 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.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 child 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 for 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 combined monitoring member.
content.jsonScript.targets[].dql string Actually executed query; qtype determines the syntax.
content.jsonScript.targets[].qtype string Usually dql/promql; historical records may express it through queryType.
content.jsonScript.targets[].queryType string Historical query syntax marker.
content.jsonScript.targets[].alias string Regular public plugins usually require Result; combined monitoring uses member aliases.
content.jsonScript.targets[].monitorCheckerId string Associated member UUID only for combined monitoring.
content.jsonScript.targets[].groupBy array<string> Additional trigger dimensions for combined members.
content.jsonScript.targets[].groupBy[] string Field name.
content.jsonScript.targets[].extraOptions object get echoes the saved value; list may supplement it in place when cross-workspace authorization verification has resolved results, and may retain historical values when there are no results. It is not a client-writable request or proof of complete current authorization.
content.jsonScript.targets[].extraOptions.workspace_uuids array<string> Saved or list-resolved candidate execution workspaces; 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 current authorization.
content.jsonScript.targets[].extraOptions.index_list array<object> Saved or list-resolved candidate data domain/index scope; may be historical values and cannot serve as a guarantee of complete current 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 them according to the saved structure and do not assume a uniform type.
content.jsonScript.groupBy[] string Trigger dimension field.
content.jsonScript.checkFuncs[] object Compatibility check function data.
content.jsonScript.checkFuncs[].funcId string Function ID.
content.jsonScript.checkFuncs[].kwargs object Function-specific parameters; not a common input for all algorithms.
content.jsonScript.checkFuncs[].kwargs.参数名 JSON Interpret according to the corresponding function documentation.
content.jsonScript.channels[] string Incident channel UUID.
content.jsonScript.atAccounts[] string Identity identifiers @-mentioned in notifications; historical values may be email addresses.
content.jsonScript.atNoDataAccounts[] string Targets @-mentioned in no-data notifications.
content.jsonScript.checkerOpt.rules[] object Sets trigger and recovery conditions by level.
content.jsonScript.checkerOpt.rules[].status string fatal/critical/error/warning/info/ok/ALL, etc., interpreted according to the 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> Tiered recovery conditions; may be omitted.
content.jsonScript.checkerOpt.rules[].conditions[].alias string Alias of the corresponding query target.
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 Single comparison value.
content.jsonScript.checkerOpt.rules[].okConditions[].alias string Alias of the corresponding query target.
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 Single comparison value.
content.extend.isNeedCreateIssue boolean Whether to create Issues based on anomalies.
content.extend.issueLevelUUID string Historical Issue level identifier; may no longer be valid.
content.extend.issueDfStatus array<string> Anomaly statuses that trigger Issues.
content.extend.issueDfStatus[] string fatal/critical/error/warning/nodata.
content.extend.manager array<string> Resolved owner targets.
content.extend.manager[] string Member/team target identifiers.
content.extend.incidentsTags array<string> Incident-associated tag names.
content.extend.incidentsTags[] string Single tag name.
content.extend.faultMappingMode string custom/existing; current incident level mapping mode.
content.extend.levelMappingUUID string Level mapping UUID when using 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> Array of mapped anomaly statuses.
content.extend.bindIncidentsInfo[].incidentsDfStatus[] string 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 when there is no data in the list, and {} when there is no data in details.
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 when there is no data in the list, and {} when there is no data in details.
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 Display value for operations available to the current caller identity; API permissions and business validation are still required; may be null when not configured.
content.permissionSetInfo object When permissionSet is not empty, provides an identifier-to-profile mapping; {} when no subject matches.
content.permissionSetInfo.主体 object Complete account identity, or role/team {name,status}.
content.permissionSetInfo.主体.uuid string Identity UUID; may be omitted.
content.permissionSetInfo.主体.status integer Account/subject status; may be omitted.
content.permissionSetInfo.主体.wsAccountStatus integer Member status; may be omitted.
content.permissionSetInfo.主体.name string Display name.
content.permissionSetInfo.主体.username string Login name; may be omitted.
content.permissionSetInfo.主体.email string Email or system identity identifier.
content.permissionSetInfo.主体.mobile string Mobile number; may be empty.
content.permissionSetInfo.主体.countryCode string Country/region code; may be omitted.
content.permissionSetInfo.主体.iconUrl string Avatar; may be omitted.
content.permissionSetInfo.主体.acntWsNickname string Workspace nickname; may be omitted.
content.monitorName string or null May be null in the list; the group name supplemented by the list is not guaranteed to match monitorUUID, so verify the group by monitorUUID. Returned in details only when a group exists.
content.tagInfo array<object> Summary of valid associated tags.
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; historical empty values may fall back to the string all; otherwise, it is an array.
content.tagInfo[].scope[] string Single scope; may be omitted.
content.alertPolicyInfos array<object> First returns recorded valid Alert Policies in the saved order, then appends the remaining valid associations in their original relative order.
content.alertPolicyInfos[].uuid string Policy UUID.
content.alertPolicyInfos[].name string Policy name.
content.dashboardUUID string UUID of the valid associated dashboard; may be omitted.
content.dashboardName string Dashboard name; may be omitted.
content.relCombinedCheckerInfos array<object> Summary of combined monitoring that references this rule; may be omitted.
content.relCombinedCheckerInfos[].uuid string Combined monitoring UUID.
content.relCombinedCheckerInfos[].name string Combination name.
content.memberRuleInfos array<object> Summary of valid members returned only in combined 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 entities of valid tags 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; historical empty values may fall back to the string all; otherwise, it is an array.
content.incidentsTagInfo[].scope[] string Single scope; may be omitted.
content.incidentsTagInfo[].workspaceUUID string Tag workspace.
content.incidentsTagInfo[].status integer 0 for valid tags.
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 Compatibility response that contains both level UUID strings and appended level display objects; when not configured, it is an empty [], so do not parse it as a pure object array.
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; system defaults may be omitted.
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[].workspaceUUID string Workspace to which the level belongs; may be omitted.
content.levelInfo[].extend object Level extension; may be omitted by default.
content.levelInfo[].extend.自定义键 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 statuses, so do not treat it as a list of valid channels.
content.channelInfo.频道UUID object Complete entity of a single channel.
content.channelInfo.频道UUID.id integer or null Database record ID. During creation, the response is constructed before persistence, so it may be null; use uuid to operate on the resource.
content.channelInfo.频道UUID.uuid string Channel UUID, used for modification, deletion, or subscription.
content.channelInfo.频道UUID.workspaceUUID string Workspace to which the channel belongs.
content.channelInfo.频道UUID.name string Channel name. default indicates the default channel.
content.channelInfo.频道UUID.description string Channel description.
content.channelInfo.频道UUID.notifyTarget array<string> UUIDs of notification targets configured directly for this channel.
content.channelInfo.频道UUID.notifyTarget[] string Single notification target UUID.
content.channelInfo.频道UUID.notifyUpgradeCfg object Upgrade notification configuration; an empty object when not configured.
content.channelInfo.频道UUID.notifyUpgradeCfg.triggerTime integer Wait duration before triggering the upgrade notification, in seconds.
content.channelInfo.频道UUID.notifyUpgradeCfg.notifyTarget array<string> List of upgrade notification target UUIDs.
content.channelInfo.频道UUID.notifyUpgradeCfg.notifyTarget[] string Upgrade notification target UUID.
content.channelInfo.频道UUID.status integer Record status; 0 for normal.
content.channelInfo.频道UUID.creator string Creation caller identity.
content.channelInfo.频道UUID.updator string Most recent updater identity; may be an empty string if not updated.
content.channelInfo.频道UUID.createAt integer Creation time, Unix seconds.
content.channelInfo.频道UUID.updateAt integer Update time, Unix seconds; -1 if not updated.
content.channelInfo.频道UUID.deleteAt integer Deletion time, Unix seconds; -1 if not deleted.
content.declaration object Public declaration for non-empty objects; when no history is returned as {}, 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 does not have this non-deleted rule Specified rule/checker not found Verify the workspace to which the UUID belongs; if there is no historical record, the request may succeed with {}.
406 ft.workspaceUnauthorized The target workspace does not have the corresponding valid authorization Workspace [{}] is not authorized Verify the source authorization and the calling workspace.
406 ft.NotFoundWorkspaceAuthorizationCfg No available authorization configuration for cross-site access Workspace authorization information not found Ask the administrator to verify 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 has been deleted/is unavailable Invalid workspace: {} Verify a valid source workspace.
404 ft.NoInitOtherNodeCfg The cross-site target address is not configured Other node configurations are not initialized Ask the administrator to verify the site service configuration and authorization.
500 ft.InternalServerError Rule/history/association/permission read, formatting, or ordinary downstream 5xx failure; failure also occurs when ruleHistory cannot be converted to an integer Internal error Use the parameter format on this page and verify the current rule and source; if the failure persists, provide the traceId.