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

# Snooze Alert Rule

> Snooze an alert rule until the given datetime, or un-snooze it.

- Pass a future ISO-8601 timestamp in `until` to snooze the rule.
- Pass null, omit the field, or pass a past timestamp to un-snooze.

The rule remains enabled while snoozed; notifications are suppressed
until the snooze expires or is cleared.



## OpenAPI

````yaml /openapi.json patch /v1/alert-rules/{rule_id}/snooze
openapi: 3.1.0
info:
  description: Causeloop Platform Backend
  title: Causeloop API
  version: 1.0.0
servers: []
security: []
paths:
  /v1/alert-rules/{rule_id}/snooze:
    patch:
      tags:
        - alert-rules
      summary: Snooze Alert Rule
      description: |-
        Snooze an alert rule until the given datetime, or un-snooze it.

        - Pass a future ISO-8601 timestamp in `until` to snooze the rule.
        - Pass null, omit the field, or pass a past timestamp to un-snooze.

        The rule remains enabled while snoozed; notifications are suppressed
        until the snooze expires or is cleared.
      operationId: snooze_alert_rule_v1_alert_rules__rule_id__snooze_patch
      parameters:
        - in: path
          name: rule_id
          required: true
          schema:
            title: Rule Id
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertRuleSnoozeBody'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: true
                title: >-
                  Response Snooze Alert Rule V1 Alert Rules  Rule Id  Snooze
                  Patch
                type: object
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    AlertRuleSnoozeBody:
      properties:
        until:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            ISO-8601 UTC datetime to snooze until, or null/omit to un-snooze. A
            past timestamp is also treated as an un-snooze signal.
          title: Until
      title: AlertRuleSnoozeBody
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````