The display name of the agent (user-friendly name, not API name)
BetaCompiles AgentScript returning agent JSON when successful, otherwise the compile errors are returned.
Promise
Ending is not required this will save all the transcripts to disc
AgentPreviewEndResponse
Get the agent ID to use for storage/transcript purposes
OptionalsessionId: stringBetaPublish an AgentJson representation to the org
The publish response
StaticcreateBetaCreates an AiAuthoringBundle directory, .script file, and -meta.xml file
{ project: SfProject; bundleApiName: string; outputDir?: string; agentSpec?: ExtendedAgentJobSpec; }
Promise
Abstract base class for agent preview functionality. Contains shared properties and methods between ScriptAgent and ProductionAgent.