Get trigger event counts for the environment
Changed onReturns counts of what happened to the environment's trigger events over the last 24 hours, grouped by outcome. Use this endpoint to diagnose a trigger that did not fire: the counts tell apart events that never arrived, events that arrived and matched no subscription filter, events for a provider workspace that no connected account holds, events that failed signature verification, and events whose handoff for delivery failed. The endpoint takes no parameters and covers every connection in the environment. Counts are aggregates only: no record of an individual event is kept, so no endpoint can explain what happened to one specific event. Returns the counts, the window they cover in hours, whether most recent arrivals failed signature verification, whether the counts are incomplete, and the dashboard path where delivery attempts can be inspected.
Request
- Base URLhttps://$SCALEKIT_ENVIRONMENT_URL
- AuthOAuth 2Client credentialsToken URLhttps://$SCALEKIT_ENVIRONMENT_URL/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Event counts per outcome for the last 24 hours, with the signature-failure and incomplete-data indicators
Example response
{
"counts": {
"delivered": 88,
"delivery_failed": 0,
"discarded": 0,
"duplicate": 5,
"filtered": 30,
"received": 120,
"signature_failed": 0,
"unresolved": 2
},
"delivery_details_path": "/trigger-delivery",
"window_hours": 24
}Changes
- info
endpoint added
- info