Get Webhook Success Timeline
GET/api/v1/webhooks/success-timeline
Get webhook delivery success rate timeline for sparkline visualization.
Aggregates webhook delivery success rates over the specified time range, returning hourly or daily buckets depending on the range duration.
Args: time_range: One of 'today', 'week', 'month', 'custom' (default: 'today') start_date: ISO date string for custom range start (YYYY-MM-DD) end_date: ISO date string for custom range end (YYYY-MM-DD)
Returns: 200: Success rate timeline with current overall rate 401: Unauthorized - invalid or missing authentication
Example: GET /api/v1/webhooks/success-timeline?time_range=week Response: { "timeline": [ {"timestamp": "2025-10-01T00:00:00Z", "success_rate": 95.2, "total": 100, "successful": 95}, ... ], "current_rate": 96.5, "total_deliveries": 1000, "successful_deliveries": 965 }
Request
Responses
- 200
- 401
OK
Unauthorized