# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand. overlay: 1.0.0 info: title: API Evangelist conversational phrasing for Harness Account Infrastructures API version: 1.0.0 extends: openapi/harness-account-infrastructures-api-openapi.yml actions: - target: $.info update: x-apievangelist-phrasing: method: generated generated: '2026-09-26' generator: build-phrasing.py label: Generated by API Evangelist operations: 5 - target: $.paths['/v1/environments/{environment}/infrastructures'].get update: x-apievangelist-phrasing: intent: List infrastructures in an account environment effect: read questions: - Which infrastructure definitions exist in an account-level environment? - Can I filter account infrastructures by deployment type? instructions: - text: List infrastructures in account environment {environment}. slots: environment: path.environment - text: Search account environment {environment} infrastructures for {term}. slots: environment: path.environment term: query.search_term method: generated generated: '2026-09-26' - target: $.paths['/v1/environments/{environment}/infrastructures'].post update: x-apievangelist-phrasing: intent: Create an infrastructure in an account environment effect: write questions: - How do I add an infrastructure definition to an account-level environment? - What YAML and type does a new account infrastructure need? instructions: - text: Create infrastructure {name} of type {type} in account environment {environment}. slots: name: requestBody.name type: requestBody.type environment: path.environment - text: Add account infrastructure {identifier} to environment {environment} from YAML {yaml}. slots: identifier: requestBody.identifier environment: path.environment yaml: requestBody.yaml method: generated generated: '2026-09-26' - target: $.paths['/v1/environments/{environment}/infrastructures/{infrastructure-definition}'].get update: x-apievangelist-phrasing: intent: Get an account-level infrastructure definition effect: read questions: - Can I see the YAML of one infrastructure in an account-level environment? - What deployment type does a given account infrastructure use? instructions: - text: Get infrastructure {infra} in account environment {environment}. slots: infra: path.infrastructure-definition environment: path.environment - text: Show account infrastructure {infra}. slots: infra: path.infrastructure-definition method: generated generated: '2026-09-26' - target: $.paths['/v1/environments/{environment}/infrastructures/{infrastructure-definition}'].put update: x-apievangelist-phrasing: intent: Update an account-level infrastructure definition effect: write questions: - Can I change the YAML of an account-level infrastructure? - Is it possible to rename an infrastructure in an account environment? instructions: - text: Update infrastructure {infra} in account environment {environment} with YAML {yaml}. slots: infra: path.infrastructure-definition environment: path.environment yaml: requestBody.yaml - text: Rename account infrastructure {infra} to {name}. slots: infra: path.infrastructure-definition name: requestBody.name method: generated generated: '2026-09-26' - target: $.paths['/v1/environments/{environment}/infrastructures/{infrastructure-definition}'].delete update: x-apievangelist-phrasing: intent: Delete an account-level infrastructure effect: destructive questions: - How do I delete an infrastructure from an account environment? - Can I force-delete an account infrastructure? instructions: - text: Delete infrastructure {infra} from account environment {environment}. slots: infra: path.infrastructure-definition environment: path.environment - text: Force-delete account infrastructure {infra} with force set to {force}. slots: infra: path.infrastructure-definition force: query.forceDelete method: generated generated: '2026-09-26'