published on Tuesday, Oct 27, 2026 by Pulumi
published on Tuesday, Oct 27, 2026 by Pulumi
Create AgentKitSession Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AgentKitSession(name: string, args: AgentKitSessionArgs, opts?: CustomResourceOptions);@overload
def AgentKitSession(resource_name: str,
args: AgentKitSessionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AgentKitSession(resource_name: str,
opts: Optional[ResourceOptions] = None,
actor_id: Optional[str] = None,
parent: Optional[str] = None,
metadata: Optional[Mapping[str, str]] = None,
parent_session_id: Optional[str] = None,
provider_config: Optional[AgentKitSessionProviderConfigArgs] = None,
session_id: Optional[str] = None)func NewAgentKitSession(ctx *Context, name string, args AgentKitSessionArgs, opts ...ResourceOption) (*AgentKitSession, error)public AgentKitSession(string name, AgentKitSessionArgs args, CustomResourceOptions? opts = null)
public AgentKitSession(String name, AgentKitSessionArgs args)
public AgentKitSession(String name, AgentKitSessionArgs args, CustomResourceOptions options)
type: databricks:AgentKitSession
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "databricks_agent_kit_session" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AgentKitSessionArgs
- 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 AgentKitSessionArgs
- 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 AgentKitSessionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AgentKitSessionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AgentKitSessionArgs
- 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 agentKitSessionResource = new Databricks.AgentKitSession("agentKitSessionResource", new()
{
ActorId = "string",
Parent = "string",
Metadata =
{
{ "string", "string" },
},
ParentSessionId = "string",
ProviderConfig = new Databricks.Inputs.AgentKitSessionProviderConfigArgs
{
WorkspaceId = "string",
},
SessionId = "string",
});
example, err := databricks.NewAgentKitSession(ctx, "agentKitSessionResource", &databricks.AgentKitSessionArgs{
ActorId: pulumi.String("string"),
Parent: pulumi.String("string"),
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
ParentSessionId: pulumi.String("string"),
ProviderConfig: &databricks.AgentKitSessionProviderConfigArgs{
WorkspaceId: pulumi.String("string"),
},
SessionId: pulumi.String("string"),
})
resource "databricks_agent_kit_session" "agentKitSessionResource" {
lifecycle {
create_before_destroy = true
}
actor_id = "string"
parent = "string"
metadata = {
"string" = "string"
}
parent_session_id = "string"
provider_config = {
workspace_id = "string"
}
session_id = "string"
}
var agentKitSessionResource = new AgentKitSession("agentKitSessionResource", AgentKitSessionArgs.builder()
.actorId("string")
.parent("string")
.metadata(Map.of("string", "string"))
.parentSessionId("string")
.providerConfig(AgentKitSessionProviderConfigArgs.builder()
.workspaceId("string")
.build())
.sessionId("string")
.build());
agent_kit_session_resource = databricks.AgentKitSession("agentKitSessionResource",
actor_id="string",
parent="string",
metadata={
"string": "string",
},
parent_session_id="string",
provider_config={
"workspace_id": "string",
},
session_id="string")
const agentKitSessionResource = new databricks.AgentKitSession("agentKitSessionResource", {
actorId: "string",
parent: "string",
metadata: {
string: "string",
},
parentSessionId: "string",
providerConfig: {
workspaceId: "string",
},
sessionId: "string",
});
type: databricks:AgentKitSession
properties:
actorId: string
metadata:
string: string
parent: string
parentSessionId: string
providerConfig:
workspaceId: string
sessionId: string
AgentKitSession 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 AgentKitSession resource accepts the following input properties:
- Actor
Id string Opaque caller-provided identifier for the application actor associated with the session.
This is application data and has no Databricks authentication or authorization semantics. Use the same value as the Managed Memory Entry
actorIdwhen storing memories associated with this actor. Every session must set it. A child session must use the same value as its parent- Parent string
- Resource name of the containing session store, in the form
session-stores/{session_store_id} - Metadata Dictionary<string, string>
- Mutable caller-defined string labels
- Parent
Session stringId - Immediate parent session ID. Set only at creation for child sessions, immutable thereafter, and restricted to the same store
- Provider
Config AgentKit Session Provider Config - Configure the provider for management through account provider.
- Session
Id string - (string) - Unique session ID. The service generates a UUID unless the caller supplies
CreateSessionRequest.session_id
- Actor
Id string Opaque caller-provided identifier for the application actor associated with the session.
This is application data and has no Databricks authentication or authorization semantics. Use the same value as the Managed Memory Entry
actorIdwhen storing memories associated with this actor. Every session must set it. A child session must use the same value as its parent- Parent string
- Resource name of the containing session store, in the form
session-stores/{session_store_id} - Metadata map[string]string
- Mutable caller-defined string labels
- Parent
Session stringId - Immediate parent session ID. Set only at creation for child sessions, immutable thereafter, and restricted to the same store
- Provider
Config AgentKit Session Provider Config Args - Configure the provider for management through account provider.
- Session
Id string - (string) - Unique session ID. The service generates a UUID unless the caller supplies
CreateSessionRequest.session_id
- actor_
id string Opaque caller-provided identifier for the application actor associated with the session.
This is application data and has no Databricks authentication or authorization semantics. Use the same value as the Managed Memory Entry
actorIdwhen storing memories associated with this actor. Every session must set it. A child session must use the same value as its parent- parent string
- Resource name of the containing session store, in the form
session-stores/{session_store_id} - metadata map(string)
- Mutable caller-defined string labels
- parent_
session_ stringid - Immediate parent session ID. Set only at creation for child sessions, immutable thereafter, and restricted to the same store
- provider_
config object - Configure the provider for management through account provider.
- session_
id string - (string) - Unique session ID. The service generates a UUID unless the caller supplies
CreateSessionRequest.session_id
- actor
Id String Opaque caller-provided identifier for the application actor associated with the session.
This is application data and has no Databricks authentication or authorization semantics. Use the same value as the Managed Memory Entry
actorIdwhen storing memories associated with this actor. Every session must set it. A child session must use the same value as its parent- parent String
- Resource name of the containing session store, in the form
session-stores/{session_store_id} - metadata Map<String,String>
- Mutable caller-defined string labels
- parent
Session StringId - Immediate parent session ID. Set only at creation for child sessions, immutable thereafter, and restricted to the same store
- provider
Config AgentKit Session Provider Config - Configure the provider for management through account provider.
- session
Id String - (string) - Unique session ID. The service generates a UUID unless the caller supplies
CreateSessionRequest.session_id
- actor
Id string Opaque caller-provided identifier for the application actor associated with the session.
This is application data and has no Databricks authentication or authorization semantics. Use the same value as the Managed Memory Entry
actorIdwhen storing memories associated with this actor. Every session must set it. A child session must use the same value as its parent- parent string
- Resource name of the containing session store, in the form
session-stores/{session_store_id} - metadata {[key: string]: string}
- Mutable caller-defined string labels
- parent
Session stringId - Immediate parent session ID. Set only at creation for child sessions, immutable thereafter, and restricted to the same store
- provider
Config AgentKit Session Provider Config - Configure the provider for management through account provider.
- session
Id string - (string) - Unique session ID. The service generates a UUID unless the caller supplies
CreateSessionRequest.session_id
- actor_
id str Opaque caller-provided identifier for the application actor associated with the session.
This is application data and has no Databricks authentication or authorization semantics. Use the same value as the Managed Memory Entry
actorIdwhen storing memories associated with this actor. Every session must set it. A child session must use the same value as its parent- parent str
- Resource name of the containing session store, in the form
session-stores/{session_store_id} - metadata Mapping[str, str]
- Mutable caller-defined string labels
- parent_
session_ strid - Immediate parent session ID. Set only at creation for child sessions, immutable thereafter, and restricted to the same store
- provider_
config AgentKit Session Provider Config Args - Configure the provider for management through account provider.
- session_
id str - (string) - Unique session ID. The service generates a UUID unless the caller supplies
CreateSessionRequest.session_id
- actor
Id String Opaque caller-provided identifier for the application actor associated with the session.
This is application data and has no Databricks authentication or authorization semantics. Use the same value as the Managed Memory Entry
actorIdwhen storing memories associated with this actor. Every session must set it. A child session must use the same value as its parent- parent String
- Resource name of the containing session store, in the form
session-stores/{session_store_id} - metadata Map<String>
- Mutable caller-defined string labels
- parent
Session StringId - Immediate parent session ID. Set only at creation for child sessions, immutable thereafter, and restricted to the same store
- provider
Config Property Map - Configure the provider for management through account provider.
- session
Id String - (string) - Unique session ID. The service generates a UUID unless the caller supplies
CreateSessionRequest.session_id
Outputs
All input properties are implicitly available as output properties. Additionally, the AgentKitSession resource produces the following output properties:
- Create
Time string - (string) - Time when the session was created
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Activity stringTime - (string) - Time when the session's item history was last mutated
- Name string
- (string) - Resource name in the form
session-stores/{session_store_id}/sessions/{session_id} - Root
Session stringId - (string) - Top-level session ID in the spawn tree. This equals
sessionIdfor a root or fork and is inherited transitively by child sessions - Update
Time string - (string) - Time when session resource fields last changed
- Create
Time string - (string) - Time when the session was created
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Activity stringTime - (string) - Time when the session's item history was last mutated
- Name string
- (string) - Resource name in the form
session-stores/{session_store_id}/sessions/{session_id} - Root
Session stringId - (string) - Top-level session ID in the spawn tree. This equals
sessionIdfor a root or fork and is inherited transitively by child sessions - Update
Time string - (string) - Time when session resource fields last changed
- create_
time string - (string) - Time when the session was created
- id string
- The provider-assigned unique ID for this managed resource.
- last_
activity_ stringtime - (string) - Time when the session's item history was last mutated
- name string
- (string) - Resource name in the form
session-stores/{session_store_id}/sessions/{session_id} - root_
session_ stringid - (string) - Top-level session ID in the spawn tree. This equals
sessionIdfor a root or fork and is inherited transitively by child sessions - update_
time string - (string) - Time when session resource fields last changed
- create
Time String - (string) - Time when the session was created
- id String
- The provider-assigned unique ID for this managed resource.
- last
Activity StringTime - (string) - Time when the session's item history was last mutated
- name String
- (string) - Resource name in the form
session-stores/{session_store_id}/sessions/{session_id} - root
Session StringId - (string) - Top-level session ID in the spawn tree. This equals
sessionIdfor a root or fork and is inherited transitively by child sessions - update
Time String - (string) - Time when session resource fields last changed
- create
Time string - (string) - Time when the session was created
- id string
- The provider-assigned unique ID for this managed resource.
- last
Activity stringTime - (string) - Time when the session's item history was last mutated
- name string
- (string) - Resource name in the form
session-stores/{session_store_id}/sessions/{session_id} - root
Session stringId - (string) - Top-level session ID in the spawn tree. This equals
sessionIdfor a root or fork and is inherited transitively by child sessions - update
Time string - (string) - Time when session resource fields last changed
- create_
time str - (string) - Time when the session was created
- id str
- The provider-assigned unique ID for this managed resource.
- last_
activity_ strtime - (string) - Time when the session's item history was last mutated
- name str
- (string) - Resource name in the form
session-stores/{session_store_id}/sessions/{session_id} - root_
session_ strid - (string) - Top-level session ID in the spawn tree. This equals
sessionIdfor a root or fork and is inherited transitively by child sessions - update_
time str - (string) - Time when session resource fields last changed
- create
Time String - (string) - Time when the session was created
- id String
- The provider-assigned unique ID for this managed resource.
- last
Activity StringTime - (string) - Time when the session's item history was last mutated
- name String
- (string) - Resource name in the form
session-stores/{session_store_id}/sessions/{session_id} - root
Session StringId - (string) - Top-level session ID in the spawn tree. This equals
sessionIdfor a root or fork and is inherited transitively by child sessions - update
Time String - (string) - Time when session resource fields last changed
Look up Existing AgentKitSession Resource
Get an existing AgentKitSession 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?: AgentKitSessionState, opts?: CustomResourceOptions): AgentKitSession@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
actor_id: Optional[str] = None,
create_time: Optional[str] = None,
last_activity_time: Optional[str] = None,
metadata: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
parent: Optional[str] = None,
parent_session_id: Optional[str] = None,
provider_config: Optional[AgentKitSessionProviderConfigArgs] = None,
root_session_id: Optional[str] = None,
session_id: Optional[str] = None,
update_time: Optional[str] = None) -> AgentKitSessionfunc GetAgentKitSession(ctx *Context, name string, id IDInput, state *AgentKitSessionState, opts ...ResourceOption) (*AgentKitSession, error)public static AgentKitSession Get(string name, Input<string> id, AgentKitSessionState? state, CustomResourceOptions? opts = null)public static AgentKitSession get(String name, Output<String> id, AgentKitSessionState state, CustomResourceOptions options)resources: _: type: databricks:AgentKitSession get: id: ${id}import {
to = databricks_agent_kit_session.example
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.
- Actor
Id string Opaque caller-provided identifier for the application actor associated with the session.
This is application data and has no Databricks authentication or authorization semantics. Use the same value as the Managed Memory Entry
actorIdwhen storing memories associated with this actor. Every session must set it. A child session must use the same value as its parent- Create
Time string - (string) - Time when the session was created
- Last
Activity stringTime - (string) - Time when the session's item history was last mutated
- Metadata Dictionary<string, string>
- Mutable caller-defined string labels
- Name string
- (string) - Resource name in the form
session-stores/{session_store_id}/sessions/{session_id} - Parent string
- Resource name of the containing session store, in the form
session-stores/{session_store_id} - Parent
Session stringId - Immediate parent session ID. Set only at creation for child sessions, immutable thereafter, and restricted to the same store
- Provider
Config AgentKit Session Provider Config - Configure the provider for management through account provider.
- Root
Session stringId - (string) - Top-level session ID in the spawn tree. This equals
sessionIdfor a root or fork and is inherited transitively by child sessions - Session
Id string - (string) - Unique session ID. The service generates a UUID unless the caller supplies
CreateSessionRequest.session_id - Update
Time string - (string) - Time when session resource fields last changed
- Actor
Id string Opaque caller-provided identifier for the application actor associated with the session.
This is application data and has no Databricks authentication or authorization semantics. Use the same value as the Managed Memory Entry
actorIdwhen storing memories associated with this actor. Every session must set it. A child session must use the same value as its parent- Create
Time string - (string) - Time when the session was created
- Last
Activity stringTime - (string) - Time when the session's item history was last mutated
- Metadata map[string]string
- Mutable caller-defined string labels
- Name string
- (string) - Resource name in the form
session-stores/{session_store_id}/sessions/{session_id} - Parent string
- Resource name of the containing session store, in the form
session-stores/{session_store_id} - Parent
Session stringId - Immediate parent session ID. Set only at creation for child sessions, immutable thereafter, and restricted to the same store
- Provider
Config AgentKit Session Provider Config Args - Configure the provider for management through account provider.
- Root
Session stringId - (string) - Top-level session ID in the spawn tree. This equals
sessionIdfor a root or fork and is inherited transitively by child sessions - Session
Id string - (string) - Unique session ID. The service generates a UUID unless the caller supplies
CreateSessionRequest.session_id - Update
Time string - (string) - Time when session resource fields last changed
- actor_
id string Opaque caller-provided identifier for the application actor associated with the session.
This is application data and has no Databricks authentication or authorization semantics. Use the same value as the Managed Memory Entry
actorIdwhen storing memories associated with this actor. Every session must set it. A child session must use the same value as its parent- create_
time string - (string) - Time when the session was created
- last_
activity_ stringtime - (string) - Time when the session's item history was last mutated
- metadata map(string)
- Mutable caller-defined string labels
- name string
- (string) - Resource name in the form
session-stores/{session_store_id}/sessions/{session_id} - parent string
- Resource name of the containing session store, in the form
session-stores/{session_store_id} - parent_
session_ stringid - Immediate parent session ID. Set only at creation for child sessions, immutable thereafter, and restricted to the same store
- provider_
config object - Configure the provider for management through account provider.
- root_
session_ stringid - (string) - Top-level session ID in the spawn tree. This equals
sessionIdfor a root or fork and is inherited transitively by child sessions - session_
id string - (string) - Unique session ID. The service generates a UUID unless the caller supplies
CreateSessionRequest.session_id - update_
time string - (string) - Time when session resource fields last changed
- actor
Id String Opaque caller-provided identifier for the application actor associated with the session.
This is application data and has no Databricks authentication or authorization semantics. Use the same value as the Managed Memory Entry
actorIdwhen storing memories associated with this actor. Every session must set it. A child session must use the same value as its parent- create
Time String - (string) - Time when the session was created
- last
Activity StringTime - (string) - Time when the session's item history was last mutated
- metadata Map<String,String>
- Mutable caller-defined string labels
- name String
- (string) - Resource name in the form
session-stores/{session_store_id}/sessions/{session_id} - parent String
- Resource name of the containing session store, in the form
session-stores/{session_store_id} - parent
Session StringId - Immediate parent session ID. Set only at creation for child sessions, immutable thereafter, and restricted to the same store
- provider
Config AgentKit Session Provider Config - Configure the provider for management through account provider.
- root
Session StringId - (string) - Top-level session ID in the spawn tree. This equals
sessionIdfor a root or fork and is inherited transitively by child sessions - session
Id String - (string) - Unique session ID. The service generates a UUID unless the caller supplies
CreateSessionRequest.session_id - update
Time String - (string) - Time when session resource fields last changed
- actor
Id string Opaque caller-provided identifier for the application actor associated with the session.
This is application data and has no Databricks authentication or authorization semantics. Use the same value as the Managed Memory Entry
actorIdwhen storing memories associated with this actor. Every session must set it. A child session must use the same value as its parent- create
Time string - (string) - Time when the session was created
- last
Activity stringTime - (string) - Time when the session's item history was last mutated
- metadata {[key: string]: string}
- Mutable caller-defined string labels
- name string
- (string) - Resource name in the form
session-stores/{session_store_id}/sessions/{session_id} - parent string
- Resource name of the containing session store, in the form
session-stores/{session_store_id} - parent
Session stringId - Immediate parent session ID. Set only at creation for child sessions, immutable thereafter, and restricted to the same store
- provider
Config AgentKit Session Provider Config - Configure the provider for management through account provider.
- root
Session stringId - (string) - Top-level session ID in the spawn tree. This equals
sessionIdfor a root or fork and is inherited transitively by child sessions - session
Id string - (string) - Unique session ID. The service generates a UUID unless the caller supplies
CreateSessionRequest.session_id - update
Time string - (string) - Time when session resource fields last changed
- actor_
id str Opaque caller-provided identifier for the application actor associated with the session.
This is application data and has no Databricks authentication or authorization semantics. Use the same value as the Managed Memory Entry
actorIdwhen storing memories associated with this actor. Every session must set it. A child session must use the same value as its parent- create_
time str - (string) - Time when the session was created
- last_
activity_ strtime - (string) - Time when the session's item history was last mutated
- metadata Mapping[str, str]
- Mutable caller-defined string labels
- name str
- (string) - Resource name in the form
session-stores/{session_store_id}/sessions/{session_id} - parent str
- Resource name of the containing session store, in the form
session-stores/{session_store_id} - parent_
session_ strid - Immediate parent session ID. Set only at creation for child sessions, immutable thereafter, and restricted to the same store
- provider_
config AgentKit Session Provider Config Args - Configure the provider for management through account provider.
- root_
session_ strid - (string) - Top-level session ID in the spawn tree. This equals
sessionIdfor a root or fork and is inherited transitively by child sessions - session_
id str - (string) - Unique session ID. The service generates a UUID unless the caller supplies
CreateSessionRequest.session_id - update_
time str - (string) - Time when session resource fields last changed
- actor
Id String Opaque caller-provided identifier for the application actor associated with the session.
This is application data and has no Databricks authentication or authorization semantics. Use the same value as the Managed Memory Entry
actorIdwhen storing memories associated with this actor. Every session must set it. A child session must use the same value as its parent- create
Time String - (string) - Time when the session was created
- last
Activity StringTime - (string) - Time when the session's item history was last mutated
- metadata Map<String>
- Mutable caller-defined string labels
- name String
- (string) - Resource name in the form
session-stores/{session_store_id}/sessions/{session_id} - parent String
- Resource name of the containing session store, in the form
session-stores/{session_store_id} - parent
Session StringId - Immediate parent session ID. Set only at creation for child sessions, immutable thereafter, and restricted to the same store
- provider
Config Property Map - Configure the provider for management through account provider.
- root
Session StringId - (string) - Top-level session ID in the spawn tree. This equals
sessionIdfor a root or fork and is inherited transitively by child sessions - session
Id String - (string) - Unique session ID. The service generates a UUID unless the caller supplies
CreateSessionRequest.session_id - update
Time String - (string) - Time when session resource fields last changed
Supporting Types
AgentKitSessionProviderConfig, AgentKitSessionProviderConfigArgs
- Workspace
Id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- Workspace
Id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace_
id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace
Id String - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace
Id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace_
id str - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace
Id String - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricksTerraform Provider.
published on Tuesday, Oct 27, 2026 by Pulumi