Membrane SDK - v0.29.2
Console
React Lib
REST API
Preparing search index...
CreateAgentSession
Variable CreateAgentSession
Const
CreateAgentSession
:
ZodObject
<
{
workspaceElementType
:
ZodOptional
<
ZodEnum
<
typeof
WorkspaceElementType
>
>
;
workspaceElementId
:
ZodOptional
<
ZodString
>
;
prompt
:
ZodString
;
testCustomerId
:
ZodOptional
<
ZodString
>
;
isExternal
:
ZodOptional
<
ZodBoolean
>
;
modelId
:
ZodOptional
<
ZodEnum
<
{
"anthropic/claude-sonnet-4.6"
:
"anthropic/claude-sonnet-4.6"
;
"anthropic/claude-opus-4.6"
:
"anthropic/claude-opus-4.6"
;
"anthropic/claude-sonnet-4.5"
:
"anthropic/claude-sonnet-4.5"
;
"anthropic/claude-opus-4.5"
:
"anthropic/claude-opus-4.5"
;
"anthropic/claude-haiku-4.5"
:
"anthropic/claude-haiku-4.5"
;
"openai/gpt-5.2"
:
"openai/gpt-5.2"
;
"openai/gpt-5-nano"
:
"openai/gpt-5-nano"
;
"google/gemini-3-pro-preview"
:
"google/gemini-3-pro-preview"
;
"moonshotai/kimi-k2.5"
:
"moonshotai/kimi-k2.5"
;
}
,
>
,
>
;
agentName
:
ZodOptional
<
ZodEnum
<
typeof
AgentName
>
>
;
agentHarnessId
:
ZodOptional
<
ZodString
>
;
promptAttachments
:
ZodOptional
<
ZodArray
<
ZodObject
<
{
title
:
ZodString
;
data
:
ZodUnknown
}
,
$strip
>
>
,
>
;
}
,
$strip
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Console
React Lib
REST API
Membrane SDK - v0.29.2
Loading...