The requested rules, in the same order as the requested ids.
Hide rules attributesShow rules attributesobject
artifacts
array[object]
Artifacts attached to the rule, each shaped as { id, type, data }. data is a type-specific object (for example a runbook may carry content, a dashboard may carry dashboardId). Per-type shape is validated by the artifact-type registry when the type is registered; unregistered types pass through with envelope bounds only.
Default. Tracks each problem as an alert episode and its lifecycle, link it to workflows to notify your team. Use when the user wants to detect and respond.
Value is alert.
Matches are stored as queryable events. No alerts, no notifications - just data. Use when the user wants to collect evidence.
Identifies the rule builder that authored this rule (e.g. "threshold"). Absent for rules authored directly in ES|QL.
Maximum length is 64.
description
string
Human-readable description of the rule.
Maximum length is 1024.
name
stringRequired
Rule name (must be unique within the space).
Minimum length is 1, maximum length is 256.
owner
string
Owner of the rule.
Maximum length is 256.
tags
array[string]
Tags for categorization, e.g. ["production", "infra"].
At least 1 but not more than 20 elements. Minimum length of each is 1, maximum length of each is 128.
version
integerRequired
Monotonically increasing integer number representing a rule configuration version, incremented on every change. Used on generated rule events as rule.version.
Minimum value is 1, maximum value is 9007199254740991.
no_data_strategy
string
How to handle no-data situations. "last_known_status" holds the last known status; "recover" forces recovery; "none" disables no-data detection. "emit" is not currently accepted by the create/update API. Standalone-format rules must provide a no_data query block when this is not "none"; composed-format rules use base as the data-presence query.
A stable, machine-readable error code (e.g., "RULE_NOT_FOUND", "INVALID_SCHEDULE"). Safe for clients to branch on.
details
object
Optional structured context (e.g., validation field errors, conflict resource IDs).
Additional properties are allowed.
error
stringRequired
A short human-readable summary of the error category (e.g., "Not Found", "Bad Request"). Subject to change without notice. Do not parse or rely on its content.
message
stringRequired
A human-friendly explanation of the error. Subject to change without notice. Do not parse or rely on its content.
A stable, machine-readable error code (e.g., "RULE_NOT_FOUND", "INVALID_SCHEDULE"). Safe for clients to branch on.
details
object
Optional structured context (e.g., validation field errors, conflict resource IDs).
Additional properties are allowed.
error
stringRequired
A short human-readable summary of the error category (e.g., "Not Found", "Bad Request"). Subject to change without notice. Do not parse or rely on its content.
message
stringRequired
A human-friendly explanation of the error. Subject to change without notice. Do not parse or rely on its content.
403
application/json
Indicates the user does not have the required privileges to perform the request.
A stable, machine-readable error code (e.g., "RULE_NOT_FOUND", "INVALID_SCHEDULE"). Safe for clients to branch on.
details
object
Optional structured context (e.g., validation field errors, conflict resource IDs).
Additional properties are allowed.
error
stringRequired
A short human-readable summary of the error category (e.g., "Not Found", "Bad Request"). Subject to change without notice. Do not parse or rely on its content.
message
stringRequired
A human-friendly explanation of the error. Subject to change without notice. Do not parse or rely on its content.
A stable, machine-readable error code (e.g., "RULE_NOT_FOUND", "INVALID_SCHEDULE"). Safe for clients to branch on.
details
object
Optional structured context (e.g., validation field errors, conflict resource IDs).
Additional properties are allowed.
error
stringRequired
A short human-readable summary of the error category (e.g., "Not Found", "Bad Request"). Subject to change without notice. Do not parse or rely on its content.
message
stringRequired
A human-friendly explanation of the error. Subject to change without notice. Do not parse or rely on its content.
A stable, machine-readable error code (e.g., "RULE_NOT_FOUND", "INVALID_SCHEDULE"). Safe for clients to branch on.
details
object
Optional structured context (e.g., validation field errors, conflict resource IDs).
Additional properties are allowed.
error
stringRequired
A short human-readable summary of the error category (e.g., "Not Found", "Bad Request"). Subject to change without notice. Do not parse or rely on its content.
message
stringRequired
A human-friendly explanation of the error. Subject to change without notice. Do not parse or rely on its content.
503
application/json
Indicates the alerting engine is disabled by the alerting:v2:enabled advanced setting.
A stable, machine-readable error code (e.g., "RULE_NOT_FOUND", "INVALID_SCHEDULE"). Safe for clients to branch on.
details
object
Optional structured context (e.g., validation field errors, conflict resource IDs).
Additional properties are allowed.
error
stringRequired
A short human-readable summary of the error category (e.g., "Not Found", "Bad Request"). Subject to change without notice. Do not parse or rely on its content.
message
stringRequired
A human-friendly explanation of the error. Subject to change without notice. Do not parse or rely on its content.