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

# addonVersions

> Get paginated list of addon versions by refId



**query** `addonVersions(filter: AddonFilter, paging: CursorPaging, sorting: [AddonSort!]): AddonVersionsConnection!`

## Arguments

**`filter`**: `AddonFilter` = {}

Specify to filter the records returned.

---

**`paging`**: `CursorPaging` = {first: 10}

Limit or page results.

---

**`sorting`**: `[AddonSort!]` = [{direction: DESC, field: createdAt}]

Specify to sort results.

## Returns

`AddonVersionsConnection!`

**`edges`**: `[AddonVersionsEdge!]!`

Edges in the current page

---

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

Pagination information

---

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

Total number of items matching the filter

## Examples

```graphql Query
query AddonVersions {
  addonVersions {
    edges {
      cursor
      node {
        additionalMetaData
        billingId
        billingLinkUrl
        createdAt
        dependencies {
          __typename
        }
        description
      }
    }
    pageInfo {
      endCursor
      hasNextPage
      hasPreviousPage
      startCursor
    }
    totalCount
  }
}
```

```json Response
{
  "data": {
    "addonVersions": {
      "edges": [
        {
          "cursor": "string",
          "node": {
            "additionalMetaData": "value",
            "billingId": "string",
            "billingLinkUrl": "string",
            "createdAt": "value",
            "dependencies": [
              {
                "__typename": "Addon"
              }
            ],
            "description": "string"
          }
        }
      ],
      "pageInfo": {
        "endCursor": "value",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "value"
      },
      "totalCount": 1
    }
  }
}
```


## Related topics

- [Go SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/go.md)
- [AddonVersionsConnection](https://docs.stigg.io/graphql-reference/types/AddonVersionsConnection.md)
- [AddonVersionsEdge](https://docs.stigg.io/graphql-reference/types/AddonVersionsEdge.md)
- [Migrating subscriptions to the latest plan or add-on version](https://docs.stigg.io/documentation/managing-customers-and-subscriptions/subscriptions/migrating-subscriptions.md)
- [Publish addon](https://docs.stigg.io/api-reference/addons/publish-addon.md)


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