> ## 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.

# notifications

> The signed-in user's notification feed, newest first. Each row points at the task it
reports on, behind the Task interface, so a client renders the shared fields
directly and reaches for an inline fragment for the type-specific payload.



**query** `notifications(after: String, before: String, first: Int, last: Int, order: [NotificationSortInput!], where: NotificationFilterInput): NotificationsConnection`

## 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.

---

**`first`**: `Int`

Returns the first _n_ elements from the list.

---

**`last`**: `Int`

Returns the last _n_ elements from the list.

---

**`order`**: `[NotificationSortInput!]`

---

**`where`**: `NotificationFilterInput`

## Returns

`NotificationsConnection`

**`edges`**: `[NotificationsEdge!]`

A list of edges.

---

**`nodes`**: `[Notification!]`

A flattened list of the nodes.

---

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

Information to aid in pagination.

---

**`totalCount`**: `Int!`

Identifies the total count of items in the connection.

## Examples

```graphql Query
query Notifications {
  notifications {
    edges {
      cursor
      node {
        createdAt
        id
        queuedTask {
          __typename
        }
        seen
        task {
          __typename
        }
        type
      }
    }
    nodes {
      createdAt
      id
      queuedTask {
        artifacts {
          __typename
        }
        awaitingConfirmation
        configuration {
          __typename
          ... on CardsImportConfiguration {
            __typename
          }
        }
        createdAt
        createdBy
        details {
          __typename
          ... on CardsImportDetails {
            __typename
          }
        }
      }
      seen
      task {
        createdAt
        id
        lastUpdatedAt
        progress
        status
      }
      type
    }
    pageInfo {
      endCursor
      hasNextPage
      hasPreviousPage
      startCursor
    }
    totalCount
  }
}
```

```json Response
{
  "data": {
    "notifications": {
      "edges": [
        {
          "cursor": "string",
          "node": {
            "createdAt": "value",
            "id": "id",
            "queuedTask": {
              "__typename": "QueuedTask"
            },
            "seen": true,
            "task": {
              "__typename": "ExportTask"
            },
            "type": "CARDS_IMPORT"
          }
        }
      ],
      "nodes": [
        {
          "createdAt": "value",
          "id": "id",
          "queuedTask": {
            "artifacts": [
              {
                "__typename": "QueuedTaskArtifact"
              }
            ],
            "awaitingConfirmation": true,
            "configuration": {
              "__typename": "CardsImportConfiguration"
            },
            "createdAt": "value",
            "createdBy": "value",
            "details": {
              "__typename": "CardsImportDetails"
            }
          },
          "seen": true,
          "task": {
            "createdAt": "value",
            "id": "id",
            "lastUpdatedAt": "value",
            "progress": 1.5,
            "status": "CREATED"
          },
          "type": "CARDS_IMPORT"
        }
      ],
      "pageInfo": {
        "endCursor": "string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "string"
      },
      "totalCount": 1
    }
  }
}
```


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