WorkspaceWebhookMetricsResponse
Customer-facing webhook metrics, scoped to one workspace.
Deliberately carries no CloudWatch dashboard link and no cross-workspace aggregate — that data belongs to the staff-only /metrics endpoint.
summary objectrequired
Delivery counts for the caller's workspace over the reported window
total_attemptsTotal Attempts (integer)required
successful_deliveriesSuccessful Deliveries (integer)required
failed_deliveriesFailed Deliveries (integer)required
pending_deliveriesPending Deliveries (integer)required
total_retriesTotal Retries (integer)required
success_rate object
anyOf
- number
- null
number
performance objectrequired
Latency and retry outcomes for the caller's workspace
average_response_time_ms object
anyOf
- number
- null
number
retry_success_rate object
anyOf
- number
- null
number
retried_terminal_countRetried Terminal Count (integer)
Default value:
0webhooks objectrequired
How many webhooks the workspace has configured
totalTotal (integer)required
activeActive (integer)required
window_hoursWindow Hours (integer)required
generated_atstring<date-time>required
WorkspaceWebhookMetricsResponse
{
"summary": {
"total_attempts": 0,
"successful_deliveries": 0,
"failed_deliveries": 0,
"pending_deliveries": 0,
"total_retries": 0,
"success_rate": 0
},
"performance": {
"average_response_time_ms": 0,
"retry_success_rate": 0,
"retried_terminal_count": 0
},
"webhooks": {
"total": 0,
"active": 0
},
"window_hours": 0,
"generated_at": "2024-07-29T15:51:28.071Z"
}