GET /admin/tenants/{tenant_id}/webhooks/{hook_id}/stats

Get webhook delivery statistics (success rate, average latency, failure reason distribution)

Tenant Service `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Tenant ID
hook_id path string Yes Webhook ID

Responses

Referenced Schemas

dto.WebhookDeliveryStatsDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.WebhookDeliveryStatsResponse No
message string No
timestamp string No

dto.WebhookDeliveryStatsResponse

FieldTypeRequiredExampleConstraintsDescription
avg_duration_ms number No 120.5
fail_count integer No 50
pending_count integer No 0
success_count integer No 950
success_rate number No 95
total_count integer No 1000

gitee_com_autional_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No