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

# featureAssociatedLatestPackages

> Get the associated latest packages for a feature



**query** `featureAssociatedLatestPackages(input: FeatureAssociatedLatestPackages!): FeatureAssociatedLatestPackagesResultDTO!`

## Arguments

**`input`**: `FeatureAssociatedLatestPackages!` (required)

## Returns

`FeatureAssociatedLatestPackagesResultDTO!`

**`featureGroups`**: `[FeatureAssociatedFeatureGroupDTO!]!`

---

**`packages`**: `[FeatureAssociatedPackageDTO!]!`

## Examples

```graphql Query
query FeatureAssociatedLatestPackages($input: FeatureAssociatedLatestPackages!) {
  featureAssociatedLatestPackages(input: $input) {
    featureGroups {
      displayName
      refId
    }
    packages {
      displayName
      entitlement {
        enumValues
        hasSoftLimit
        hasUnlimitedUsage
        isCustom
        isGranted
        resetPeriod
      }
      featureGroups {
        displayName
        refId
      }
      hasCharge
      isCreditConsumption
      productId
    }
  }
}
```

```json Variables
{
  "input": {
    "environmentId": "value",
    "featureId": "string"
  }
}
```

```json Response
{
  "data": {
    "featureAssociatedLatestPackages": {
      "featureGroups": [
        {
          "displayName": "string",
          "refId": "string"
        }
      ],
      "packages": [
        {
          "displayName": "string",
          "entitlement": {
            "enumValues": [
              "string"
            ],
            "hasSoftLimit": true,
            "hasUnlimitedUsage": true,
            "isCustom": true,
            "isGranted": true,
            "resetPeriod": "DAY"
          },
          "featureGroups": [
            {
              "displayName": "string",
              "refId": "string"
            }
          ],
          "hasCharge": true,
          "isCreditConsumption": true,
          "productId": "string"
        }
      ]
    }
  }
}
```


## Related topics

- [FeatureAssociatedLatestPackages](https://docs.stigg.io/graphql-reference/types/FeatureAssociatedLatestPackages.md)
- [FeatureAssociatedLatestPackagesResultDTO](https://docs.stigg.io/graphql-reference/types/FeatureAssociatedLatestPackagesResultDTO.md)
- [featureGroupAssociatedLatestPackages](https://docs.stigg.io/graphql-reference/queries/featureGroupAssociatedLatestPackages.md)
- [FeatureGroupAssociatedLatestPackagesInput](https://docs.stigg.io/graphql-reference/types/FeatureGroupAssociatedLatestPackagesInput.md)
- [FeatureAssociatedPackageDTO](https://docs.stigg.io/graphql-reference/types/FeatureAssociatedPackageDTO.md)


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