> ## Documentation Index
> Fetch the complete documentation index at: https://docs.occtoo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# eventDestinationDeliveries

> Lists deliveries to push event destinations, newest first, one per event and destination. Delivered and cancelled ones are kept for about an hour, dead-lettered ones for about 7 days. Pages forward only (`first`, `after`): 100 by default, at most 500.



**query** `eventDestinationDeliveries(after: String, before: String, eventDestinationId: ID, first: Int, last: Int): EventDestinationDeliveriesConnection`

## Arguments

**`after`**: `String`

Returns the elements in the list that come after the specified cursor.

---

**`before`**: `String`

Returns the elements in the list that come before the specified cursor.

---

**`eventDestinationId`**: `ID`

Global id of the event destination to list deliveries for. Null = deliveries of all the tenant's event destinations.

---

**`first`**: `Int`

Returns the first _n_ elements from the list.

---

**`last`**: `Int`

Returns the last _n_ elements from the list.

## Returns

`EventDestinationDeliveriesConnection`

**`edges`**: `[EventDestinationDeliveriesEdge!]`

A list of edges.

---

**`nodes`**: `[EventDestinationDelivery!]`

A flattened list of the nodes.

---

**`pageInfo`**: `PageInfo!`

Information to aid in pagination.

## Examples

```graphql Query
query EventDestinationDeliveries {
  eventDestinationDeliveries {
    edges {
      cursor
      node {
        attemptCount
        createdAt
        deliveredAt
        eventDestinationId
        eventId
        eventSource
      }
    }
    nodes {
      attemptCount
      createdAt
      deliveredAt
      eventDestinationId
      eventId
      eventSource
    }
    pageInfo {
      endCursor
      hasNextPage
      hasPreviousPage
      startCursor
    }
  }
}
```

```json Response
{
  "data": {
    "eventDestinationDeliveries": {
      "edges": [
        {
          "cursor": "string",
          "node": {
            "attemptCount": 1,
            "createdAt": "value",
            "deliveredAt": "value",
            "eventDestinationId": "id",
            "eventId": "value",
            "eventSource": "string"
          }
        }
      ],
      "nodes": [
        {
          "attemptCount": 1,
          "createdAt": "value",
          "deliveredAt": "value",
          "eventDestinationId": "id",
          "eventId": "value",
          "eventSource": "string"
        }
      ],
      "pageInfo": {
        "endCursor": "string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "string"
      }
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.