Terraform · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for HCP Terraform Workspaces API

8 actions 8 updates phrasing extends openapi/terraform-workspaces-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Terraform's API. It is a proposal applied on top of the contract, not a document Terraform publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/organizations/{organization_name}/workspaces'].get
$.paths['/organizations/{organization_name}/workspaces'].post
$.paths['/workspaces/{workspace_id}'].get
$.paths['/workspaces/{workspace_id}'].delete
$.paths['/workspaces/{workspace_id}'].patch
$.paths['/workspaces/{workspace_id}/actions/lock'].post
$.paths['/workspaces/{workspace_id}/actions/unlock'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for HCP Terraform Workspaces API
  version: 1.0.0
extends: openapi/terraform-workspaces-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-19'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 7
- target: $.paths['/organizations/{organization_name}/workspaces'].get
  update:
    x-apievangelist-phrasing:
      intent: List workspaces in an organization
      effect: read
      questions:
      - Which Terraform workspaces exist in my organization?
      - Can I filter workspaces by name or tag?
      instructions:
      - text: List workspaces in {organization_name}.
        slots:
          organization_name: path.organization_name
      - text: Find workspaces in {organization_name} tagged {tags}.
        slots:
          organization_name: path.organization_name
          tags: query.search[tags]
      method: generated
      generated: '2026-11-19'
- target: $.paths['/organizations/{organization_name}/workspaces'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a workspace
      effect: write
      questions:
      - How do I create a new Terraform workspace?
      - What do I need to provide to create a workspace?
      instructions:
      - text: Create a workspace in {organization_name} with {workspace}.
        slots:
          organization_name: path.organization_name
          workspace: requestBody.data
      - text: Add a new workspace to {organization_name} using {workspace}.
        slots:
          organization_name: path.organization_name
          workspace: requestBody.data
      method: generated
      generated: '2026-11-19'
- target: $.paths['/workspaces/{workspace_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a workspace
      effect: read
      questions:
      - What are the settings of one workspace?
      - Can I look up a workspace by its ID?
      instructions:
      - text: Show workspace {workspace_id}.
        slots:
          workspace_id: path.workspace_id
      - text: Get the details of workspace {workspace_id}.
        slots:
          workspace_id: path.workspace_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/workspaces/{workspace_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Destroy a workspace and its contents
      effect: destructive
      questions:
      - How do I permanently delete a workspace?
      - Does destroying a workspace also remove its runs and state?
      instructions:
      - text: Destroy workspace {workspace_id}.
        slots:
          workspace_id: path.workspace_id
      - text: Permanently delete workspace {workspace_id} and everything in it.
        slots:
          workspace_id: path.workspace_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/workspaces/{workspace_id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a workspace's settings
      effect: write
      questions:
      - Can I change the settings of an existing workspace?
      - How do I update an existing workspace?
      instructions:
      - text: Update workspace {workspace_id} with {changes}.
        slots:
          workspace_id: path.workspace_id
          changes: requestBody.data
      - text: Change the settings of existing workspace {workspace_id}.
        slots:
          workspace_id: path.workspace_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/workspaces/{workspace_id}/actions/lock'].post
  update:
    x-apievangelist-phrasing:
      intent: Lock a workspace to prevent runs
      effect: write
      questions:
      - How do I stop runs from running in a workspace?
      - Can I lock a workspace with a reason?
      instructions:
      - text: Lock workspace {workspace_id}.
        slots:
          workspace_id: path.workspace_id
      - text: Lock workspace {workspace_id} because {reason}.
        slots:
          workspace_id: path.workspace_id
          reason: requestBody.reason
      method: generated
      generated: '2026-11-19'
- target: $.paths['/workspaces/{workspace_id}/actions/unlock'].post
  update:
    x-apievangelist-phrasing:
      intent: Unlock a locked workspace
      effect: write
      questions:
      - How do I allow runs to run in a locked workspace again?
      - Can I unlock a workspace?
      instructions:
      - text: Unlock workspace {workspace_id}.
        slots:
          workspace_id: path.workspace_id
      - text: Allow runs in workspace {workspace_id} again.
        slots:
          workspace_id: path.workspace_id
      method: generated
      generated: '2026-11-19'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/terraform-workspaces-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.