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

# Get Addon

Retrieves detailed information about a specific addon.

## Query

<CodeGroup>
  ```graphql Query theme={null}
  query GetAddon($input: GetPackageByRefIdInput!) {
    getAddonByRefId(input: $input) {
      refId
      displayName
      description
      status
      pricingType
      maxQuantity
      versionNumber
      product {
        refId
        displayName
      }
      prices {
        billingModel
        billingPeriod
        price {
          amount
          currency
        }
      }
      packageEntitlements {
        ... on PackageEntitlement {
          feature {
            refId
            displayName
            featureType
          }
          hasUnlimitedUsage
          usageLimit
        }
      }
      dependencies {
        refId
        displayName
      }
    }
  }
  ```

  ```json Variables theme={null}
  {
    "input": {
      "refId": "addon-extra-seats"
    }
  }
  ```

  ```json Response theme={null}
  {
    "data": {
      "getAddonByRefId": {
        "refId": "addon-extra-seats",
        "displayName": "Extra Seats",
        "description": "Add more team members to your workspace",
        "status": "PUBLISHED",
        "pricingType": "PAID",
        "maxQuantity": 100,
        "versionNumber": 2,
        "product": {
          "refId": "product-main",
          "displayName": "Main Product"
        },
        "prices": [
          {
            "billingModel": "FLAT_FEE",
            "billingPeriod": "MONTHLY",
            "price": {
              "amount": 10,
              "currency": "USD"
            }
          }
        ],
        "packageEntitlements": [
          {
            "feature": {
              "refId": "feature-seats",
              "displayName": "Team Seats",
              "featureType": "NUMBER"
            },
            "hasUnlimitedUsage": false,
            "usageLimit": 1
          }
        ],
        "dependencies": []
      }
    }
  }
  ```
</CodeGroup>

## Parameters

<ParamField body="input" type="GetPackageByRefIdInput" required>
  Input parameters for retrieving the addon

  <Expandable title="properties">
    <ParamField body="refId" type="String" required>
      The unique addon reference ID
    </ParamField>

    <ParamField body="versionNumber" type="Int">
      Specific version to retrieve
    </ParamField>

    <ParamField body="environmentId" type="UUID">
      Environment ID
    </ParamField>
  </Expandable>
</ParamField>

## Return Type

Returns an `Addon` object with full addon details.

## Related Operations

* [List Addons](/api-and-sdks/api-reference/queries/list-addons) - Query multiple addons
* [Create Addon](/api-and-sdks/api-reference/mutations/create-addon) - Create new addon
