- Terraform Enterprise
- 1.1.x (latest)
- 1.0.x
- v202506-1
- v202505-1
- v202504-1
- v202503-1
- v202502-2
- v202502-1
- v202501-1
- v202411-2
- v202411-1
- v202410-1
- v202409-3
- v202409-2
- v202409-1
- v202408-1
- No versions of this document exist before v202408-1. Click below to redirect to the version homepage.
- v202407-1
- v202406-1
- v202405-1
- v202404-2
- v202404-1
- v202402-2
- v202402-1
- v202401-2
- v202401-1
- v202312-1
- v202311-1
- v202310-1
- v202309-1
- v202308-1
- v202307-1
- v202306-1
- v202305-2
- v202305-1
- v202304-1
- v202303-1
- v202302-1
- v202301-2
- v202301-1
- v202212-2
- v202212-1
- v202211-1
- v202210-1
- v202209-2
- v202209-1
- v202208-3
- v202208-2
- v202208-1
- v202207-2
- v202207-1
- v202206-1
API Changelog
Keep track of changes to the API for HCP Terraform and Terraform Enterprise.
2025-05-1
- Add
agent-poolrelationship to therun task API, which you can use to assign a run task to an agent pool. - You can now revoke, and revert the revocation of, module versions. Learn more aboutManaging module versions.
2025-4-17
- Document inherited-from link associated with effective tag bindings.
2025-03-20
- Add API documentation for multipleteam tokens, and update documentation aroundlegacy team tokens.
- Update existing API documentation forteam tokens to distinguish multiple team tokens fromlegacy team tokens.
2025-3-10
- Document unique pagination metadata given in the response ofOrganization Runs Index API.
2024-11-19
- Clarify
tag-bindingsandeffective-tag-bindingsonworkspaces andprojects - Adds new documentation for
PATCHing tag bindings onprojects andworkspaces
2024-10-15
- Add new documentation for the ability to deprecate, and revert the deprecation of, module versions. Learn more aboutManaging module versions.
2024-10-14
- Update theOrganizations API to support the
speculative-plan-management-enabledattribute, which controlsautomatic cancellation of plan-only runs triggered by outdated commits.
2024-10-11
- Add documentation for new timeframe filter on List endpoints forRuns API
2024-09-02
- Add warning about the deprecation and future removal of thePolicy Checks API.
2024-08-16
- Fixes Workspace API responses to be consistent and contain all attributes and relationships.
2024-08-14
- Add documentation for a new API endpoint that lists anorganization's team tokens.
2024-08-01
Enterprise
This endpoint is exclusive to Terraform Enterprise, and not available in HCP Terraform.
- Update theadmin settings API andadmin organizations API to indicate that the
terraform-build-worker-plan-timeoutandterraform-build-worker-apply-timeoutattributes are deprecated and will be replaced byplan-timeoutandapply-timeout, respectively.
2024-07-15
- Update theTeam API to include
allow-member-token-management.
2024-06-25
- Add API documentation for newteam token management setting.
- Update API documentation for themanage teams permission.
2024-05-29
- Add API documentation for the newaudit trails token.
2024-05-23
- Update theregistry modules API for publishing new versions of branch based modules.
2024-05-10
- Add API documentation for newmanage agent pools permission.
2024-04-25
- Project names can now be up to 40 characters.
2024-04-08
- Add API documentation for newteam management permissions.
2024-04-04
- Add a
sortparameter to theProjects list API to allow sorting projects by name. - Add a
descriptionattribute to theProjects API. - Add
project-countandworkspace-countattributes to sampleProjects API responses.
2024-3-27
- Add
private-vcstoFeature Entitlements.
2024-3-26
- Add API documentation for searchingvariable sets by name.
2024-3-14
- Add documentation for creating runs with debugging mode enabled.
2024-3-12
- Update OAuth Client API endpoints to create, update, and return projects associated with an oauth client.
- Add API endpoints toAttach an OAuth Client andDetach an OAuth Client from a project.
- Add
organization-scopedattribute to theOAuth Clients API.
2024-2-29
- Updaterun task stages with new multi-stage payload format.
- Updaterun tasks with global run tasks request/response payloads.
2024-2-27
- Add
private-policy-agentstoFeature Entitlements.
2024-2-20
- Add documentation for configuring organization and workspace data retention policies through the API and on the differenttypes of data retention policies.
2024-1-30
- Update theAudit trails documentation to expand on the payloads for each event.
2024-1-24
- Introduce configurable data retention policies at the site-wide level and extend data retention policies at the organization and workspace levels.
- Added and/or updated data retention policy documentation to the following topics:
2024-1-4
- Update theOrganizations API to support the
aggregated-commit-status-enabledattribute, which controls whetherAggregated Status Checks are enabled.
2023-11-17
- Added the
opa-versionsendpoint to allow administrators to manage available Open Policy Agent (OPA) versions. - Added the
sentinel-versionsendpoint to allow administrators to manage available Sentinel versions. - Add
authenticated-resourcerelationship to theaccountAPI.
2023-11-15
- Introduce configurable data retention policies at theorganization andworkspace levels.
- Added data retention policy documentation to the following topics:
2023-11-07
- Add
auto_destroy_activity_durationto theWorkspaces API, which allows Terraform Cloud to schedule auto-destroy runsbased on workspace inactivity.
2023-10-31
- Update theWorkspaces API to support the
auto-apply-run-triggerattribute, which controls if run trigger runs are auto-applied.
2023-10-30
- Add
priorityattribute to theVariable Sets API.
2023-10-04
- Updates torun task integration API
- Fix invalid JSON in the example payload.
- Clarify the expected JSON:API payload fields.
- Add
policy-tool-versionattribute toPolicy Set Outcomes.
2023-10-03
- UpdatePolicy Sets API to include
agent-enabledandpolicy-tool-version. - UpdatePolicy Evaluations API to include
policy-tool-version.
2023-09-29
- Add support forstreamlined run task reviews, enabling run task integrations to return high fidelity results.
- Update theTerraform cloud run task API to enable streamlined run task reviews.
- Therun task integration API now guides integrations through sending rich results.
- Updated the run task payloadJSON schema.
2023-09-25
- Add
intermediateboolean attribute to theState Versions API.
2023-09-19
- Addfailed state upload recovery endpoint.
2023-09-15
- Add
auto-destroy-atattribute to theWorkspaces API. - Update theNotification Configurations API to includeautomatic destroy run details.
2023-09-08
- Update theOrganizations API to include
default-execution-modeanddefault-agent-pool. - Update theWorkspaces API to add a
setting-overwritesobject to allow you to overwritedefault-execution-modeanddefault-agent-pool.
2023-09-06
- Update Policy Sets API endpoints to create, update, and return excluded workspaces associated with a policy set.
- Add API endpoints toAttach a Policy Set andDetach a Policy Set from excluded workspaces.
2023-08-21
- Add
save-planattribute,planned_and_savedstatus, andsave_planoperation type toRuns endpoints.
2023-08-10
- Add
provisionaltoconfiguration-versionsendpoint.
2023-07-26
- Add support for a
customoption to theteam_projectaccess level along with various customizable permissions. Theproject-accesspermissions apply to the project itself, andworkspace-accesspermissions apply to all workspaces within the project. For more information, seeProject Team Access.
2023-06-09
- Introduce support for
importblocks. - The workspaces associated with a policy set can now be updated using thePolicy Sets PATCH endpoint
- Update theWorkspaces API endpoints to include the associatedproject.
2023-05-25
- Terraform Cloud sets the
configuration_version_download_url,configuration_version_id, andworkspace_working_directoryproperties for all stages of theRun Task Request. - Add the new
enforcement-levelproperty in the request and response ofPolicies endpoints. - Deprecate the old
enforceproperty in the request and response ofPolicies endpoints. - Add new properties to limit run tasks and policies for the Terraform Cloud free tier. We updated theentitlement set,feature set, andsubscription endpoints with the following properties:
2023-04-25
- Add the
version-idproperty to the response for the Create, List, and UpdateWorkspace Variables endpoints.
2023-03-30
- Add the
sortquery parameter to the Workspaces API'slist workspaces endpoint.
2023-03-24
- Update theVariable Sets API endpoints to include assigning variable sets to projects.
2023-03-20
- Add a names filter to theProjects list API to allow fetching a list of projects by name.
2023-03-13
- UpdateProject Team Access API to include additional Project roles.
- UpdatePermissions to reflect the decoupling of projects and workspaces in the Organization Permissions UI.
2023-03-08
- Introduced theGitHub App Installation APIs.
- UpdatedWorkspaces API to accept
vcs-repo.github-app-installation-idto connect a workspace to a GitHub App Installation. - UpdatedRegistry Module API to accept
vcs-repo.github-app-installation-idto connect to a GitHub App Installation. - UpdatedPolicy Sets API to accept
vcs-repo.github-app-installation-idto connect to a GitHub App Installation.
2023-02-16
- Add
manage-membershipto the organization access settings of theTeam API.
2023-02-03
- Updated theList Runs API to note that the filter query parameters accept comma-separated lists.
2023-01-18
- Updated theTeam API to include the
read-workspacesandread-projectspermissions which grants teams view access to workspaces and projects.
2023-01-17
- AddProjects API for creating, updating and deleting projects.
- AddProject Team Access API for managing access for teams to individual projects.
- UpdateWorkspaces API to include examples of creating a workspace in a project and moving a workspace between projects.
- UpdateList Teams API to accept a search parameter
q, so that teams can be searched by name.
2023-01-12
- Added new rollback to previous state endpoint toState Versions API
2022-12-22
- UpdatedSafe Delete a workspace to fix HTTP verb as
POST.
2022-11-18
- UpdatePolicies API to fix policy enforcement level defaults. Enforcement level is a required field, so no defaults are available.
2022-11-03
- UpdatePolicy Checks to fix policy set outcome return data type.
2022-10-17
- Updated theOrganizations API with the
allow-force-delete-workspaces, which controls whether workspace administrators can delete workspaces with resources under management. - Updated theWorkspaces API with a safe delete endpoint that guards against deleting workspaces that are managing resources.
2022-10-12
- UpdatePolicy Checks with result counts and support for filtering policy set outcomes.
- UpdateTeam Membership API to include adding and removing users from teams using organization membership ID.
2022-09-21
- UpdateState Versions with optional
json-state-outputsandjson-stateattributes, which are base-64 encoded external JSON representations of the terraform state. The read-onlyhosted-json-state-download-urlattribute links to this version of the state file when available. - UpdateState Version Outputs with a
detailed-typeattribute, which refines the output with the precise Terraform type.
2022-07-26
- Updated theRun status list with
fetching,queuing,pre_plan_runningandpre_plan_completed - UpdateRun Tasks to include the new
stagesattribute when attaching or updating workspace tasks. - UpdatedRun Tasks Integration to specify the different request payloads for different stages.
2022-06-23
- Added new query parameter(s) toList Runs endpoint.
2022-06-21
- UpdatedAdmin Organizations endpoints with new
workspace-limitsetting. This is available in Terraform Enterprise v202207-1 and later. - UpdatedList Agent Pools to accept a filter parameter
filter[allowed_workspaces][name]so that agent pools can be filtered by name of an associated workspace. The given workspace must be allowed to use the agent pool. Refer toScoping Agent Pools to Specific Workspaces. - Added new
organization-scopedattribute andallowed-workspacesrelationship to the request/response body of the below endpoints. This is available in Terraform Enterprise v202207-1 and later.
2022-06-17
- UpdatedCreating a Run Task section to include the new description information for the run task to be configured.
- UpdateRun Tasks to include the new description attribute.
2022-06-09
- UpdatedList Agent Pools to accept a search parameter
q, so that agent pools can be searched byname. This is available in Terraform Enterprise v202207-1 and later. - FixedList Workspaces to add missing
search[tags]query parameter. - UpdatedList Workspaces to add new
search[exclude_tags]query parameter. This is available in Terraform Enterprise v202207-1 and later.
2022-05-11
- Updated Run Tasks permission to the following endpoints:
2022-05-04
- UpdatedFeature Sets to add new
run-tasksattribute.
2022-05-03
- Added Run Tasks permission to the following endpoints:
2022-04-29
- UpdatedRun Tasks Integration to specify the allowed
statusattribute values. - UpdatedOrganization Memberships to add new
filter[email]query parameter. - UpdatedTeams to add new
filter[names]query parameter.
2022-04-04
- Added theRun Tasks Integration endpoint.
2022-03-14
- Added theDownload Configuration Files endpoints.
2022-03-11
- IntroducedArchiving Configuration Versions.
- UpdatedConfiguration Versions to add new
fetchingandarchivedstates. - UpdatedRuns to add new
fetchingstate. - Added theArchive a Configuration Version endpoint.
- UpdatedConfiguration Versions to add new
2022-02-25
- UpdatedWorkspace Run Tasks to add new
enabledattribute.
2022-02-28
- Introduced theRegistry Providers endpoints to manage private providers for a private registry.
2021-12-09
- Added
variablesfield for POST /runs and the run resource, enabling run-specific variable values.
2021-12-03
- OAuth API updated to handle
secretandrsa_public_keyfields for POST/PUT.
2021-11-17
- Added pagination support to the following endpoints:
- Feature Sets -
GET /feature-sets - Notification Configurations -
GET /workspaces/:workspace_id/notification-configurations - Oauth Clients -
GET /organizations/:organization_name/oauth-clients - Oauth Tokens -
GET /oauth-clients/:oauth_client_id/oauth-tokens - Organization Feature Sets -
GET /organizations/:organization_name/feature-sets - Organizations -
GET /organizations - Policy Checks -
GET /runs/:run_id/policy-checks - Policy Set Parameters -
GET /policy-sets/:policy_set_id/parameters - SSH Keys -
GET /organizations/:organization_name/ssh-keys - User Tokens -
GET /users/:user_id/authentication-tokens
- Feature Sets -
2021-11-11
- Introduced theVariable Sets endpoints for viewing and administering Variable Sets
2021-11-18
- Introduced theRegistry Providers endpoint to manage public providers for aprivate registry. These endpoints will be available in the following Terraform Enterprise Release:
v202112-1
2021-09-12
- AddedRun Tasks Stages and Results endpoint.
2021-08-18
- Introduced theState Version Outputs endpoint to retrieve the Outputs for agiven State Version
2021-08-11
- BREAKING CHANGE: Security fix toConfiguration versions: upload-url attribute foruploading configuration files is now only available on the create response.
2021-07-30
- Introduced Workspace Tagging
- UpdatedWorkspaces:
- added
tag-namesattribute. - added
POST /workspaces/:workspace_id/relationships/tags - added
DELETE /workspaces/:workspace_id/relationships/tags
- added
- AddedOrganization Tags.
- Added
tagsattribute totfrun
- UpdatedWorkspaces:
2021-07-19
- Notification configurations: Gave organization tokens permission to create and manage notification configurations.
2021-07-09
- State versions: Fixed the ID format for the workspace relationship of a state version. Previously, the reported ID was unusable due to a bug.
- Workspaces: Added
locked_byas an includable related resource. - AddedRun Tasks API endpoint.
2021-06-8
- UpdatedRegistry Module APIs.
- added
registry_namescoped APIs. - added
organization_namescoped APIs. - addedModule List API.
- updatedModule Delete APIs (see deprecation note below).
- CLOUD: added public registry module related APIs.
- added
- DEPRECATION: The followingRegistry Module APIs have been replaced with newer apis and will be removed in the future.
- The following endpoints to delete modules are replaced withModule Delete APIs
POST /registry-modules/actions/delete/:organization_name/:name/:provider/:versionreplaced withDELETE /organizations/:organization_name/registry-modules/:registry_name/:namespace/:name/:provider/:versionPOST /registry-modules/actions/delete/:organization_name/:name/:providerreplaced withDELETE /organizations/:organization_name/registry-modules/:registry_name/:namespace/:name/:providerPOST /registry-modules/actions/delete/:organization_name/:namereplaced withDELETE /organizations/:organization_name/registry-modules/:registry_name/:namespace/:name
POST /registry-modulesreplaced withPOST /organizations/:organization_name/registry-modules/vcsPOST /registry-modules/:organization_name/:name/:provider/versionsreplaced withPOST /organizations/:organization_name/registry-modules/:registry_name/:namespace/:name/:provider/versionsGET /registry-modules/show/:organization_name/:name/:providerreplaced withGET /organizations/:organization_name/registry-modules/:registry_name/:namespace/:name/:provider
- The following endpoints to delete modules are replaced withModule Delete APIs
2021-05-27
- CLOUD:Agents: addeddelete endpoint.
2021-05-19
- Runs: added
refresh,refresh-only, andreplace-addrsattributes.
2021-04-16
- IntroducedControlled Remote State Access.
- Admin Settings: added
default-remote-state-accessattribute. - Workspaces:
- added
global-remote-stateattribute. - addedRemote State Consumers relationship.
- added
- Admin Settings: added
2021-04-13
- Teams: added
manage-policy-overridesproperty to theorganization-accessattribute.
2021-03-23
- ENTERPRISE:
v202103-1IntroducedShare Modules Across Organizations with Terraform Enterprise.- Admin Organizations:
- added new query parameters toList all Organizations endpoint
- added module-consumers link in
relationshipsresponse - addedupdate module consumers endpoint
- addedlist module consumers endpoint
- Organizations: addedModule Producers
- DEPRECATION:Admin Module Sharing: is replaced with a new JSON::Api compliantendpoint
- Admin Organizations:
2021-03-18
- CLOUD: IntroducedNew Workspace Overview for Terraform Cloud.
- Workspaces:
- added
resource-countandupdated-atattributes. - addedperformance attributes (
apply-duration-average,plan-duration-average,policy-check-failures,run-failures,workspaces-kpis-run-count). - added
readmeandoutputsrelated resources.
- added
- Team Access: updated to support pagination.
- Workspaces:
2021-03-11
- AddedVCS Events, limited to GitLab.com connections.
2021-03-08
- Workspaces: added
current_configuration_versionandcurrent_configuration_version.ingress_attributesas includable related resources.