Look up a delivery Beta
This endpoint is in beta. Its request and response may change.
Finds one trigger event by an ID your server received: the message ID from the webhook-id header, or the event ID, which is the payload's dedupe_key. Returns the event's trigger, subscription and connection, and every attempt to deliver it to each of your endpoints, oldest first. The event's payload isn't returned.
Authorization
Authorization: Bearer $TOKEN, an access token from the client credentials grant. See Authentication.
Path parameters
idstringrequiredmsg_..., the webhook-id header) or the event ID (the payload's dedupe_key).scalekit_client.actions.triggers.lookup_delivery
Look up one delivered message by its message ID or by its event ID.
scalekit_client.actions.triggers.lookup_delivery( delivery_id: str,) -> LookupTriggerDeliveryResponseParameters
delivery_idstrrequiredmsg_...) or the event ID your endpoint received (TriggerEvent.dedupe_key).Returns LookupTriggerDeliveryResponse: The message, its trigger and up to 50 attempts.
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_MANUALconnection_idstringconnection_key_idstringconnector. Empty when the connection no longer exists.connection_providerstringevent_idstringdedupe_key and correlation_id. Empty when the event was sent without one.message_timestampstringmsg_idstringwebhook-id header.subscription_idstringtrigger_modestring (enum)WEBHOOKPOLLtrigger_namestringtruncatedbooleanErrors
Every error has the same body: code, message and details. See Errors and rate limits.
400Invalid request - id is empty, longer than 256 characters, contains characters other than letters, digits, ., _ and -, or is an attempt ID (atmpt_)404Not found - no trigger event with this message ID or event ID exists in this environment (error_code NOT_FOUND), or Triggers isn't turned on for your environment (error_code RESOURCE_NOT_FOUND)429Too many requests - deliveries are being read too often. Retry shortly; the request is not retried on your behalf500Internal error - the delivery could not be looked up; retry the request