Create prompt version
Create prompt version
Template structure for the prompt: ‘text’ or ‘chat’. Note: This field is only used when creating a new prompt. If a prompt with the given name already exists, this field is ignored and the existing prompt’s template structure is used. Template structure is immutable after prompt creation.
Project ID. Takes precedence over project_name when both are provided.
If provided, scopes the prompt to the specified project. Ignored when project_id is provided.
sequential version number in the format v<N>; null for masks
version type discriminator; defaults to prompt_version