Feature sets API reference
Note: The feature sets API is only available in HCP Terraform.
Feature sets represent the different pricing plans available to HCP Terraform organizations. An organization's entitlement set is calculated using its subscription and feature set.
List Feature Sets
This endpoint lists the feature sets available in HCP Terraform.
GET /feature-sets
Query Parameters
This endpoint supports pagination with standard URL query parameters. Remember to percent-encode [
as %5B
and ]
as %5D
if your tooling doesn't automatically encode URLs. If neither pagination query parameters are provided, the endpoint will not be paginated and will return all results.
Parameter | Description |
---|---|
page[number] | Optional. If omitted, the endpoint will return the first page. |
page[size] | Optional. If omitted, the endpoint will return 20 feature sets per page. |
Sample Request
Sample Response
List Feature Sets for Organization
This endpoint lists the feature sets a particular organization is eligible to access. The results may differ from the previous global endpoint - for instance, if the organization has already had a free trial, the trial feature set will not appear in this list.
GET /organizations/:organization_name/feature-sets
Parameter | Description |
---|---|
organization_name | The name of the organization |
Query Parameters
This endpoint supports pagination with standard URL query parameters. Remember to percent-encode [
as %5B
and ]
as %5D
if your tooling doesn't automatically encode URLs. If neither pagination query parameters are provided, the endpoint will not be paginated and will return all results.
Parameter | Description |
---|---|
page[number] | Optional. If omitted, the endpoint will return the first page. |
page[size] | Optional. If omitted, the endpoint will return 20 organization feature sets per page. |
Sample Request
Sample Response