---
title: "Get webhook delivery stats"
method: GET
path: "/api/v1/workspace/webhooks/{webhook_id}/stats"
tags: ["Webhooks"]
---

# Get webhook delivery stats

`GET /api/v1/workspace/webhooks/{webhook_id}/stats`

## Path parameters

- `webhook_id` string, required

## Response `200`

Successful Response

- WebhookStatsResponse
  - `total` integer, required
  - `success_count` integer, required
  - `failed_count` integer, required
  - `success_rate` number, required
  - `avg_duration_ms` integer, required
  - `max_duration_ms` integer, required
  - `last_delivery_at` string, date-time, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/phala/apis/phala-cloud-api.md) · [All operations](https://skmtc.dev/phala/apis/phala-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/phala/phala-cloud-api/revisions/83c6ae62e860/schema)
