AiTopicCategoryPreset
AiPromptGuardPreset
AiPromptTemplate
AiPromptDecoratorPreset
AiPrivacyPreset
AiDlpPreset

Adds an AI prompt-decorator preset (upsert by name)

Changed on

Adds a custom AI prompt-decorator preset. If one with the same name exists it is updated. Built-in presets are read-only. content is required; role must be system/user/assistant and position PREPEND/APPEND (blank values normalize to system/PREPEND).

post/apiops/settings/ai-prompt-decorator-presets/{presetName}/

Request

Path parameters

presetNamestring required

Query parameters

projectIdstring

Request body

idstring
projectIdstring
namestring
contentstring
rolestring
positionstring
categorystring
descriptionstring
enabledboolean
builtInboolean

Response

successful operation!

status'SUCCESS' | 'FAILURE'
resultMessagestring
resultListstring[]
resultCountinteger
unresolvedReferencesstring[]

Changes