Skip to main content
GET
Get Webhook Subscription Metrics

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

webhook_id
string<uuid>
required

Response

Successful Response

Webhook Metrics model

Intended to be calculated from the WebhookLogs table and not stored in the database.

webhook_id
string<uuid>
required

The ID of the webhook that the metrics are for

http_attempts
HTTP Attempts · object
required

The total number of HTTP requests made (including retries)

Example:
http_success_attempts
Successful HTTP Attempts · object
required

The number of HTTP requests that received a 2xx response

Example:
http_failure_attempts
Failed HTTP Attempts · object
required

The number of HTTP requests that failed or received a non-2xx response

Example:
message_count
Message Count · object
required

The total number of unique messages/events processed (regardless of retries)

Example:
message_success_count
Successful Messages · object
required

The number of messages that were successfully delivered (after all retries)

Example:
success_rate
Success Rate · object
required

The success rate of the webhook. Only available if there are at least 200 messages

Example:
avg_response_time_ms
Average Response Time · object
required

The average response time of the webhook

Example:
ewma_success_rate
number | null
required

The exponentially weighted moving average success rate of the webhook. If lower than 0.95, the webhook is considered unhealthy and marked as stale.

dlq_count
integer
required

The number of messages that failed to be delivered, and were put in the DLQ. Messages are stored for 14 days and must be replayed manually.