Get Webhook Subscription Metrics
Get delivery metrics for a webhook subscription.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Response
Successful Response
Webhook Metrics model
Intended to be calculated from the WebhookLogs table and not stored in the database.
The ID of the webhook that the metrics are for
The total number of HTTP requests made (including retries)
{
"14d": 5600,
"24h": 400,
"6h": 100,
"7d": 2800
}The number of HTTP requests that received a 2xx response
{
"14d": 5600,
"24h": 400,
"6h": 100,
"7d": 2800
}The number of HTTP requests that failed or received a non-2xx response
{
"14d": 5600,
"24h": 400,
"6h": 100,
"7d": 2800
}The total number of unique messages/events processed (regardless of retries)
{
"14d": 5600,
"24h": 400,
"6h": 100,
"7d": 2800
}The number of messages that were successfully delivered (after all retries)
{
"14d": 5600,
"24h": 400,
"6h": 100,
"7d": 2800
}The success rate of the webhook. Only available if there are at least 200 messages
{
"14d": 5600,
"24h": 400,
"6h": 100,
"7d": 2800
}The average response time of the webhook
{
"14d": 5600,
"24h": 400,
"6h": 100,
"7d": 2800
}The exponentially weighted moving average success rate of the webhook. If lower than 0.95, the webhook is considered unhealthy and marked as stale.
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.