published on Friday, Apr 24, 2026 by DataRobot, Inc.
published on Friday, Apr 24, 2026 by DataRobot, Inc.
Memory Space is a DataRobot concept that serves as a logical container for Chat Histories (Sessions) and persistent Memories. Feature should be enabled before use with AGENTIC_MEMORY_API flag.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datarobot from "@datarobot/pulumi-datarobot";
const example = new datarobot.MemorySpace("example", {description: "My workspace memories"});
export const datarobotMemorySpaceId = example.id;
import pulumi
import pulumi_datarobot as datarobot
example = datarobot.MemorySpace("example", description="My workspace memories")
pulumi.export("datarobotMemorySpaceId", example.id)
package main
import (
"github.com/datarobot-community/pulumi-datarobot/sdk/go/datarobot"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := datarobot.NewMemorySpace(ctx, "example", &datarobot.MemorySpaceArgs{
Description: pulumi.String("My workspace memories"),
})
if err != nil {
return err
}
ctx.Export("datarobotMemorySpaceId", example.ID())
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Datarobot = DataRobotPulumi.Datarobot;
return await Deployment.RunAsync(() =>
{
var example = new Datarobot.MemorySpace("example", new()
{
Description = "My workspace memories",
});
return new Dictionary<string, object?>
{
["datarobotMemorySpaceId"] = example.Id,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.datarobot.MemorySpace;
import com.pulumi.datarobot.MemorySpaceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new MemorySpace("example", MemorySpaceArgs.builder()
.description("My workspace memories")
.build());
ctx.export("datarobotMemorySpaceId", example.id());
}
}
resources:
example:
type: datarobot:MemorySpace
properties:
description: My workspace memories
outputs:
datarobotMemorySpaceId: ${example.id}
Create MemorySpace Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MemorySpace(name: string, args?: MemorySpaceArgs, opts?: CustomResourceOptions);@overload
def MemorySpace(resource_name: str,
args: Optional[MemorySpaceArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def MemorySpace(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None)func NewMemorySpace(ctx *Context, name string, args *MemorySpaceArgs, opts ...ResourceOption) (*MemorySpace, error)public MemorySpace(string name, MemorySpaceArgs? args = null, CustomResourceOptions? opts = null)
public MemorySpace(String name, MemorySpaceArgs args)
public MemorySpace(String name, MemorySpaceArgs args, CustomResourceOptions options)
type: datarobot:MemorySpace
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MemorySpaceArgs
- 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 MemorySpaceArgs
- 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 MemorySpaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MemorySpaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MemorySpaceArgs
- 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 memorySpaceResource = new Datarobot.MemorySpace("memorySpaceResource", new()
{
Description = "string",
});
example, err := datarobot.NewMemorySpace(ctx, "memorySpaceResource", &datarobot.MemorySpaceArgs{
Description: pulumi.String("string"),
})
var memorySpaceResource = new MemorySpace("memorySpaceResource", MemorySpaceArgs.builder()
.description("string")
.build());
memory_space_resource = datarobot.MemorySpace("memorySpaceResource", description="string")
const memorySpaceResource = new datarobot.MemorySpace("memorySpaceResource", {description: "string"});
type: datarobot:MemorySpace
properties:
description: string
MemorySpace 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 MemorySpace resource accepts the following input properties:
- Description string
- The description of the Memory Space.
- Description string
- The description of the Memory Space.
- description String
- The description of the Memory Space.
- description string
- The description of the Memory Space.
- description str
- The description of the Memory Space.
- description String
- The description of the Memory Space.
Outputs
All input properties are implicitly available as output properties. Additionally, the MemorySpace resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing MemorySpace Resource
Get an existing MemorySpace 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>, state?: MemorySpaceState, opts?: CustomResourceOptions): MemorySpace@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None) -> MemorySpacefunc GetMemorySpace(ctx *Context, name string, id IDInput, state *MemorySpaceState, opts ...ResourceOption) (*MemorySpace, error)public static MemorySpace Get(string name, Input<string> id, MemorySpaceState? state, CustomResourceOptions? opts = null)public static MemorySpace get(String name, Output<String> id, MemorySpaceState state, CustomResourceOptions options)resources: _: type: datarobot:MemorySpace get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Description string
- The description of the Memory Space.
- Description string
- The description of the Memory Space.
- description String
- The description of the Memory Space.
- description string
- The description of the Memory Space.
- description str
- The description of the Memory Space.
- description String
- The description of the Memory Space.
Package Details
- Repository
- datarobot datarobot-community/pulumi-datarobot
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datarobotTerraform Provider.
published on Friday, Apr 24, 2026 by DataRobot, Inc.
