latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-207311,8115.6 MB

c36ed1cbdbb5

alerting-v2

Get a rule

Spaces method and path for this operation:

<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/alerting/v2/rules/{id}</span></div>

Refer to Spaces for more information.

[Required authorization] Route required privileges: read_alerting-v2-rules.

get/api/alerting/v2/rules/{id}

Path parameters

idstring required

The identifier for the rule.

Response

Returns the requested rule.

created_atstring required

ISO timestamp when the rule was created.

created_bystring nullable required

User who created the rule.

enabledboolean required

Whether the rule is enabled.

idstring required

Unique rule identifier.

time_fieldstring

Time field used for the lookback window range filter.

updated_atstring required

ISO timestamp when the rule was last updated.

updated_bystring nullable required

User who last updated the rule.

versionstring

The saved object version token of the rule, used for optimistic concurrency control.