Для AI-агентов: markdown этой страницы — /docs/schema-6b696d8269c365cb88907dd1f7ccb61df8bd277e7b5d11626015e401c3f88ca5.mdиндекс документации — /llms.txt
Схема: create_saved_segment: inputSchema
Обновлено
| Поле | Значение |
|---|---|
| $schema | "https://json-schema.org/draft/2020-12/schema" |
| additionalProperties | false |
| properties.bot.description | "Optional slug of the bot you expect to act on (get_active_bot). If the active bot differs, the call is refused with ACTIVE_BOT_CHANGED and nothing runs." |
| properties.bot.maxLength | 128 |
| properties.bot.minLength | 1 |
| properties.bot.type | "string" |
| properties.filter.additionalProperties | false |
| properties.filter.description | "Value for filter." |
| properties.filter.properties.exclude.description | "Value for exclude." |
| properties.filter.properties.exclude.items.additionalProperties | false |
| properties.filter.properties.exclude.items.description | "Value for exclude item." |
| properties.filter.properties.exclude.items.properties.amountGte.description | "Value for amount Gte." |
| properties.filter.properties.exclude.items.properties.amountGte.minimum | 0 |
| properties.filter.properties.exclude.items.properties.amountGte.type | "number" |
| properties.filter.properties.exclude.items.properties.groupTargetIds.description | "Value for group Target Ids." |
| properties.filter.properties.exclude.items.properties.groupTargetIds.items.description | "Value for group Target Ids item." |
| properties.filter.properties.exclude.items.properties.groupTargetIds.items.pattern | "^\\d+$" |
| properties.filter.properties.exclude.items.properties.groupTargetIds.items.type | "string" |
| properties.filter.properties.exclude.items.properties.groupTargetIds.maxItems | 50 |
| properties.filter.properties.exclude.items.properties.groupTargetIds.minItems | 1 |
| properties.filter.properties.exclude.items.properties.groupTargetIds.type | "array" |
| properties.filter.properties.exclude.items.properties.key.description | "Value for key." |
| properties.filter.properties.exclude.items.properties.key.minLength | 1 |
| properties.filter.properties.exclude.items.properties.key.type | "string" |
| properties.filter.properties.exclude.items.properties.kind.description | "Value for kind." |
| properties.filter.properties.exclude.items.properties.kind.enum | ["preset","recipe","tag","purchase_amount","user_event","commerce","event","booking","form","channel","campaign","chain","chain_step","broadcast","manual"] |
| properties.filter.properties.exclude.items.properties.kind.type | "string" |
| properties.filter.properties.exclude.items.properties.period.description | "Value for period." |
| properties.filter.properties.exclude.items.properties.period.oneOf.0.additionalProperties | false |
| properties.filter.properties.exclude.items.properties.period.oneOf.0.description | "Value for period option." |
| properties.filter.properties.exclude.items.properties.period.oneOf.0.properties.days.description | "Value for days." |
| properties.filter.properties.exclude.items.properties.period.oneOf.0.properties.days.maximum | 3650 |
| properties.filter.properties.exclude.items.properties.period.oneOf.0.properties.days.minimum | 1 |
| properties.filter.properties.exclude.items.properties.period.oneOf.0.properties.days.type | "integer" |
| properties.filter.properties.exclude.items.properties.period.oneOf.0.properties.mode.const | "last_days" |
| properties.filter.properties.exclude.items.properties.period.oneOf.0.properties.mode.description | "Value for mode." |
| properties.filter.properties.exclude.items.properties.period.oneOf.0.properties.mode.type | "string" |
| properties.filter.properties.exclude.items.properties.period.oneOf.0.required | ["mode","days"] |
| properties.filter.properties.exclude.items.properties.period.oneOf.0.type | "object" |
| properties.filter.properties.exclude.items.properties.period.oneOf.1.additionalProperties | false |
| properties.filter.properties.exclude.items.properties.period.oneOf.1.description | "Value for period option." |
| properties.filter.properties.exclude.items.properties.period.oneOf.1.properties.days.description | "Value for days." |
| properties.filter.properties.exclude.items.properties.period.oneOf.1.properties.days.maximum | 3650 |
| properties.filter.properties.exclude.items.properties.period.oneOf.1.properties.days.minimum | 1 |
| properties.filter.properties.exclude.items.properties.period.oneOf.1.properties.days.type | "integer" |
| properties.filter.properties.exclude.items.properties.period.oneOf.1.properties.mode.const | "older_days" |
| properties.filter.properties.exclude.items.properties.period.oneOf.1.properties.mode.description | "Value for mode." |
| properties.filter.properties.exclude.items.properties.period.oneOf.1.properties.mode.type | "string" |
| properties.filter.properties.exclude.items.properties.period.oneOf.1.required | ["mode","days"] |
| properties.filter.properties.exclude.items.properties.period.oneOf.1.type | "object" |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.additionalProperties | false |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.description | "Value for period option." |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.properties.from.description | "Value for from." |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.properties.from.format | "date-time" |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.properties.from.pattern | "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.properties.from.type | "string" |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.properties.mode.const | "between" |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.properties.mode.description | "Value for mode." |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.properties.mode.type | "string" |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.properties.to.description | "Value for to." |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.properties.to.format | "date-time" |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.properties.to.pattern | "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.properties.to.type | "string" |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.required | ["mode","from","to"] |
| properties.filter.properties.exclude.items.properties.period.oneOf.2.type | "object" |
| properties.filter.properties.exclude.items.properties.targetIds.description | "Value for target Ids." |
| properties.filter.properties.exclude.items.properties.targetIds.items.description | "Value for target Ids item." |
| properties.filter.properties.exclude.items.properties.targetIds.items.pattern | "^\\d+$" |
| properties.filter.properties.exclude.items.properties.targetIds.items.type | "string" |
| properties.filter.properties.exclude.items.properties.targetIds.maxItems | 50 |
| properties.filter.properties.exclude.items.properties.targetIds.minItems | 1 |
| properties.filter.properties.exclude.items.properties.targetIds.type | "array" |
| properties.filter.properties.exclude.items.properties.userIds.description | "Value for user Ids." |
| properties.filter.properties.exclude.items.properties.userIds.items.description | "Value for user Ids item." |
| properties.filter.properties.exclude.items.properties.userIds.items.pattern | "^\\d+$" |
| properties.filter.properties.exclude.items.properties.userIds.items.type | "string" |
| properties.filter.properties.exclude.items.properties.userIds.maxItems | 5000 |
| properties.filter.properties.exclude.items.properties.userIds.minItems | 1 |
| properties.filter.properties.exclude.items.properties.userIds.type | "array" |
| properties.filter.properties.exclude.items.required | ["kind","key"] |
| properties.filter.properties.exclude.items.type | "object" |
| properties.filter.properties.exclude.maxItems | 20 |
| properties.filter.properties.exclude.type | "array" |
| properties.filter.properties.include.description | "Value for include." |
| properties.filter.properties.include.items.additionalProperties | false |
| properties.filter.properties.include.items.description | "Value for include item." |
| properties.filter.properties.include.items.properties.any.description | "Value for any." |
| properties.filter.properties.include.items.properties.any.items.additionalProperties | false |
| properties.filter.properties.include.items.properties.any.items.description | "Value for any item." |
| properties.filter.properties.include.items.properties.any.items.properties.amountGte.description | "Value for amount Gte." |
| properties.filter.properties.include.items.properties.any.items.properties.amountGte.minimum | 0 |
| properties.filter.properties.include.items.properties.any.items.properties.amountGte.type | "number" |
| properties.filter.properties.include.items.properties.any.items.properties.groupTargetIds.description | "Value for group Target Ids." |
| properties.filter.properties.include.items.properties.any.items.properties.groupTargetIds.items.description | "Value for group Target Ids item." |
| properties.filter.properties.include.items.properties.any.items.properties.groupTargetIds.items.pattern | "^\\d+$" |
| properties.filter.properties.include.items.properties.any.items.properties.groupTargetIds.items.type | "string" |
| properties.filter.properties.include.items.properties.any.items.properties.groupTargetIds.maxItems | 50 |
| properties.filter.properties.include.items.properties.any.items.properties.groupTargetIds.minItems | 1 |
| properties.filter.properties.include.items.properties.any.items.properties.groupTargetIds.type | "array" |
| properties.filter.properties.include.items.properties.any.items.properties.key.description | "Value for key." |
| properties.filter.properties.include.items.properties.any.items.properties.key.minLength | 1 |
| properties.filter.properties.include.items.properties.any.items.properties.key.type | "string" |
| properties.filter.properties.include.items.properties.any.items.properties.kind.description | "Value for kind." |
| properties.filter.properties.include.items.properties.any.items.properties.kind.enum | ["preset","recipe","tag","purchase_amount","user_event","commerce","event","booking","form","channel","campaign","chain","chain_step","broadcast","manual"] |
| properties.filter.properties.include.items.properties.any.items.properties.kind.type | "string" |
| properties.filter.properties.include.items.properties.any.items.properties.period.description | "Value for period." |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.0.additionalProperties | false |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.0.description | "Value for period option." |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.0.properties.days.description | "Value for days." |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.0.properties.days.maximum | 3650 |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.0.properties.days.minimum | 1 |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.0.properties.days.type | "integer" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.0.properties.mode.const | "last_days" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.0.properties.mode.description | "Value for mode." |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.0.properties.mode.type | "string" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.0.required | ["mode","days"] |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.0.type | "object" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.1.additionalProperties | false |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.1.description | "Value for period option." |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.1.properties.days.description | "Value for days." |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.1.properties.days.maximum | 3650 |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.1.properties.days.minimum | 1 |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.1.properties.days.type | "integer" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.1.properties.mode.const | "older_days" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.1.properties.mode.description | "Value for mode." |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.1.properties.mode.type | "string" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.1.required | ["mode","days"] |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.1.type | "object" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.additionalProperties | false |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.description | "Value for period option." |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.properties.from.description | "Value for from." |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.properties.from.format | "date-time" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.properties.from.pattern | "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.properties.from.type | "string" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.properties.mode.const | "between" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.properties.mode.description | "Value for mode." |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.properties.mode.type | "string" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.properties.to.description | "Value for to." |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.properties.to.format | "date-time" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.properties.to.pattern | "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.properties.to.type | "string" |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.required | ["mode","from","to"] |
| properties.filter.properties.include.items.properties.any.items.properties.period.oneOf.2.type | "object" |
| properties.filter.properties.include.items.properties.any.items.properties.targetIds.description | "Value for target Ids." |
| properties.filter.properties.include.items.properties.any.items.properties.targetIds.items.description | "Value for target Ids item." |
| properties.filter.properties.include.items.properties.any.items.properties.targetIds.items.pattern | "^\\d+$" |
| properties.filter.properties.include.items.properties.any.items.properties.targetIds.items.type | "string" |
| properties.filter.properties.include.items.properties.any.items.properties.targetIds.maxItems | 50 |
| properties.filter.properties.include.items.properties.any.items.properties.targetIds.minItems | 1 |
| properties.filter.properties.include.items.properties.any.items.properties.targetIds.type | "array" |
| properties.filter.properties.include.items.properties.any.items.properties.userIds.description | "Value for user Ids." |
| properties.filter.properties.include.items.properties.any.items.properties.userIds.items.description | "Value for user Ids item." |
| properties.filter.properties.include.items.properties.any.items.properties.userIds.items.pattern | "^\\d+$" |
| properties.filter.properties.include.items.properties.any.items.properties.userIds.items.type | "string" |
| properties.filter.properties.include.items.properties.any.items.properties.userIds.maxItems | 5000 |
| properties.filter.properties.include.items.properties.any.items.properties.userIds.minItems | 1 |
| properties.filter.properties.include.items.properties.any.items.properties.userIds.type | "array" |
| properties.filter.properties.include.items.properties.any.items.required | ["kind","key"] |
| properties.filter.properties.include.items.properties.any.items.type | "object" |
| properties.filter.properties.include.items.properties.any.maxItems | 20 |
| properties.filter.properties.include.items.properties.any.minItems | 1 |
| properties.filter.properties.include.items.properties.any.type | "array" |
| properties.filter.properties.include.items.required | ["any"] |
| properties.filter.properties.include.items.type | "object" |
| properties.filter.properties.include.maxItems | 5 |
| properties.filter.properties.include.type | "array" |
| properties.filter.required | ["include","exclude"] |
| properties.filter.type | "object" |
| properties.title.description | "Value for title." |
| properties.title.maxLength | 120 |
| properties.title.minLength | 1 |
| properties.title.type | "string" |
| required | ["title","filter"] |
| type | "object" |