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

# Get delivery statistics

> Returns aggregate delivery statistics across all of your webhooks, including the total count, a breakdown by status (pending, success, skipped, dead), and the overall success rate. Optional `since` and endpoint delivery `kind` filters narrow the reporting window.



## OpenAPI

````yaml /api-reference/webhooks/webhook-deliveries.yaml get /webhooks/deliveries/stats
openapi: 3.1.0
info:
  title: Webhook Deliveries
  version: v1
servers:
  - description: Droidrun Cloud API
    url: https://api.mobilerun.ai/v1
security:
  - bearerAuth: []
paths:
  /webhooks/deliveries/stats:
    get:
      tags:
        - Webhook Deliveries
      summary: Get delivery statistics
      description: >-
        Returns aggregate delivery statistics across all of your webhooks,
        including the total count, a breakdown by status (pending, success,
        skipped, dead), and the overall success rate. Optional `since` and
        endpoint delivery `kind` filters narrow the reporting window.
      operationId: getWebhookDeliveryStats
      parameters:
        - in: query
          name: since
          required: false
          schema:
            format: date-time
            type: string
        - description: Only include deliveries to endpoints of this kind.
          in: query
          name: kind
          required: false
          schema:
            description: Only include deliveries to endpoints of this kind.
            enum:
              - http
              - integration
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    properties:
                      byStatus:
                        properties:
                          dead:
                            type: number
                          pending:
                            type: number
                          skipped:
                            type: number
                          success:
                            type: number
                        required:
                          - pending
                          - success
                          - skipped
                          - dead
                        type: object
                      successRate:
                        type:
                          - number
                          - 'null'
                      total:
                        type: number
                    required:
                      - total
                      - byStatus
                      - successRate
                    type: object
                required:
                  - data
                type: object
          description: Delivery statistics
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookInternalServerError'
          description: Internal Server Error
      x-codeSamples:
        - lang: JavaScript
          source: |-
            import Mobilerun from '@mobilerun/sdk';

            const client = new Mobilerun({
              apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
            });

            const response = await client.webhooks.deliveries.stats();

            console.log(response.data);
        - lang: Python
          source: |-
            import os
            from mobilerun_sdk import Mobilerun

            client = Mobilerun(
                api_key=os.environ.get("MOBILERUN_CLOUD_API_KEY"),  # This is the default and can be omitted
            )
            response = client.webhooks.deliveries.stats()
            print(response.data)
components:
  schemas:
    ApiErrorEnvelope:
      properties:
        code:
          type: string
        details: {}
        message:
          type: string
        retryAfterSeconds:
          type: number
        traceId:
          type: string
      required:
        - code
        - message
      type: object
    WebhookInternalServerError:
      properties:
        code:
          $ref: '#/components/schemas/WebhookHttpErrorCode'
        details: {}
        message:
          type: string
        traceId:
          type: string
      required:
        - code
        - message
      type: object
    WebhookHttpErrorCode:
      enum:
        - bad_request
        - not_found
        - conflict
        - service_unavailable
        - internal_error
      type: string
  securitySchemes:
    bearerAuth:
      bearerFormat: Opaque
      description: Bearer token via Authorization header
      scheme: bearer
      type: http

````

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