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/templateGenerates a Pulumi template using the Pulumi AI service.
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