AI
The AI API exposes AI-assisted capabilities in Pulumi Cloud. Today the surface focuses on generating Pulumi project templates from natural-language prompts.
AI Template
Deprecated.
POST
/api/ai/templateRetired. The Pulumi AI project-generation service has been shut down, and this endpoint always returns 410 Gone. Use Pulumi Neo (https://www.pulumi.com/product/neo/) instead.
Request Body
Schema: AITemplateRequest
languagestring requiredThe programming language for the generated template (e.g. ’typescript’, ‘python’, ‘go’).instructionsstring requiredNatural language instructions describing the desired infrastructure.conversationIdstring optionalOptional identifier to continue an existing AI conversation.connectionIdstring optionalOptional identifier for the connection/session.
Responses
200
OK
Errors:
410 Pulumi AI project generation has been retired