PromptSnapshot
The complete prompt configuration captured at deployment time. Contains model config, messages, tools, and variable definitions.Overview
PromptSnapshot is the prompt payload inside a Deployment. When you call get_deployment() or get_latest_deployment(), the returned Deployment.prompt field is a PromptSnapshot.
Fields
PromptSnapshotConfig
required
Model provider and settings. See PromptSnapshotConfig.
list[PromptMessage]
required
Array of prompt messages (role and content). See PromptMessage.
list[ToolFunction]
required
Array of tool/function definitions available to the model. See ToolFunction.
list[PromptVariable]
required
Array of variable definitions used in the prompt template. See PromptVariable.