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

# queuedTasks

> Every kind of long-running work in one feed, newest first. Unfiltered this is the whole
tenant's; pass createdBy to narrow it to one person, and configuration to scope
it to what a kind of task was queued to do.



**query** `queuedTasks(after: String, before: String, first: Int, last: Int, order: [QueuedTaskSortInput!], where: QueuedTaskFilterInput): QueuedTasksConnection`

## 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`**: `[QueuedTaskSortInput!]`

---

**`where`**: `QueuedTaskFilterInput`

## Returns

`QueuedTasksConnection`

**`edges`**: `[QueuedTasksEdge!]`

A list of edges.

---

**`nodes`**: `[QueuedTask!]`

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 QueuedTasks {
  queuedTasks {
    edges {
      cursor
      node {
        artifacts {
          __typename
        }
        awaitingConfirmation
        configuration {
          __typename
          ... on CardsImportConfiguration {
            __typename
          }
        }
        createdAt
        createdBy
        details {
          __typename
          ... on CardsImportDetails {
            __typename
          }
        }
      }
    }
    nodes {
      artifacts {
        available
        completedAt
        createdAt
        filename
        kind
        sizeBytes
      }
      awaitingConfirmation
      configuration {
        __typename
        ... on CardsImportConfiguration {
          __typename
        }
      }
      createdAt
      createdBy
      details {
        __typename
        ... on CardsImportDetails {
          __typename
        }
      }
    }
    pageInfo {
      endCursor
      hasNextPage
      hasPreviousPage
      startCursor
    }
    totalCount
  }
}
```

```json Response
{
  "data": {
    "queuedTasks": {
      "edges": [
        {
          "cursor": "string",
          "node": {
            "artifacts": [
              {
                "__typename": "QueuedTaskArtifact"
              }
            ],
            "awaitingConfirmation": true,
            "configuration": {
              "__typename": "CardsImportConfiguration"
            },
            "createdAt": "value",
            "createdBy": "value",
            "details": {
              "__typename": "CardsImportDetails"
            }
          }
        }
      ],
      "nodes": [
        {
          "artifacts": [
            {
              "available": true,
              "completedAt": "value",
              "createdAt": "value",
              "filename": "string",
              "kind": "INPUT",
              "sizeBytes": "value"
            }
          ],
          "awaitingConfirmation": true,
          "configuration": {
            "__typename": "CardsImportConfiguration"
          },
          "createdAt": "value",
          "createdBy": "value",
          "details": {
            "__typename": "CardsImportDetails"
          }
        }
      ],
      "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.