> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-a804b3ad.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 알림 생성

> 새 알림을 생성합니다



## OpenAPI

````yaml /ko/_specs/hyperdx-openapi.json post /api/v2/alerts
openapi: 3.0.0
info:
  description: HyperDX 알림 및 대시보드 관리 API
  title: HyperDX External API
  version: 2.0.0
servers:
  - description: 운영 API 서버
    url: https://api.hyperdx.io
  - description: 현재 서버
    url: /
security:
  - BearerAuth: []
tags:
  - description: 대시보드 및 해당 시각화를 관리하는 엔드포인트
    name: Dashboards
  - description: 모니터링 알림을 관리하는 엔드포인트
    name: Alerts
paths:
  /api/v2/alerts:
    post:
      tags:
        - Alerts
      summary: 알림 생성
      description: 새 알림을 생성합니다
      operationId: createAlert
      requestBody:
        content:
          application/json:
            examples:
              tileAlert:
                summary: 타일 기반 알림 생성
                value:
                  channel:
                    type: webhook
                    webhookId: 65f5e4a3b9e77c001a789012
                  dashboardId: 65f5e4a3b9e77c001a567890
                  interval: 1h
                  message: Error rate has exceeded 100 in the last hour
                  name: Error Spike Alert
                  source: tile
                  threshold: 100
                  thresholdType: above
                  tileId: 65f5e4a3b9e77c001a901234
            schema:
              $ref: '#/components/schemas/CreateAlertRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertResponse'
          description: 알림을 성공적으로 생성했습니다
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: 인증되지 않음
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: 서버 오류 또는 유효성 검사 실패
components:
  schemas:
    CreateAlertRequest:
      properties:
        channel:
          properties:
            type:
              example: webhook
              type: string
            webhookId:
              example: 65f5e4a3b9e77c001a789012
              type: string
          type: object
        dashboardId:
          example: 65f5e4a3b9e77c001a567890
          type: string
        interval:
          example: 1h
          type: string
        message:
          example: Test Alert Message
          type: string
        name:
          example: Test Alert
          type: string
        source:
          enum:
            - tile
            - search
          example: tile
          type: string
        threshold:
          example: 100
          type: number
        thresholdType:
          enum:
            - above
            - below
          example: above
          type: string
        tileId:
          example: 65f5e4a3b9e77c001a901234
          type: string
      required:
        - threshold
        - interval
        - source
        - thresholdType
        - channel
      type: object
    AlertResponse:
      properties:
        data:
          $ref: '#/components/schemas/Alert'
      type: object
    Error:
      properties:
        message:
          type: string
      type: object
    Alert:
      properties:
        channel:
          properties:
            type:
              example: webhook
              type: string
            webhookId:
              example: 65f5e4a3b9e77c001a789012
              type: string
          type: object
        createdAt:
          example: '2023-01-01T00:00:00.000Z'
          format: date-time
          type: string
        dashboard:
          example: 65f5e4a3b9e77c001a567890
          type: string
        groupBy:
          nullable: true
          type: string
        id:
          example: 65f5e4a3b9e77c001a123456
          type: string
        interval:
          example: 15m
          type: string
        message:
          example: Error rate exceeds threshold
          type: string
        name:
          example: High Error Rate
          type: string
        savedSearch:
          nullable: true
          type: string
        silenced:
          nullable: true
          type: boolean
        source:
          enum:
            - tile
            - search
          example: tile
          type: string
        state:
          example: inactive
          type: string
        team:
          example: 65f5e4a3b9e77c001a345678
          type: string
        threshold:
          example: 100
          type: number
        thresholdType:
          enum:
            - above
            - below
          example: above
          type: string
        tileId:
          example: 65f5e4a3b9e77c001a901234
          type: string
        updatedAt:
          example: '2023-01-01T00:00:00.000Z'
          format: date-time
          type: string
      type: object
  securitySchemes:
    BearerAuth:
      bearerFormat: API Key
      scheme: bearer
      type: http

````