Autional Autional
API Reference GitHub autional.com →

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

StatusDescriptionSchema
200Delivery statisticsdto.WebhookDeliveryStatsDetailResponse
400Invalid request parametersgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthorizedgitee_com_linmes_authms_base_dto.SimpleResponse
403Insufficient permissionsgitee_com_linmes_authms_base_dto.SimpleResponse
404Resource not foundgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

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_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No