Skip to main content
Alerting & Response/Alert Templates

GetAlertSilenceTemplate

Retrieve a silence template by its unique identifier

GET/api/v1/alerting/silence-templates/{templateId}

Operation ID

GetAlertSilenceTemplate

Since

1.0.0

Execution Mode

Synchronous

Auth Context

Auth Required

Auth Context

Send these values as request headers when calling this API.

AuthorizationstringRequired

Bearer Token

X-Tenant-IDstring

X-Tenant-ID

Request Inputs

Path Parameters

  • templateId
    StringRequired

    Unique identifier of the template to retrieve

Responses

200 OK
200 OK

On success, this API returns the following response structure.

  • id
    String

    Unique identifier of the template

    Example: tmpl-001

  • name
    String

    Human-readable template name

    Example: Weekly Maintenance

  • description
    String

    Description of the template purpose

    Example: Suppress non-critical alerts during weekly maintenance

  • matchers
    List

    Label matchers for the silence scope

    Example: (nested array)

    • key
      String

      Label key to match against

      Example: severity

    • value
      String

      Label value to match

      Example: warning

    • matcherType
      String

      Match type: exact or regex

      Example: exact

  • recurrence
    Object

    Optional recurrence configuration

    • cron
      String

      Cron expression for recurring silence windows

      Example: 0 2 * * 0

    • duration
      Integer

      Duration in minutes for each silence window

      Example: 120

    • timezone
      String

      Timezone for cron evaluation

      Example: Asia/Shanghai

  • protectP0
    Boolean

    Whether to protect P0 (critical) alerts from being silenced

    Example: true

  • createdBy
    String

    User who created this template

    Example: admin

  • createdAt
    String

    Timestamp when the template was created

    Example: 2026-01-15T08:00:00Z