Environment: {
    custom_config?: { [k: string]: any };
    env?: { [k: string]: string | EnvVar };
    environment_id?: string;
    mode?: EnvironmentMode;
    network?: EnvironmentNetworkEgressAllowlist | NetworkEnum;
    sources?: Source[];
    type: "remote";
}

Configuration for a custom environment.

Type declaration

  • Optionalcustom_config?: { [k: string]: any }

    Optional. Arbitrary customer-defined JSON configuration passed through

    to the self-hosted environment poller. Only supported when mode is SELF_HOSTED.

  • Optionalenv?: { [k: string]: string | EnvVar }

    Environment variables to set in the sandbox environment.

  • Optionalenvironment_id?: string

    Optional. The environment ID for the interaction. If specified, the request will

    update the existing environment instead of creating a new one; creation-only fields (env and sources) cannot be updated when resuming an existing environment.

  • Optionalmode?: EnvironmentMode

    The compute lifecycle mode for an environment.

  • Optionalnetwork?: EnvironmentNetworkEgressAllowlist | NetworkEnum

    Network configuration for the environment.

  • Optionalsources?: Source[]
  • type: "remote"