List recent delivery attempts Beta
This endpoint is in beta. Its request and response may change.
Lists the most recent attempts to deliver trigger events to one of your endpoints, newest first, up to page_size (default 20, at most 100). There's no page token for older attempts. A failed attempt is retried, so check the newest attempt for an event before you decide it wasn't delivered.
Authorization
Authorization: Bearer $TOKEN, an access token from the client credentials grant. See Authentication.
Path parameters
endpoint_idstringrequiredep_...), the URL on your server that you added under Developers > Trigger Delivery. Look up a delivery returns it as endpoint_id on each attempt.Query parameters
page_sizeintegerscalekit_client.actions.triggers.list_delivery_attempts_by_endpoint
List the most recent attempts to deliver trigger events to one of your endpoints.
scalekit_client.actions.triggers.list_delivery_attempts_by_endpoint( endpoint_id: str, page_size: int | None = None,) -> ListTriggerDeliveryAttemptsByEndpointResponseParameters
endpoint_idstrrequiredep_...), the URL on your server that you added under Developers > Trigger Delivery. Look up a delivery returns it as endpoint_id on each attempt.page_sizeint | NoneReturns ListTriggerDeliveryAttemptsByEndpointResponse: The attempts (one page; there is no page token).
From scalekit-sdk-python 2.23.0.
Response 200
attemptsarray of objectShow 11 child attributes
endpoint_idstringendpoint_urlstringidstringmsg_idstringresponsestringresponse_duration_msintegerresponse_status_codeintegerresponse_truncatedbooleanresponse was cut to its first 4096 bytes. Set only by List the attempts for a delivery and Look up a delivery, which apply that cap.statusstring (enum)SUCCESSPENDINGFAILSENDINGCANCELEDtimestampstringtrigger_typestring (enum)TRIGGER_DELIVERY_ATTEMPT_TRIGGER_TYPE_SCHEDULEDTRIGGER_DELIVERY_ATTEMPT_TRIGGER_TYPE_MANUALErrors
Every error has the same body: code, message and details. See Errors and rate limits.
400Invalid request - endpoint_id is missing, is longer than 256 characters or contains characters other than letters, digits, ., _ and -, or does not name a trigger delivery endpoint in this environment404Not found - Triggers isn't turned on for your environment500Internal error - the delivery attempts could not be read; retry the request