> ## Documentation Index
> Fetch the complete documentation index at: https://docs.range.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Get an Alert Template

> Returns everything about one alert rule template, including the fields needed to turn it into an active alert rule.



## OpenAPI

````yaml get /v1/risk/alert-templates/{template_id}
openapi: 3.0.0
info:
  title: Range Risk API
  description: The Range Risk API for risk assessment of crypto addresses.
  version: 1.7.8
  contact: {}
servers:
  - url: https://api.range.org
    description: Range API Server
security:
  - Authorization: []
tags:
  - name: Risk
    description: Get risk information about a crypto address.
  - name: Risk v2
    description: >-
      Address risk assessment, workspace configuration, and signals catalogue
      (API v2).
  - name: Simulator
    description: Simulate a transaction on a network.
  - name: Alert Templates
    description: Browse alert rule templates available to the workspace.
  - name: Alert Rules
    description: Create and manage workspace alert rules.
  - name: Alert Events
    description: List and retrieve fired alert events.
  - name: Channels
    description: Configure alert delivery channels.
paths:
  /v1/risk/alert-templates/{template_id}:
    get:
      tags:
        - Alert Templates
      summary: Get a single alert rule template
      description: >-
        Returns everything about one alert rule template — its message,
        severity, tags, and the fields you need to fill in when turning it into
        an active alert rule.
      operationId: getTemplate
      parameters:
        - name: template_id
          required: true
          in: path
          description: The ID of the alert rule template you want to retrieve.
          schema:
            example: '1'
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertTemplateDto'
components:
  schemas:
    AlertTemplateDto:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the alert rule template.
          example: '1'
        type:
          type: string
          description: Internal rule type identifier used by the alert engine.
          example: large_transfer
        label:
          type: string
          description: Short display name for the template.
          example: Large Transfer
        description:
          type: string
          description: >-
            Message template sent when the rule fires. Supports `{{variable}}`
            placeholders.
          example: A large transfer was detected on {{network}}
        network:
          type: string
          description: Network slug this template targets.
          example: eth
        severity:
          type: string
          description: Risk severity of alerts produced by this template.
          example: high
          enum:
            - low
            - medium
            - high
        tags:
          description: Categorisation tags for filtering and discovery.
          example:
            - defi
            - transfer
          type: array
          items:
            type: string
        trigger:
          type: string
          description: Whether the template is evaluated per block or per tick.
          enum:
            - BLOCK
            - TICK
          example: BLOCK
        parameters:
          description: >-
            Parameters the user must supply when creating an alert rule from
            this template.
          type: array
          items:
            $ref: '#/components/schemas/RuleParameterDto'
      required:
        - id
        - type
        - label
        - description
        - network
        - severity
        - tags
        - trigger
        - parameters
    RuleParameterDto:
      type: object
      properties:
        label:
          type: string
          description: Human-readable label for this parameter.
          example: Wallet
        description:
          type: string
          description: Description of what value to provide.
          example: The address to monitor
        field:
          type: string
          description: Field key used when creating an alert rule from this template.
          example: address
        field_type:
          type: string
          description: Expected value type (e.g. "Address", "Amount").
          example: Address
        optional:
          type: boolean
          description: Whether this parameter is optional.
          example: false
      required:
        - label
        - description
        - field
        - field_type
        - optional
  securitySchemes:
    Authorization:
      scheme: bearer
      bearerFormat: API Key
      description: 'Use Authorization: Bearer <api-key>'
      type: http

````