VocalDocscontracts 1.65.0

PromptTemplateVersionPublishRequest

Publishes the draft that If-Match names as the next version (1.55.0). It refuses with one 422 validation_failed listing every issue (PromptPublishIssueCode): each error finding, and each warning that needs an acknowledgement and is not listed (promptPublishRefusals).

An object with 3 fields.

Fields

FieldTypeRequiredDescription
acknowledged_warningsarray of PromptLintCodenoThe warning codes the publisher acknowledges (1.55.0): each warning that needs an acknowledgement (PROMPT_ACKNOWLEDGE_CODES) must be listed, and the Audit event of the publish records the list. A code listed without a finding is kept and has no effect.
activatebooleannoMake the new version the active one; false when omitted.
notesstringnoWhy this version exists.

Used by

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