1. Registry
  2. Packages
  3. OpenAI
  4. API Docs
  5. OneTimeAutomation
Viewing docs for OpenAI v0.3.1
published on Monday, Nov 23, 2026 by Pulumi Labs
OpenAI
Viewing docs for OpenAI v0.3.1
published on Monday, Nov 23, 2026 by Pulumi Labs

    A schedule that runs an agent once, at a given time. The invocation starts a new session.

    This resource uses the beta Agents API.

    Create OneTimeAutomation Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new OneTimeAutomation(name: string, args: OneTimeAutomationArgs, opts?: CustomResourceOptions);
    @overload
    def OneTimeAutomation(resource_name: str,
                          args: OneTimeAutomationArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def OneTimeAutomation(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          name: Optional[str] = None,
                          run_at: Optional[int] = None,
                          target: Optional[AutomationTargetArgs] = None,
                          metadata: Optional[Mapping[str, str]] = None)
    func NewOneTimeAutomation(ctx *Context, name string, args OneTimeAutomationArgs, opts ...ResourceOption) (*OneTimeAutomation, error)
    public OneTimeAutomation(string name, OneTimeAutomationArgs args, CustomResourceOptions? opts = null)
    public OneTimeAutomation(String name, OneTimeAutomationArgs args)
    public OneTimeAutomation(String name, OneTimeAutomationArgs args, CustomResourceOptions options)
    
    type: openai:OneTimeAutomation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "openai_one_time_automation" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args OneTimeAutomationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args OneTimeAutomationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args OneTimeAutomationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OneTimeAutomationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OneTimeAutomationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var oneTimeAutomationResource = new Openai.OneTimeAutomation("oneTimeAutomationResource", new()
    {
        Name = "string",
        RunAt = 0,
        Target = new Openai.Inputs.AutomationTargetArgs
        {
            AgentId = "string",
            Environment = new Openai.Inputs.EnvironmentConfigArgs
            {
                Type = Openai.EnvironmentType.None,
                Files = new[]
                {
                    new Openai.Inputs.EnvironmentFileArgs
                    {
                        Path = "string",
                        Type = Openai.EnvironmentFileType.FileID,
                        Data = "string",
                        FileId = "string",
                    },
                },
                Desktop = new Openai.Inputs.EnvironmentDesktopArgs
                {
                    Enabled = false,
                },
                Env = 
                {
                    { "string", "string" },
                },
                EnvironmentId = "string",
                EnvironmentTemplateId = "string",
                CapabilityDirectories = new[]
                {
                    "string",
                },
                Network = new Openai.Inputs.EnvironmentNetworkArgs
                {
                    Access = Openai.NetworkAccess.Enabled,
                    AllowedDomains = new[]
                    {
                        "string",
                    },
                    BlockedDomains = new[]
                    {
                        "string",
                    },
                },
                Packages = new Openai.Inputs.EnvironmentPackagesArgs
                {
                    Npm = new[]
                    {
                        "string",
                    },
                    Python = new[]
                    {
                        "string",
                    },
                    System = new[]
                    {
                        "string",
                    },
                },
                Plugins = new[]
                {
                    new Openai.Inputs.EnvironmentPluginArgs
                    {
                        Description = "string",
                        Name = "string",
                        Source = "string",
                    },
                },
                SetupCommands = new[]
                {
                    new Openai.Inputs.EnvironmentSetupCommandArgs
                    {
                        Command = "string",
                        Cwd = "string",
                    },
                },
                Skills = new[]
                {
                    new Openai.Inputs.EnvironmentSkillArgs
                    {
                        Type = Openai.EnvironmentSkillType.SkillReference,
                        Description = "string",
                        Name = "string",
                        SkillId = "string",
                        Source = "string",
                        Version = "string",
                    },
                },
                ContainerSize = Openai.ContainerSize.Small,
                WorkspaceDirectory = "string",
            },
            Input = new[]
            {
                new Openai.Inputs.InputMessageArgs
                {
                    Content = new[]
                    {
                        new Openai.Inputs.InputContentArgs
                        {
                            Type = Openai.InputContentType.InputText,
                            ImageUrl = "string",
                            Text = "string",
                        },
                    },
                },
            },
            Metadata = 
            {
                { "string", "string" },
            },
            VaultIds = new[]
            {
                "string",
            },
        },
        Metadata = 
        {
            { "string", "string" },
        },
    });
    
    example, err := openai.NewOneTimeAutomation(ctx, "oneTimeAutomationResource", &openai.OneTimeAutomationArgs{
    	Name:  pulumi.String("string"),
    	RunAt: pulumi.Int(0),
    	Target: &pulumiopenai.AutomationTargetArgs{
    		AgentId: pulumi.String("string"),
    		Environment: &pulumiopenai.EnvironmentConfigArgs{
    			Type: openai.EnvironmentTypeNone,
    			Files: pulumiopenai.EnvironmentFileArray{
    				&pulumiopenai.EnvironmentFileArgs{
    					Path:   pulumi.String("string"),
    					Type:   openai.EnvironmentFileTypeFileID,
    					Data:   pulumi.String("string"),
    					FileId: pulumi.String("string"),
    				},
    			},
    			Desktop: &pulumiopenai.EnvironmentDesktopArgs{
    				Enabled: pulumi.Bool(false),
    			},
    			Env: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			EnvironmentId:         pulumi.String("string"),
    			EnvironmentTemplateId: pulumi.String("string"),
    			CapabilityDirectories: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Network: &pulumiopenai.EnvironmentNetworkArgs{
    				Access: openai.NetworkAccessEnabled,
    				AllowedDomains: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				BlockedDomains: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    			Packages: &pulumiopenai.EnvironmentPackagesArgs{
    				Npm: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Python: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				System: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    			Plugins: pulumiopenai.EnvironmentPluginArray{
    				&pulumiopenai.EnvironmentPluginArgs{
    					Description: pulumi.String("string"),
    					Name:        pulumi.String("string"),
    					Source:      pulumi.String("string"),
    				},
    			},
    			SetupCommands: pulumiopenai.EnvironmentSetupCommandArray{
    				&pulumiopenai.EnvironmentSetupCommandArgs{
    					Command: pulumi.String("string"),
    					Cwd:     pulumi.String("string"),
    				},
    			},
    			Skills: pulumiopenai.EnvironmentSkillArray{
    				&pulumiopenai.EnvironmentSkillArgs{
    					Type:        openai.EnvironmentSkillTypeSkillReference,
    					Description: pulumi.String("string"),
    					Name:        pulumi.String("string"),
    					SkillId:     pulumi.String("string"),
    					Source:      pulumi.String("string"),
    					Version:     pulumi.String("string"),
    				},
    			},
    			ContainerSize:      openai.ContainerSizeSmall,
    			WorkspaceDirectory: pulumi.String("string"),
    		},
    		Input: pulumiopenai.InputMessageArray{
    			&pulumiopenai.InputMessageArgs{
    				Content: pulumiopenai.InputContentArray{
    					&pulumiopenai.InputContentArgs{
    						Type:     openai.InputContentTypeInputText,
    						ImageUrl: pulumi.String("string"),
    						Text:     pulumi.String("string"),
    					},
    				},
    			},
    		},
    		Metadata: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    		VaultIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	Metadata: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    resource "openai_one_time_automation" "oneTimeAutomationResource" {
      lifecycle {
        create_before_destroy = true
      }
      name   = "string"
      run_at = 0
      target = {
        agent_id = "string"
        environment = {
          type = "none"
          files = [{
            path    = "string"
            type    = "file_id"
            data    = "string"
            file_id = "string"
          }]
          desktop = {
            enabled = false
          }
          env = {
            "string" = "string"
          }
          environment_id          = "string"
          environment_template_id = "string"
          capability_directories  = ["string"]
          network = {
            access          = "enabled"
            allowed_domains = ["string"]
            blocked_domains = ["string"]
          }
          packages = {
            npm    = ["string"]
            python = ["string"]
            system = ["string"]
          }
          plugins = [{
            description = "string"
            name        = "string"
            source      = "string"
          }]
          setup_commands = [{
            command = "string"
            cwd     = "string"
          }]
          skills = [{
            type        = "skill_reference"
            description = "string"
            name        = "string"
            skill_id    = "string"
            source      = "string"
            version     = "string"
          }]
          container_size      = "small"
          workspace_directory = "string"
        }
        input = [{
          content = [{
            type      = "input_text"
            image_url = "string"
            text      = "string"
          }]
        }]
        metadata = {
          "string" = "string"
        }
        vault_ids = ["string"]
      }
      metadata = {
        "string" = "string"
      }
    }
    
    var oneTimeAutomationResource = new OneTimeAutomation("oneTimeAutomationResource", OneTimeAutomationArgs.builder()
        .name("string")
        .runAt(0)
        .target(AutomationTargetArgs.builder()
            .agentId("string")
            .environment(EnvironmentConfigArgs.builder()
                .type(com.pulumi.openai.enums.EnvironmentType.None)
                .files(EnvironmentFileArgs.builder()
                    .path("string")
                    .type(com.pulumi.openai.enums.EnvironmentFileType.FileID)
                    .data("string")
                    .fileId("string")
                    .build())
                .desktop(EnvironmentDesktopArgs.builder()
                    .enabled(false)
                    .build())
                .env(Map.of("string", "string"))
                .environmentId("string")
                .environmentTemplateId("string")
                .capabilityDirectories("string")
                .network(EnvironmentNetworkArgs.builder()
                    .access(com.pulumi.openai.enums.NetworkAccess.Enabled)
                    .allowedDomains("string")
                    .blockedDomains("string")
                    .build())
                .packages(EnvironmentPackagesArgs.builder()
                    .npm("string")
                    .python("string")
                    .system("string")
                    .build())
                .plugins(EnvironmentPluginArgs.builder()
                    .description("string")
                    .name("string")
                    .source("string")
                    .build())
                .setupCommands(EnvironmentSetupCommandArgs.builder()
                    .command("string")
                    .cwd("string")
                    .build())
                .skills(EnvironmentSkillArgs.builder()
                    .type(com.pulumi.openai.enums.EnvironmentSkillType.SkillReference)
                    .description("string")
                    .name("string")
                    .skillId("string")
                    .source("string")
                    .version("string")
                    .build())
                .containerSize(com.pulumi.openai.enums.ContainerSize.Small)
                .workspaceDirectory("string")
                .build())
            .input(InputMessageArgs.builder()
                .content(InputContentArgs.builder()
                    .type(com.pulumi.openai.enums.InputContentType.InputText)
                    .imageUrl("string")
                    .text("string")
                    .build())
                .build())
            .metadata(Map.of("string", "string"))
            .vaultIds("string")
            .build())
        .metadata(Map.of("string", "string"))
        .build());
    
    one_time_automation_resource = openai.OneTimeAutomation("oneTimeAutomationResource",
        name="string",
        run_at=0,
        target={
            "agent_id": "string",
            "environment": {
                "type": openai.EnvironmentType.NONE,
                "files": [{
                    "path": "string",
                    "type": openai.EnvironmentFileType.FILE_ID,
                    "data": "string",
                    "file_id": "string",
                }],
                "desktop": {
                    "enabled": False,
                },
                "env": {
                    "string": "string",
                },
                "environment_id": "string",
                "environment_template_id": "string",
                "capability_directories": ["string"],
                "network": {
                    "access": openai.NetworkAccess.ENABLED,
                    "allowed_domains": ["string"],
                    "blocked_domains": ["string"],
                },
                "packages": {
                    "npm": ["string"],
                    "python": ["string"],
                    "system": ["string"],
                },
                "plugins": [{
                    "description": "string",
                    "name": "string",
                    "source": "string",
                }],
                "setup_commands": [{
                    "command": "string",
                    "cwd": "string",
                }],
                "skills": [{
                    "type": openai.EnvironmentSkillType.SKILL_REFERENCE,
                    "description": "string",
                    "name": "string",
                    "skill_id": "string",
                    "source": "string",
                    "version": "string",
                }],
                "container_size": openai.ContainerSize.SMALL,
                "workspace_directory": "string",
            },
            "input": [{
                "content": [{
                    "type": openai.InputContentType.INPUT_TEXT,
                    "image_url": "string",
                    "text": "string",
                }],
            }],
            "metadata": {
                "string": "string",
            },
            "vault_ids": ["string"],
        },
        metadata={
            "string": "string",
        })
    
    const oneTimeAutomationResource = new openai.OneTimeAutomation("oneTimeAutomationResource", {
        name: "string",
        runAt: 0,
        target: {
            agentId: "string",
            environment: {
                type: openai.EnvironmentType.None,
                files: [{
                    path: "string",
                    type: openai.EnvironmentFileType.FileID,
                    data: "string",
                    fileId: "string",
                }],
                desktop: {
                    enabled: false,
                },
                env: {
                    string: "string",
                },
                environmentId: "string",
                environmentTemplateId: "string",
                capabilityDirectories: ["string"],
                network: {
                    access: openai.NetworkAccess.Enabled,
                    allowedDomains: ["string"],
                    blockedDomains: ["string"],
                },
                packages: {
                    npm: ["string"],
                    python: ["string"],
                    system: ["string"],
                },
                plugins: [{
                    description: "string",
                    name: "string",
                    source: "string",
                }],
                setupCommands: [{
                    command: "string",
                    cwd: "string",
                }],
                skills: [{
                    type: openai.EnvironmentSkillType.SkillReference,
                    description: "string",
                    name: "string",
                    skillId: "string",
                    source: "string",
                    version: "string",
                }],
                containerSize: openai.ContainerSize.Small,
                workspaceDirectory: "string",
            },
            input: [{
                content: [{
                    type: openai.InputContentType.InputText,
                    imageUrl: "string",
                    text: "string",
                }],
            }],
            metadata: {
                string: "string",
            },
            vaultIds: ["string"],
        },
        metadata: {
            string: "string",
        },
    });
    
    type: openai:OneTimeAutomation
    properties:
        metadata:
            string: string
        name: string
        runAt: 0
        target:
            agentId: string
            environment:
                capabilityDirectories:
                    - string
                containerSize: small
                desktop:
                    enabled: false
                env:
                    string: string
                environmentId: string
                environmentTemplateId: string
                files:
                    - data: string
                      fileId: string
                      path: string
                      type: file_id
                network:
                    access: enabled
                    allowedDomains:
                        - string
                    blockedDomains:
                        - string
                packages:
                    npm:
                        - string
                    python:
                        - string
                    system:
                        - string
                plugins:
                    - description: string
                      name: string
                      source: string
                setupCommands:
                    - command: string
                      cwd: string
                skills:
                    - description: string
                      name: string
                      skillId: string
                      source: string
                      type: skill_reference
                      version: string
                type: none
                workspaceDirectory: string
            input:
                - content:
                    - imageUrl: string
                      text: string
                      type: input_text
            metadata:
                string: string
            vaultIds:
                - string
    

    OneTimeAutomation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The OneTimeAutomation resource accepts the following input properties:

    Name string
    A display name for the automation, up to 256 characters.
    RunAt int
    When the automation runs, as a Unix timestamp in seconds. It must be in the future, and can only be changed until the automation has run.
    Target Pulumi.Labs.Openai.Inputs.AutomationTarget
    What the automation does when it runs.
    Metadata Dictionary<string, string>
    Custom key-value pairs attached to the automation.
    Name string
    A display name for the automation, up to 256 characters.
    RunAt int
    When the automation runs, as a Unix timestamp in seconds. It must be in the future, and can only be changed until the automation has run.
    Target AutomationTargetArgs
    What the automation does when it runs.
    Metadata map[string]string
    Custom key-value pairs attached to the automation.
    name string
    A display name for the automation, up to 256 characters.
    run_at number
    When the automation runs, as a Unix timestamp in seconds. It must be in the future, and can only be changed until the automation has run.
    target object
    What the automation does when it runs.
    metadata map(string)
    Custom key-value pairs attached to the automation.
    name String
    A display name for the automation, up to 256 characters.
    runAt Integer
    When the automation runs, as a Unix timestamp in seconds. It must be in the future, and can only be changed until the automation has run.
    target AutomationTarget
    What the automation does when it runs.
    metadata Map<String,String>
    Custom key-value pairs attached to the automation.
    name string
    A display name for the automation, up to 256 characters.
    runAt number
    When the automation runs, as a Unix timestamp in seconds. It must be in the future, and can only be changed until the automation has run.
    target AutomationTarget
    What the automation does when it runs.
    metadata {[key: string]: string}
    Custom key-value pairs attached to the automation.
    name str
    A display name for the automation, up to 256 characters.
    run_at int
    When the automation runs, as a Unix timestamp in seconds. It must be in the future, and can only be changed until the automation has run.
    target AutomationTargetArgs
    What the automation does when it runs.
    metadata Mapping[str, str]
    Custom key-value pairs attached to the automation.
    name String
    A display name for the automation, up to 256 characters.
    runAt Number
    When the automation runs, as a Unix timestamp in seconds. It must be in the future, and can only be changed until the automation has run.
    target Property Map
    What the automation does when it runs.
    metadata Map<String>
    Custom key-value pairs attached to the automation.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the OneTimeAutomation resource produces the following output properties:

    CreatedAt int
    When the automation was created, as a Unix timestamp in seconds.
    CreatedBy Pulumi.Labs.Openai.Outputs.AutomationCreatedBy
    Who created the automation.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the automation: active, paused, or, for a one-time automation whose schedule has finished, completed.
    CreatedAt int
    When the automation was created, as a Unix timestamp in seconds.
    CreatedBy AutomationCreatedBy
    Who created the automation.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the automation: active, paused, or, for a one-time automation whose schedule has finished, completed.
    created_at number
    When the automation was created, as a Unix timestamp in seconds.
    created_by object
    Who created the automation.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The status of the automation: active, paused, or, for a one-time automation whose schedule has finished, completed.
    createdAt Integer
    When the automation was created, as a Unix timestamp in seconds.
    createdBy AutomationCreatedBy
    Who created the automation.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the automation: active, paused, or, for a one-time automation whose schedule has finished, completed.
    createdAt number
    When the automation was created, as a Unix timestamp in seconds.
    createdBy AutomationCreatedBy
    Who created the automation.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The status of the automation: active, paused, or, for a one-time automation whose schedule has finished, completed.
    created_at int
    When the automation was created, as a Unix timestamp in seconds.
    created_by AutomationCreatedBy
    Who created the automation.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The status of the automation: active, paused, or, for a one-time automation whose schedule has finished, completed.
    createdAt Number
    When the automation was created, as a Unix timestamp in seconds.
    createdBy Property Map
    Who created the automation.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the automation: active, paused, or, for a one-time automation whose schedule has finished, completed.

    Look up Existing OneTimeAutomation Resource

    Get an existing OneTimeAutomation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): OneTimeAutomation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> OneTimeAutomation
    func GetOneTimeAutomation(ctx *Context, name string, id IDInput, state *OneTimeAutomationState, opts ...ResourceOption) (*OneTimeAutomation, error)
    public static OneTimeAutomation Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static OneTimeAutomation get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingOneTimeAutomation:    type: openai:OneTimeAutomation    get:      id: ${id}
    import {
      to = openai_one_time_automation.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state OneTimeAutomationState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    AutomationCreatedBy

    Type string
    Who created the automation: developer or agent.
    SessionId string
    For automations created by an agent, the session that created it.
    ToolCallId string
    For automations created by an agent, the tool call that created it.
    Type string
    Who created the automation: developer or agent.
    SessionId string
    For automations created by an agent, the session that created it.
    ToolCallId string
    For automations created by an agent, the tool call that created it.
    type string
    Who created the automation: developer or agent.
    session_id string
    For automations created by an agent, the session that created it.
    tool_call_id string
    For automations created by an agent, the tool call that created it.
    type String
    Who created the automation: developer or agent.
    sessionId String
    For automations created by an agent, the session that created it.
    toolCallId String
    For automations created by an agent, the tool call that created it.
    type string
    Who created the automation: developer or agent.
    sessionId string
    For automations created by an agent, the session that created it.
    toolCallId string
    For automations created by an agent, the tool call that created it.
    type str
    Who created the automation: developer or agent.
    session_id str
    For automations created by an agent, the session that created it.
    tool_call_id str
    For automations created by an agent, the tool call that created it.
    type String
    Who created the automation: developer or agent.
    sessionId String
    For automations created by an agent, the session that created it.
    toolCallId String
    For automations created by an agent, the tool call that created it.

    AutomationTarget, AutomationTargetArgs

    What an automation invocation does: it starts a new session of an agent.

    AgentId string
    The ID of the agent to run, such as the id of an Agent resource.
    Environment Pulumi.Labs.Openai.Inputs.EnvironmentConfig
    The execution environment of each session.
    Input List<Pulumi.Labs.Openai.Inputs.InputMessage>
    The user messages that start each session. At least one message is required.
    Metadata Dictionary<string, string>
    Custom key-value pairs applied to each new session.
    VaultIds List<string>
    The IDs of vaults available to each session.
    AgentId string
    The ID of the agent to run, such as the id of an Agent resource.
    Environment EnvironmentConfig
    The execution environment of each session.
    Input []InputMessage
    The user messages that start each session. At least one message is required.
    Metadata map[string]string
    Custom key-value pairs applied to each new session.
    VaultIds []string
    The IDs of vaults available to each session.
    agent_id string
    The ID of the agent to run, such as the id of an Agent resource.
    environment object
    The execution environment of each session.
    input list(object)
    The user messages that start each session. At least one message is required.
    metadata map(string)
    Custom key-value pairs applied to each new session.
    vault_ids list(string)
    The IDs of vaults available to each session.
    agentId String
    The ID of the agent to run, such as the id of an Agent resource.
    environment EnvironmentConfig
    The execution environment of each session.
    input List<InputMessage>
    The user messages that start each session. At least one message is required.
    metadata Map<String,String>
    Custom key-value pairs applied to each new session.
    vaultIds List<String>
    The IDs of vaults available to each session.
    agentId string
    The ID of the agent to run, such as the id of an Agent resource.
    environment EnvironmentConfig
    The execution environment of each session.
    input InputMessage[]
    The user messages that start each session. At least one message is required.
    metadata {[key: string]: string}
    Custom key-value pairs applied to each new session.
    vaultIds string[]
    The IDs of vaults available to each session.
    agent_id str
    The ID of the agent to run, such as the id of an Agent resource.
    environment EnvironmentConfig
    The execution environment of each session.
    input Sequence[InputMessage]
    The user messages that start each session. At least one message is required.
    metadata Mapping[str, str]
    Custom key-value pairs applied to each new session.
    vault_ids Sequence[str]
    The IDs of vaults available to each session.
    agentId String
    The ID of the agent to run, such as the id of an Agent resource.
    environment Property Map
    The execution environment of each session.
    input List<Property Map>
    The user messages that start each session. At least one message is required.
    metadata Map<String>
    Custom key-value pairs applied to each new session.
    vaultIds List<String>
    The IDs of vaults available to each session.

    ContainerSize

    NameValue
    Smallsmall
    Mediummedium
    Largelarge
    NameValue
    ContainerSizeSmallsmall
    ContainerSizeMediummedium
    ContainerSizeLargelarge
    Value
    small
    medium
    large
    NameValue
    Smallsmall
    Mediummedium
    Largelarge
    NameValue
    Smallsmall
    Mediummedium
    Largelarge
    NameValue
    SMALLsmall
    MEDIUMmedium
    LARGElarge
    Value
    small
    medium
    large

    EnvironmentConfig, EnvironmentConfigArgs

    The execution environment of a session. type selects the kind of environment; each other property applies only to the environment types named in its description.

    Type Pulumi.Labs.Openai.EnvironmentType
    The kind of environment: none for no execution environment, openai_hosted for a container hosted by OpenAI, or self_hosted.
    CapabilityDirectories List<string>
    openai_hosted and self_hosted environments: capability directories.
    ContainerSize Pulumi.Labs.Openai.ContainerSize
    openai_hosted environments: the size of the container. Defaults to medium.
    Desktop Pulumi.Labs.Openai.Inputs.EnvironmentDesktop
    openai_hosted environments: desktop settings.
    Env Dictionary<string, string>
    openai_hosted environments: environment variables. They are secret and never refreshed from the API.
    EnvironmentId string
    openai_hosted environments: the ID of an existing prewarmed environment. Cannot be combined with a template or inline configuration.
    EnvironmentTemplateId string
    openai_hosted environments: the ID of a hosted environment template. Properties left unset inherit from the template.
    Files List<Pulumi.Labs.Openai.Inputs.EnvironmentFile>
    openai_hosted environments: files placed in the workspace, up to 50.
    Network Pulumi.Labs.Openai.Inputs.EnvironmentNetwork
    openai_hosted environments: the network policy.
    Packages Pulumi.Labs.Openai.Inputs.EnvironmentPackages
    openai_hosted environments: packages to install.
    Plugins List<Pulumi.Labs.Openai.Inputs.EnvironmentPlugin>
    openai_hosted environments: plugins to install, up to 32.
    SetupCommands List<Pulumi.Labs.Openai.Inputs.EnvironmentSetupCommand>
    openai_hosted environments: commands run to set up the environment, up to 16. They are never refreshed from the API.
    Skills List<Pulumi.Labs.Openai.Inputs.EnvironmentSkill>
    openai_hosted environments: skills to install, up to 200.
    WorkspaceDirectory string
    self_hosted environments: the absolute path of the workspace directory. Required.
    Type EnvironmentType
    The kind of environment: none for no execution environment, openai_hosted for a container hosted by OpenAI, or self_hosted.
    CapabilityDirectories []string
    openai_hosted and self_hosted environments: capability directories.
    ContainerSize ContainerSize
    openai_hosted environments: the size of the container. Defaults to medium.
    Desktop EnvironmentDesktop
    openai_hosted environments: desktop settings.
    Env map[string]string
    openai_hosted environments: environment variables. They are secret and never refreshed from the API.
    EnvironmentId string
    openai_hosted environments: the ID of an existing prewarmed environment. Cannot be combined with a template or inline configuration.
    EnvironmentTemplateId string
    openai_hosted environments: the ID of a hosted environment template. Properties left unset inherit from the template.
    Files []EnvironmentFile
    openai_hosted environments: files placed in the workspace, up to 50.
    Network EnvironmentNetwork
    openai_hosted environments: the network policy.
    Packages EnvironmentPackages
    openai_hosted environments: packages to install.
    Plugins []EnvironmentPlugin
    openai_hosted environments: plugins to install, up to 32.
    SetupCommands []EnvironmentSetupCommand
    openai_hosted environments: commands run to set up the environment, up to 16. They are never refreshed from the API.
    Skills []EnvironmentSkill
    openai_hosted environments: skills to install, up to 200.
    WorkspaceDirectory string
    self_hosted environments: the absolute path of the workspace directory. Required.
    type "none" | "openai_hosted" | "self_hosted"
    The kind of environment: none for no execution environment, openai_hosted for a container hosted by OpenAI, or self_hosted.
    capability_directories list(string)
    openai_hosted and self_hosted environments: capability directories.
    container_size "small" | "medium" | "large"
    openai_hosted environments: the size of the container. Defaults to medium.
    desktop object
    openai_hosted environments: desktop settings.
    env map(string)
    openai_hosted environments: environment variables. They are secret and never refreshed from the API.
    environment_id string
    openai_hosted environments: the ID of an existing prewarmed environment. Cannot be combined with a template or inline configuration.
    environment_template_id string
    openai_hosted environments: the ID of a hosted environment template. Properties left unset inherit from the template.
    files list(object)
    openai_hosted environments: files placed in the workspace, up to 50.
    network object
    openai_hosted environments: the network policy.
    packages object
    openai_hosted environments: packages to install.
    plugins list(object)
    openai_hosted environments: plugins to install, up to 32.
    setup_commands list(object)
    openai_hosted environments: commands run to set up the environment, up to 16. They are never refreshed from the API.
    skills list(object)
    openai_hosted environments: skills to install, up to 200.
    workspace_directory string
    self_hosted environments: the absolute path of the workspace directory. Required.
    type EnvironmentType
    The kind of environment: none for no execution environment, openai_hosted for a container hosted by OpenAI, or self_hosted.
    capabilityDirectories List<String>
    openai_hosted and self_hosted environments: capability directories.
    containerSize ContainerSize
    openai_hosted environments: the size of the container. Defaults to medium.
    desktop EnvironmentDesktop
    openai_hosted environments: desktop settings.
    env Map<String,String>
    openai_hosted environments: environment variables. They are secret and never refreshed from the API.
    environmentId String
    openai_hosted environments: the ID of an existing prewarmed environment. Cannot be combined with a template or inline configuration.
    environmentTemplateId String
    openai_hosted environments: the ID of a hosted environment template. Properties left unset inherit from the template.
    files List<EnvironmentFile>
    openai_hosted environments: files placed in the workspace, up to 50.
    network EnvironmentNetwork
    openai_hosted environments: the network policy.
    packages EnvironmentPackages
    openai_hosted environments: packages to install.
    plugins List<EnvironmentPlugin>
    openai_hosted environments: plugins to install, up to 32.
    setupCommands List<EnvironmentSetupCommand>
    openai_hosted environments: commands run to set up the environment, up to 16. They are never refreshed from the API.
    skills List<EnvironmentSkill>
    openai_hosted environments: skills to install, up to 200.
    workspaceDirectory String
    self_hosted environments: the absolute path of the workspace directory. Required.
    type EnvironmentType
    The kind of environment: none for no execution environment, openai_hosted for a container hosted by OpenAI, or self_hosted.
    capabilityDirectories string[]
    openai_hosted and self_hosted environments: capability directories.
    containerSize ContainerSize
    openai_hosted environments: the size of the container. Defaults to medium.
    desktop EnvironmentDesktop
    openai_hosted environments: desktop settings.
    env {[key: string]: string}
    openai_hosted environments: environment variables. They are secret and never refreshed from the API.
    environmentId string
    openai_hosted environments: the ID of an existing prewarmed environment. Cannot be combined with a template or inline configuration.
    environmentTemplateId string
    openai_hosted environments: the ID of a hosted environment template. Properties left unset inherit from the template.
    files EnvironmentFile[]
    openai_hosted environments: files placed in the workspace, up to 50.
    network EnvironmentNetwork
    openai_hosted environments: the network policy.
    packages EnvironmentPackages
    openai_hosted environments: packages to install.
    plugins EnvironmentPlugin[]
    openai_hosted environments: plugins to install, up to 32.
    setupCommands EnvironmentSetupCommand[]
    openai_hosted environments: commands run to set up the environment, up to 16. They are never refreshed from the API.
    skills EnvironmentSkill[]
    openai_hosted environments: skills to install, up to 200.
    workspaceDirectory string
    self_hosted environments: the absolute path of the workspace directory. Required.
    type EnvironmentType
    The kind of environment: none for no execution environment, openai_hosted for a container hosted by OpenAI, or self_hosted.
    capability_directories Sequence[str]
    openai_hosted and self_hosted environments: capability directories.
    container_size ContainerSize
    openai_hosted environments: the size of the container. Defaults to medium.
    desktop EnvironmentDesktop
    openai_hosted environments: desktop settings.
    env Mapping[str, str]
    openai_hosted environments: environment variables. They are secret and never refreshed from the API.
    environment_id str
    openai_hosted environments: the ID of an existing prewarmed environment. Cannot be combined with a template or inline configuration.
    environment_template_id str
    openai_hosted environments: the ID of a hosted environment template. Properties left unset inherit from the template.
    files Sequence[EnvironmentFile]
    openai_hosted environments: files placed in the workspace, up to 50.
    network EnvironmentNetwork
    openai_hosted environments: the network policy.
    packages EnvironmentPackages
    openai_hosted environments: packages to install.
    plugins Sequence[EnvironmentPlugin]
    openai_hosted environments: plugins to install, up to 32.
    setup_commands Sequence[EnvironmentSetupCommand]
    openai_hosted environments: commands run to set up the environment, up to 16. They are never refreshed from the API.
    skills Sequence[EnvironmentSkill]
    openai_hosted environments: skills to install, up to 200.
    workspace_directory str
    self_hosted environments: the absolute path of the workspace directory. Required.
    type "none" | "openai_hosted" | "self_hosted"
    The kind of environment: none for no execution environment, openai_hosted for a container hosted by OpenAI, or self_hosted.
    capabilityDirectories List<String>
    openai_hosted and self_hosted environments: capability directories.
    containerSize "small" | "medium" | "large"
    openai_hosted environments: the size of the container. Defaults to medium.
    desktop Property Map
    openai_hosted environments: desktop settings.
    env Map<String>
    openai_hosted environments: environment variables. They are secret and never refreshed from the API.
    environmentId String
    openai_hosted environments: the ID of an existing prewarmed environment. Cannot be combined with a template or inline configuration.
    environmentTemplateId String
    openai_hosted environments: the ID of a hosted environment template. Properties left unset inherit from the template.
    files List<Property Map>
    openai_hosted environments: files placed in the workspace, up to 50.
    network Property Map
    openai_hosted environments: the network policy.
    packages Property Map
    openai_hosted environments: packages to install.
    plugins List<Property Map>
    openai_hosted environments: plugins to install, up to 32.
    setupCommands List<Property Map>
    openai_hosted environments: commands run to set up the environment, up to 16. They are never refreshed from the API.
    skills List<Property Map>
    openai_hosted environments: skills to install, up to 200.
    workspaceDirectory String
    self_hosted environments: the absolute path of the workspace directory. Required.

    EnvironmentDesktop, EnvironmentDesktopArgs

    Enabled bool
    Whether the environment has a desktop.
    Enabled bool
    Whether the environment has a desktop.
    enabled bool
    Whether the environment has a desktop.
    enabled Boolean
    Whether the environment has a desktop.
    enabled boolean
    Whether the environment has a desktop.
    enabled bool
    Whether the environment has a desktop.
    enabled Boolean
    Whether the environment has a desktop.

    EnvironmentFile, EnvironmentFileArgs

    Path string
    The absolute path of the file, which must be under /workspace.
    Type Pulumi.Labs.Openai.EnvironmentFileType
    Where the file's content comes from: file_id for an uploaded file, or inline for content given in data.
    Data string
    inline files: the content of the file, base64-encoded. Required. It is never refreshed from the API.
    FileId string
    file_id files: the ID of the uploaded file. Required.
    Path string
    The absolute path of the file, which must be under /workspace.
    Type EnvironmentFileType
    Where the file's content comes from: file_id for an uploaded file, or inline for content given in data.
    Data string
    inline files: the content of the file, base64-encoded. Required. It is never refreshed from the API.
    FileId string
    file_id files: the ID of the uploaded file. Required.
    path string
    The absolute path of the file, which must be under /workspace.
    type "file_id" | "inline"
    Where the file's content comes from: file_id for an uploaded file, or inline for content given in data.
    data string
    inline files: the content of the file, base64-encoded. Required. It is never refreshed from the API.
    file_id string
    file_id files: the ID of the uploaded file. Required.
    path String
    The absolute path of the file, which must be under /workspace.
    type EnvironmentFileType
    Where the file's content comes from: file_id for an uploaded file, or inline for content given in data.
    data String
    inline files: the content of the file, base64-encoded. Required. It is never refreshed from the API.
    fileId String
    file_id files: the ID of the uploaded file. Required.
    path string
    The absolute path of the file, which must be under /workspace.
    type EnvironmentFileType
    Where the file's content comes from: file_id for an uploaded file, or inline for content given in data.
    data string
    inline files: the content of the file, base64-encoded. Required. It is never refreshed from the API.
    fileId string
    file_id files: the ID of the uploaded file. Required.
    path str
    The absolute path of the file, which must be under /workspace.
    type EnvironmentFileType
    Where the file's content comes from: file_id for an uploaded file, or inline for content given in data.
    data str
    inline files: the content of the file, base64-encoded. Required. It is never refreshed from the API.
    file_id str
    file_id files: the ID of the uploaded file. Required.
    path String
    The absolute path of the file, which must be under /workspace.
    type "file_id" | "inline"
    Where the file's content comes from: file_id for an uploaded file, or inline for content given in data.
    data String
    inline files: the content of the file, base64-encoded. Required. It is never refreshed from the API.
    fileId String
    file_id files: the ID of the uploaded file. Required.

    EnvironmentFileType

    NameValue
    FileIDfile_id
    Inlineinline
    NameValue
    EnvironmentFileTypeFileIDfile_id
    EnvironmentFileTypeInlineinline
    Value
    file_id
    inline
    NameValue
    FileIDfile_id
    Inlineinline
    NameValue
    FileIDfile_id
    Inlineinline
    NameValue
    FILE_IDfile_id
    INLINEinline
    Value
    file_id
    inline

    EnvironmentNetwork, EnvironmentNetworkArgs

    Access Pulumi.Labs.Openai.NetworkAccess
    Whether network access is enabled (unrestricted), disabled, or restricted by the domain rules.
    AllowedDomains List<string>
    The domains the environment may reach.
    BlockedDomains List<string>
    The domains the environment may not reach, up to 100. Requires restricted access and cannot be combined with allowedDomains. Wildcards are not supported. They are never refreshed from the API.
    Access NetworkAccess
    Whether network access is enabled (unrestricted), disabled, or restricted by the domain rules.
    AllowedDomains []string
    The domains the environment may reach.
    BlockedDomains []string
    The domains the environment may not reach, up to 100. Requires restricted access and cannot be combined with allowedDomains. Wildcards are not supported. They are never refreshed from the API.
    access "enabled" | "disabled" | "restricted"
    Whether network access is enabled (unrestricted), disabled, or restricted by the domain rules.
    allowed_domains list(string)
    The domains the environment may reach.
    blocked_domains list(string)
    The domains the environment may not reach, up to 100. Requires restricted access and cannot be combined with allowedDomains. Wildcards are not supported. They are never refreshed from the API.
    access NetworkAccess
    Whether network access is enabled (unrestricted), disabled, or restricted by the domain rules.
    allowedDomains List<String>
    The domains the environment may reach.
    blockedDomains List<String>
    The domains the environment may not reach, up to 100. Requires restricted access and cannot be combined with allowedDomains. Wildcards are not supported. They are never refreshed from the API.
    access NetworkAccess
    Whether network access is enabled (unrestricted), disabled, or restricted by the domain rules.
    allowedDomains string[]
    The domains the environment may reach.
    blockedDomains string[]
    The domains the environment may not reach, up to 100. Requires restricted access and cannot be combined with allowedDomains. Wildcards are not supported. They are never refreshed from the API.
    access NetworkAccess
    Whether network access is enabled (unrestricted), disabled, or restricted by the domain rules.
    allowed_domains Sequence[str]
    The domains the environment may reach.
    blocked_domains Sequence[str]
    The domains the environment may not reach, up to 100. Requires restricted access and cannot be combined with allowedDomains. Wildcards are not supported. They are never refreshed from the API.
    access "enabled" | "disabled" | "restricted"
    Whether network access is enabled (unrestricted), disabled, or restricted by the domain rules.
    allowedDomains List<String>
    The domains the environment may reach.
    blockedDomains List<String>
    The domains the environment may not reach, up to 100. Requires restricted access and cannot be combined with allowedDomains. Wildcards are not supported. They are never refreshed from the API.

    EnvironmentPackages, EnvironmentPackagesArgs

    Npm List<string>
    npm packages to install.
    Python List<string>
    Python packages to install.
    System List<string>
    System packages to install.
    Npm []string
    npm packages to install.
    Python []string
    Python packages to install.
    System []string
    System packages to install.
    npm list(string)
    npm packages to install.
    python list(string)
    Python packages to install.
    system list(string)
    System packages to install.
    npm List<String>
    npm packages to install.
    python List<String>
    Python packages to install.
    system List<String>
    System packages to install.
    npm string[]
    npm packages to install.
    python string[]
    Python packages to install.
    system string[]
    System packages to install.
    npm Sequence[str]
    npm packages to install.
    python Sequence[str]
    Python packages to install.
    system Sequence[str]
    System packages to install.
    npm List<String>
    npm packages to install.
    python List<String>
    Python packages to install.
    system List<String>
    System packages to install.

    EnvironmentPlugin, EnvironmentPluginArgs

    Description string
    A description of the plugin.
    Name string
    The name of the plugin, as in its manifest.
    Source string
    The plugin as a base64-encoded ZIP archive. It is never refreshed from the API.
    Description string
    A description of the plugin.
    Name string
    The name of the plugin, as in its manifest.
    Source string
    The plugin as a base64-encoded ZIP archive. It is never refreshed from the API.
    description string
    A description of the plugin.
    name string
    The name of the plugin, as in its manifest.
    source string
    The plugin as a base64-encoded ZIP archive. It is never refreshed from the API.
    description String
    A description of the plugin.
    name String
    The name of the plugin, as in its manifest.
    source String
    The plugin as a base64-encoded ZIP archive. It is never refreshed from the API.
    description string
    A description of the plugin.
    name string
    The name of the plugin, as in its manifest.
    source string
    The plugin as a base64-encoded ZIP archive. It is never refreshed from the API.
    description str
    A description of the plugin.
    name str
    The name of the plugin, as in its manifest.
    source str
    The plugin as a base64-encoded ZIP archive. It is never refreshed from the API.
    description String
    A description of the plugin.
    name String
    The name of the plugin, as in its manifest.
    source String
    The plugin as a base64-encoded ZIP archive. It is never refreshed from the API.

    EnvironmentSetupCommand, EnvironmentSetupCommandArgs

    Command string
    The command to run. The API treats it as confidential and never returns it.
    Cwd string
    The absolute path of the directory the command runs in. Defaults to /workspace.
    Command string
    The command to run. The API treats it as confidential and never returns it.
    Cwd string
    The absolute path of the directory the command runs in. Defaults to /workspace.
    command string
    The command to run. The API treats it as confidential and never returns it.
    cwd string
    The absolute path of the directory the command runs in. Defaults to /workspace.
    command String
    The command to run. The API treats it as confidential and never returns it.
    cwd String
    The absolute path of the directory the command runs in. Defaults to /workspace.
    command string
    The command to run. The API treats it as confidential and never returns it.
    cwd string
    The absolute path of the directory the command runs in. Defaults to /workspace.
    command str
    The command to run. The API treats it as confidential and never returns it.
    cwd str
    The absolute path of the directory the command runs in. Defaults to /workspace.
    command String
    The command to run. The API treats it as confidential and never returns it.
    cwd String
    The absolute path of the directory the command runs in. Defaults to /workspace.

    EnvironmentSkill, EnvironmentSkillArgs

    Type Pulumi.Labs.Openai.EnvironmentSkillType
    The kind of skill: skill_reference for a saved skill, or inline.
    Description string
    inline skills: a description of the skill. Required.
    Name string
    inline skills: the name of the skill. Required.
    SkillId string
    skill_reference skills: the ID of the skill. Required.
    Source string
    inline skills: the skill as a base64-encoded ZIP archive. Required. It is never refreshed from the API.
    Version string
    skill_reference skills: the version, as a positive integer or latest. When unset, the skill's default version is used.
    Type EnvironmentSkillType
    The kind of skill: skill_reference for a saved skill, or inline.
    Description string
    inline skills: a description of the skill. Required.
    Name string
    inline skills: the name of the skill. Required.
    SkillId string
    skill_reference skills: the ID of the skill. Required.
    Source string
    inline skills: the skill as a base64-encoded ZIP archive. Required. It is never refreshed from the API.
    Version string
    skill_reference skills: the version, as a positive integer or latest. When unset, the skill's default version is used.
    type "skill_reference" | "inline"
    The kind of skill: skill_reference for a saved skill, or inline.
    description string
    inline skills: a description of the skill. Required.
    name string
    inline skills: the name of the skill. Required.
    skill_id string
    skill_reference skills: the ID of the skill. Required.
    source string
    inline skills: the skill as a base64-encoded ZIP archive. Required. It is never refreshed from the API.
    version string
    skill_reference skills: the version, as a positive integer or latest. When unset, the skill's default version is used.
    type EnvironmentSkillType
    The kind of skill: skill_reference for a saved skill, or inline.
    description String
    inline skills: a description of the skill. Required.
    name String
    inline skills: the name of the skill. Required.
    skillId String
    skill_reference skills: the ID of the skill. Required.
    source String
    inline skills: the skill as a base64-encoded ZIP archive. Required. It is never refreshed from the API.
    version String
    skill_reference skills: the version, as a positive integer or latest. When unset, the skill's default version is used.
    type EnvironmentSkillType
    The kind of skill: skill_reference for a saved skill, or inline.
    description string
    inline skills: a description of the skill. Required.
    name string
    inline skills: the name of the skill. Required.
    skillId string
    skill_reference skills: the ID of the skill. Required.
    source string
    inline skills: the skill as a base64-encoded ZIP archive. Required. It is never refreshed from the API.
    version string
    skill_reference skills: the version, as a positive integer or latest. When unset, the skill's default version is used.
    type EnvironmentSkillType
    The kind of skill: skill_reference for a saved skill, or inline.
    description str
    inline skills: a description of the skill. Required.
    name str
    inline skills: the name of the skill. Required.
    skill_id str
    skill_reference skills: the ID of the skill. Required.
    source str
    inline skills: the skill as a base64-encoded ZIP archive. Required. It is never refreshed from the API.
    version str
    skill_reference skills: the version, as a positive integer or latest. When unset, the skill's default version is used.
    type "skill_reference" | "inline"
    The kind of skill: skill_reference for a saved skill, or inline.
    description String
    inline skills: a description of the skill. Required.
    name String
    inline skills: the name of the skill. Required.
    skillId String
    skill_reference skills: the ID of the skill. Required.
    source String
    inline skills: the skill as a base64-encoded ZIP archive. Required. It is never refreshed from the API.
    version String
    skill_reference skills: the version, as a positive integer or latest. When unset, the skill's default version is used.

    EnvironmentSkillType

    NameValue
    SkillReferenceskill_reference
    Inlineinline
    NameValue
    EnvironmentSkillTypeSkillReferenceskill_reference
    EnvironmentSkillTypeInlineinline
    Value
    skill_reference
    inline
    NameValue
    SkillReferenceskill_reference
    Inlineinline
    NameValue
    SkillReferenceskill_reference
    Inlineinline
    NameValue
    SKILL_REFERENCEskill_reference
    INLINEinline
    Value
    skill_reference
    inline

    EnvironmentType

    NameValueDescription
    NonenoneNo execution environment.
    OpenAIHostedopenai_hostedA container hosted by OpenAI.
    SelfHostedself_hostedAn environment you host.
    NameValueDescription
    EnvironmentTypeNonenoneNo execution environment.
    EnvironmentTypeOpenAIHostedopenai_hostedA container hosted by OpenAI.
    EnvironmentTypeSelfHostedself_hostedAn environment you host.
    ValueDescription
    noneNo execution environment.
    openai_hostedA container hosted by OpenAI.
    self_hostedAn environment you host.
    NameValueDescription
    NonenoneNo execution environment.
    OpenAIHostedopenai_hostedA container hosted by OpenAI.
    SelfHostedself_hostedAn environment you host.
    NameValueDescription
    NonenoneNo execution environment.
    OpenAIHostedopenai_hostedA container hosted by OpenAI.
    SelfHostedself_hostedAn environment you host.
    NameValueDescription
    NONEnoneNo execution environment.
    OPEN_AI_HOSTEDopenai_hostedA container hosted by OpenAI.
    SELF_HOSTEDself_hostedAn environment you host.
    ValueDescription
    noneNo execution environment.
    openai_hostedA container hosted by OpenAI.
    self_hostedAn environment you host.

    InputContent, InputContentArgs

    Type Pulumi.Labs.Openai.InputContentType
    The kind of content: input_text or input_image.
    ImageUrl string
    input_image content: the URL of the image, which may be a base64 data URL. Required.
    Text string
    input_text content: the text. Required.
    Type InputContentType
    The kind of content: input_text or input_image.
    ImageUrl string
    input_image content: the URL of the image, which may be a base64 data URL. Required.
    Text string
    input_text content: the text. Required.
    type "input_text" | "input_image"
    The kind of content: input_text or input_image.
    image_url string
    input_image content: the URL of the image, which may be a base64 data URL. Required.
    text string
    input_text content: the text. Required.
    type InputContentType
    The kind of content: input_text or input_image.
    imageUrl String
    input_image content: the URL of the image, which may be a base64 data URL. Required.
    text String
    input_text content: the text. Required.
    type InputContentType
    The kind of content: input_text or input_image.
    imageUrl string
    input_image content: the URL of the image, which may be a base64 data URL. Required.
    text string
    input_text content: the text. Required.
    type InputContentType
    The kind of content: input_text or input_image.
    image_url str
    input_image content: the URL of the image, which may be a base64 data URL. Required.
    text str
    input_text content: the text. Required.
    type "input_text" | "input_image"
    The kind of content: input_text or input_image.
    imageUrl String
    input_image content: the URL of the image, which may be a base64 data URL. Required.
    text String
    input_text content: the text. Required.

    InputContentType

    NameValue
    InputTextinput_text
    InputImageinput_image
    NameValue
    InputContentTypeInputTextinput_text
    InputContentTypeInputImageinput_image
    Value
    input_text
    input_image
    NameValue
    InputTextinput_text
    InputImageinput_image
    NameValue
    InputTextinput_text
    InputImageinput_image
    NameValue
    INPUT_TEXTinput_text
    INPUT_IMAGEinput_image
    Value
    input_text
    input_image

    InputMessage, InputMessageArgs

    Content []InputContent
    The parts of the message.
    content list(object)
    The parts of the message.
    content List<InputContent>
    The parts of the message.
    content InputContent[]
    The parts of the message.
    content Sequence[InputContent]
    The parts of the message.
    content List<Property Map>
    The parts of the message.

    NetworkAccess

    NameValue
    Enabledenabled
    Disableddisabled
    Restrictedrestricted
    NameValue
    NetworkAccessEnabledenabled
    NetworkAccessDisableddisabled
    NetworkAccessRestrictedrestricted
    Value
    enabled
    disabled
    restricted
    NameValue
    Enabledenabled
    Disableddisabled
    Restrictedrestricted
    NameValue
    Enabledenabled
    Disableddisabled
    Restrictedrestricted
    NameValue
    ENABLEDenabled
    DISABLEDdisabled
    RESTRICTEDrestricted
    Value
    enabled
    disabled
    restricted

    Package Details

    Repository
    openai pulumi-labs/pulumi-openai
    License
    Apache-2.0
    OpenAI
    Viewing docs for OpenAI v0.3.1
    published on Monday, Nov 23, 2026 by Pulumi Labs

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial