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

# applications

> Lists the applications that can call the tenant's destination versions, once per application and version. Includes each `TenantApplication` with access to a version.



**query** `applications(after: String, before: String, first: Int, last: Int, order: [ApplicationSortInput!], where: ApplicationFilterInput): ApplicationsConnection`

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

---

**`where`**: `ApplicationFilterInput`

## Returns

`ApplicationsConnection`

**`edges`**: `[ApplicationsEdge!]`

A list of edges.

---

**`nodes`**: `[Application!]`

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 Applications {
  applications {
    edges {
      cursor
      node {
        accessToken {
          __typename
        }
        apiVersionId
        clientId
        clientSecret
        createdAt
        createdBy
      }
    }
    nodes {
      accessToken {
        expiresIn
        token
      }
      apiVersionId
      clientId
      clientSecret
      createdAt
      createdBy
    }
    pageInfo {
      endCursor
      hasNextPage
      hasPreviousPage
      startCursor
    }
    totalCount
  }
}
```

```json Response
{
  "data": {
    "applications": {
      "edges": [
        {
          "cursor": "string",
          "node": {
            "accessToken": {
              "__typename": "ApplicationAccessToken"
            },
            "apiVersionId": "value",
            "clientId": "string",
            "clientSecret": "string",
            "createdAt": "value",
            "createdBy": "value"
          }
        }
      ],
      "nodes": [
        {
          "accessToken": {
            "expiresIn": 1,
            "token": "string"
          },
          "apiVersionId": "value",
          "clientId": "string",
          "clientSecret": "string",
          "createdAt": "value",
          "createdBy": "value"
        }
      ],
      "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.