The Webhook delivery object
One event sent to an endpoint - its latest attempt, its status and its retries.
WebhookDeliveryResponse
JavaScript: no alias - an element of the type that holds it · Python: viewrium.WebhookDelivery
iduuidrequiredUnique identifier.
endpoint_iduuidrequiredThe endpoint it was sent to.
event_typeWebhookEventTyperequiredThe event's type.
One of "model.ready", "model.failed", "product.created", "product.generating", "product.completed", "product.failed", "product.reviewed", "product.published", "product.unpublished", "product.updated", "product.deleted", "export.ready"
event_iduuidrequiredThe event's id. Stable across attempts - use it to deduplicate.
http_statusintegeroptionalnullableThe status your endpoint answered on the latest attempt. Null if it never answered.
attemptsintegerrequiredHow many attempts were made (at most 6: immediately, then after 5 min, 30 min, 2 h, 8 h and 24 h).
succeeded_atdatetimeoptionalnullableWhen your endpoint accepted it. Null until it does.
last_attempt_atdatetimeoptionalnullableWhen the latest attempt was made.
last_errorstringoptionalnullableWhat went wrong on the latest failed attempt.
next_attempt_atdatetimeoptionalnullableWhen the next attempt is due. Null once it succeeded or its attempts ran out.
payload_jsonmap of string to anyoptionalnullableThe event body sent, identical on every attempt.
WebhookDeliveryListResponse
JavaScript: WebhookDeliveryList · Python: viewrium.WebhookDeliveryListResponse
The deliveries, newest first.
limitintegerrequiredThe page size the list was read with.
offsetintegerrequiredHow many items were skipped before this page.