Skip to main content

EventDelivery

One event's delivery to a destination.

type EventDelivery {
id: ID!
status: EventDeliveryStatus!
attempts: Int!
nextAttemptAt: DateTime!
lastError: String
deliveredAt: DateTime
createdAt: DateTime!
updatedAt: DateTime!
event: AuditLog
}

Fields​

EventDelivery.id ● ID! non-null scalar {#id}​

Unique identifier of the delivery.

EventDelivery.status ● EventDeliveryStatus! non-null enum {#status}​

The state of the delivery.

EventDelivery.attempts ● Int! non-null scalar {#attempts}​

How many times Massdriver tried to send the event.

EventDelivery.nextAttemptAt ● DateTime! non-null scalar {#next-attempt-at}​

When Massdriver sends the event next, while the delivery is PENDING (UTC).

EventDelivery.lastError ● String scalar {#last-error}​

Why the last attempt failed, such as HTTP 503 or connection refused.

EventDelivery.deliveredAt ● DateTime scalar {#delivered-at}​

When the destination accepted the event (UTC).

EventDelivery.createdAt ● DateTime! non-null scalar {#created-at}​

When the event matched the destination (UTC).

EventDelivery.updatedAt ● DateTime! non-null scalar {#updated-at}​

When the delivery last changed (UTC).

EventDelivery.event ● AuditLog object {#event}​

The audit log event. null when the event is older than the audit log retention.

Member Of​

EventDeliveriesPage object