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

# Webhook iletimlerini listele (sayfalı)

> Her tahmin alarm webhook iletimi için bir günlük satırı döndürür; sayfalama, filtre ve sıralama desteklenir. Satırlar sınırlı bir saklama süresi boyunca tutulur.



## OpenAPI

````yaml /open-api/tr/forecast-alarm_version-1.json post /v1/alarms/forecasts/delivery-logs/page
openapi: 3.1.0
info:
  title: OpenAPI definition
  version: v0
servers:
  - url: https://api.iklim.co
    description: Production server
  - url: https://api-test.iklim.co
    description: Test server
security: []
tags:
  - name: Tahmin Nokta Alarm Kayıtları
    description: Tahmin nokta alarm kayıtları için CRUD ve sorgulama uç noktaları
  - name: Tahmin Webhook İletim Günlükleri
    description: Tahmin alarmlarının webhook iletim günlüğü için sorgu uç noktası
paths:
  /v1/alarms/forecasts/delivery-logs/page:
    post:
      tags:
        - Tahmin Webhook İletim Günlükleri
      summary: Webhook iletimlerini listele (sayfalı)
      description: >-
        Her tahmin alarm webhook iletimi için bir günlük satırı döndürür;
        sayfalama, filtre ve sıralama desteklenir. Satırlar sınırlı bir saklama
        süresi boyunca tutulur.
      operationId: page
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PageWebhookDeliveryLogsRequest'
        required: true
      responses:
        '200':
          description: Başarılı
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PageWebhookDeliveryLogsResponse'
        '400':
          description: Hatalı İstek
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorResponse'
        '401':
          description: Yetkisiz
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorResponse'
        '403':
          description: Yasak
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorResponse'
        '500':
          description: Dahili Sunucu Hatası
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorResponse'
components:
  schemas:
    PageWebhookDeliveryLogsRequest:
      type: object
      properties:
        backwardInterval:
          type: integer
          format: int64
          description: Saniye cinsinden geriye doğru aralık (60 saniye ile 30 gün arası)
          example: 86400
          maximum: 2592000
          minimum: 60
        endTimeEpoch:
          type: integer
          format: int64
          description: Epoch milisaniye cinsinden bitiş zamanı
          example: 1746454091000
          minimum: 0
        pageNumber:
          type: integer
          format: int32
          description: Sıfırdan başlayan sayfa numarası
          example: 0
          minimum: 0
        pageSize:
          type: integer
          format: int32
          description: Sayfa başına kayıt sayısı (1-100)
          example: 20
          maximum: 100
          minimum: 1
        accountId:
          type: string
          format: uuid
          description: >-
            Başkası adına sorgulamak için hesap UUID. Boş bırakılırsa ADMIN tüm
            hesapları, diğerleri yalnızca kendi hesabını görür; başka bir hesap
            POWER_USER rolü gerektirir
          example: 2f04f1b5-1c0a-4c4e-b0a7-0ba6e9b7f2e1
        registrationId:
          type: string
          format: uuid
          description: Yalnızca bu kaydın iletimleri
          example: 9c1f6a52-3d7e-4b86-a1f4-5e2d8c0b7a13
        filterByRecipientIds:
          type: array
          description: Yalnızca bu alıcı ID'lerinin iletimleri
          example:
            - Receiver1
            - Receiver2
          items:
            type: string
        alarmId:
          type: string
          description: >-
            Yalnızca bu alarm ID'sinin iletimleri; alarm ID'si, müşteriye
            gönderilen tahmin bildiriminin id alanıdır
        alarmTypes:
          type: array
          description: >-
            Yalnızca bu alarm türleri: LIGHTNING, THUNDERSTORM, PRECIPITATION,
            FORECAST
          example:
            - LIGHTNING
          items:
            type: string
            enum:
              - LIGHTNING
              - THUNDERSTORM
              - PRECIPITATION
              - FORECAST
        statuses:
          type: array
          description: >-
            Yalnızca bu nihai iletim durumları: SUCCESS, FAILURE, TIMEOUT,
            CANCELLED, UNKNOWN, NOT_ATTEMPTED
          example:
            - FAILURE
            - TIMEOUT
          items:
            type: string
            enum:
              - SUCCESS
              - FAILURE
              - TIMEOUT
              - CANCELLED
              - UNKNOWN
              - NOT_ATTEMPTED
        lastHttpStatus:
          type: integer
          format: int32
          description: Yalnızca son denemesi bu HTTP durum kodunu almış iletimler
          example: 503
        sortBy:
          type: object
          additionalProperties:
            type: string
          description: >-
            Sıralama; alan -> asc/desc şeklinde sıralı bir harita. İzin verilen
            alanlar: createdAt, startedAt, finishedAt, durationMs, status,
            lastHttpStatus, attemptCount, accountId, recipientId, alarmId, url.
            Varsayılan: createdAt desc
          example:
            createdAt: desc
      required:
        - backwardInterval
        - endTimeEpoch
        - pageNumber
        - pageSize
    PageWebhookDeliveryLogsResponse:
      type: object
      properties:
        deliveryLogs:
          type: array
          description: İstenen sayfanın iletim kayıtları
          items:
            $ref: '#/components/schemas/WebhookDeliveryLogResponse'
        totalRecords:
          type: integer
          format: int64
          description: Eşleşen toplam iletim kaydı sayısı
          example: 128
        pageNumber:
          type: integer
          format: int32
          description: Bu yanıtın sıfırdan başlayan sayfa numarası
          example: 0
        pageSize:
          type: integer
          format: int32
          description: Bu yanıtın sayfa boyutu
          example: 20
    StandardErrorResponse:
      type: object
      description: Standart API hata cevabı yapısı
      properties:
        timestamp:
          type: string
          format: date-time
          description: Hatanın oluştuğu zaman damgası
          example: YYYY-mm-DDTHH:MM:SS.nnnnnnnnn
        status:
          type: integer
          format: int32
          description: HTTP durum kodu
          example: XXX
        error:
          type: string
          description: Hata adı veya tipi
          example: Error Name
          minLength: 1
        message:
          type: string
          description: Ana hata mesajı
          example: Error Message
          minLength: 1
        messages:
          type: array
          description: Ek detaylı hata mesajları
          items:
            type: string
        path:
          type: string
          description: Hatanın oluştuğu istek yolu
          example: /endpoint/uri/here
          minLength: 1
      required:
        - error
        - message
        - path
        - status
        - timestamp
    WebhookDeliveryLogResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: İletim kaydı ID'si
        createdAt:
          type: string
          format: date-time
          description: İletimin kaydedildiği zaman
        accountId:
          type: string
          format: uuid
          description: Webhook'un sahibi hesap
        registrationId:
          type: string
          format: uuid
          description: İletimi tetikleyen kayıt
        recipientId:
          type: string
          description: Kaydın alıcı ID'si
        alarmId:
          type: string
          description: >-
            İletilen alarmın ID'si; müşteriye gönderilen tahmin bildiriminin id
            alanıdır
        alarmType:
          type: string
          description: 'Alarm türü: LIGHTNING, THUNDERSTORM, PRECIPITATION veya FORECAST'
          enum:
            - LIGHTNING
            - THUNDERSTORM
            - PRECIPITATION
            - FORECAST
        url:
          type: string
          description: Alarmın gönderildiği webhook uç noktası URL'si
        httpMethod:
          type: string
          description: İletimde kullanılan HTTP metodu
        contentType:
          type: string
          description: İletilen payload'ın içerik türü
        attemptCount:
          type: integer
          format: int32
          description: Yapılan iletim denemesi sayısı
        maxAttempts:
          type: integer
          format: int32
          description: İletim politikasının izin verdiği deneme sayısı
        lastHttpStatus:
          type: integer
          format: int32
          description: Son denemenin HTTP durum kodu; son denemede yanıt alınamadıysa null
        status:
          type: string
          description: >-
            Nihai iletim durumu: SUCCESS, FAILURE, TIMEOUT, CANCELLED, UNKNOWN
            veya NOT_ATTEMPTED
          enum:
            - SUCCESS
            - FAILURE
            - TIMEOUT
            - CANCELLED
            - UNKNOWN
            - NOT_ATTEMPTED
        errorMessage:
          type: string
          description: İletimin neden başarısız olduğu; başarıda null
        requestPayload:
          type: string
          description: Gönderilen payload (kırpılmış olabilir)
        responseBody:
          type: string
          description: Son denemenin ham yanıt gövdesi (kırpılmış olabilir)
        startedAt:
          type: string
          format: date-time
          description: İlk denemenin başladığı zaman
        finishedAt:
          type: string
          format: date-time
          description: İletimin bittiği zaman
        durationMs:
          type: integer
          format: int64
          description: Yeniden denemeler ve beklemeler dahil toplam iletim süresi (ms)

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.