PromptTemplateUpdateRequest
Replaces the named fields of the draft at the revision If-Match names and lints it again (1.55.0); layer and purpose are fixed at create. Versions already published keep their bodies.
An object with 8 fields.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
allow_terms | array of PromptAllowTerm | no | Staff and place names that phi_literal does not report (1.55.0), at most 100 of at most 100 characters. |
constants | PromptConstantsInput | no | For an Organization layer only (prompt_layer_field_not_allowed). |
declarations | PromptDeclarationsInput | no | |
default_layer | boolean | no | True 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. |
description | string | no | For reviewers; never sent to the model. |
include_organization_layer | boolean | no | For 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). |
name | PromptTemplateName | no | |
variants | PromptVariantsInput | no |
Used by
The operations whose parameters, request body or responses name this shape directly.