VocalDocscontracts 1.65.0

PromptTemplateCreateRequest

Creates a Prompt template draft at revision 1 (1.55.0), from variants or as a fork of a library template (from_library), and lints it. An issue of the draft is a detail of 422 validation_failed (PromptTemplateIssueCode); a lint finding never refuses a save. A variant key other than default is refused with capability_not_available until the llm descriptors name their model family.

An object with 11 fields.

Fields

FieldTypeRequiredDescription
allow_termsarray of PromptAllowTermnoStaff and place names that phi_literal does not report (1.55.0), at most 100 of at most 100 characters.
constantsPromptConstantsInputnoFor an Organization layer only (prompt_layer_field_not_allowed).
declarationsPromptDeclarationsInputno
default_layerbooleannoTrue for the default Organization layer, the one an Agent that names no organization_layer receives (1.55.0). Only an Organization layer may set it (prompt_layer_field_not_allowed); setting it clears it on the other layers. Read at dispatch, never part of a version.
descriptionstringnoFor reviewers; never sent to the model.
from_libraryPromptLibraryForkInputno
include_organization_layerbooleannoFor a task template: also compose the Organization layer (prompt-manager.md section 4). Only a task template may set it (prompt_layer_field_not_allowed).
layerPromptLayernoagent when omitted.
namePromptTemplateNameyes
purposePromptPurposenoconversation when omitted.
variantsPromptVariantsInputno

Used by

The operations whose parameters, request body or responses name this shape directly.