List delivery attempts for a trigger endpoint
Changed onLists the most recent attempts to deliver trigger events to one of the environment's trigger delivery endpoints, newest first. Use this endpoint to check whether trigger events reached your endpoint, and to inspect the HTTP status and response body each attempt received. Pass the delivery endpoint ID in the path, and optionally page_size, which defaults to 20 and is capped at 100. Only the most recent attempts are returned; there is no page token for older attempts. A failed attempt is retried, so check the newest attempt for a message before concluding it was not delivered. Returns the attempts, each with its status, the HTTP status code and response body your endpoint returned, the message ID, and the time of the attempt.
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.
Path parameters
ID of the trigger delivery endpoint to list attempts for. Must be one of this environment's trigger delivery endpoints.
Query parameters
Maximum number of attempts to return, newest first. Defaults to 20 when omitted or zero; a larger value than 100 is capped at 100 rather than refused.
Response
The endpoint's most recent delivery attempts, newest first
Example response
{
"attempts": [
{
"endpoint_id": "ep_123456789012345",
"endpoint_url": "https://agent.example.com/hooks/triggers",
"id": "atmpt_123456789012345",
"msg_id": "msg_123456789012345",
"response": "{\"ok\":true}",
"response_duration_ms": 182,
"response_status_code": 200,
"timestamp": "2026-10-09T12:34:56Z"
}
]
}Changes
- info
endpoint added
- info