PromptPartialUpdate
text object
- string
- null
name object
- string
- null
description object
Playbooks only — replaces the catalog line (see PromptRead.description). A metadata edit; no new version is created.
- string
- null
config object
Replaces the per-prompt settings (see PromptRead.config); null resets to the empty config. A metadata edit; no new version is created.
- PromptConfig
- null
crm_fields_conditions object
Composite CRM-field conditions (the same shape as on A/B campaigns and outreach: AND/OR with per-field operators). With at least one condition set, the platform enables the playbook in a dialogue as soon as the lead's CRM fields match — before the model runs, without a tool call. An empty conditions list never auto-enables; null (the default) leaves enabling to the model.
- CRMFieldsConditionsConfig
- null
Possible values: [AND, OR]
ANDconditions object[]
Possible values: [EQUALS, NOT_EQUALS, IN, NOT_IN, STARTS_WITH, ENDS_WITH, CONTAINS, EXISTS, NOT_EXISTS, IS_EMPTY, IS_NOT_EMPTY]
author object
- string
- null
type object
- string
- null
Possible values: [prompt, classification, document, ping, calendar, state, outreach, stage_triggered, redirect, clarification, human_clarification_follow_up, custom_follow_up, formatting, playbook, qualification, disqualification, escalation]
enabled_version_id object
- integer
- null
skip_instructions object
- string
- null
version_description object
- string
- null
lang object
- Language
- null
Possible values: [ru, en, pt, es]
modality object
- string
- null
Possible values: [text, voice]
Codes of prompt-check findings the client explicitly accepts ("proceed anyway") when the update carries new text; see PromptCreate.acknowledged_checks for the full contract. Ignored for metadata-only updates.
{
"text": "string",
"name": "string",
"description": "string",
"config": {
"crm_fields_conditions": {
"operator": "AND",
"conditions": [
{
"field": "string",
"operator": "EQUALS"
}
]
}
},
"author": "string",
"type": "prompt",
"enabled_version_id": 0,
"skip_instructions": "string",
"version_description": "string",
"lang": "ru",
"modality": "text",
"acknowledged_checks": [
"string"
]
}