---
title: Model: Condition
slug: data-platform/api/model-condition
docTags: 
createdAt: 2026-09-04T17:08:55.471Z
---

### Code examples

```json
{
  "combination": {
    "conjunction": "CONJUNCTION_NOT_SET",
    "conditions": [
      {
        "": ""
      }
    ]
  },
  "customer_condition": {
    "customer_filter": {
      "combination": {
        "conjunction": "CONJUNCTION_NOT_SET",
        "expressions": [
          {
            "": ""
          }
        ]
      },
      "comparison": {
        "lhs": {
          "": ""
        },
        "comparator": "COMPARATOR_NOT_SET",
        "rhs": {
          "": ""
        }
      },
      "path_reference": {
        "value": ""
      },
      "string_literal": {
        "value": ""
      },
      "number_literal": {
        "value": ""
      },
      "boolean_literal": {
        "value": false
      },
      "is_missing": {
        "source": {
          "": ""
        }
      },
      "is_not_missing": {
        "source": {
          "": ""
        }
      },
      "false_or_missing": {
        "source": {
          "": ""
        }
      },
      "true_or_missing": {
        "source": {
          "": ""
        }
      },
      "coalesce": {
        "sources": [
          {
            "": ""
          }
        ]
      },
      "truncate_time": {
        "source": {
          "": ""
        },
        "unit": "TIME_UNIT_NOT_SET",
        "timezone": {
          "": ""
        }
      },
      "shift_time": {
        "source": {
          "": ""
        },
        "amount": {
          "": ""
        },
        "unit": "TIME_UNIT_NOT_SET",
        "timezone": {
          "": ""
        }
      },
      "any_of_string": {
        "needle": {
          "": ""
        },
        "haystack": [
          ""
        ]
      },
      "any_of_number": {
        "needle": {
          "": ""
        },
        "haystack": [
          ""
        ]
      },
      "none_of_string": {
        "needle": {
          "": ""
        },
        "haystack": [
          ""
        ]
      },
      "none_of_number": {
        "needle": {
          "": ""
        },
        "haystack": [
          ""
        ]
      },
      "like_any_of_string": {
        "needle": {
          "": ""
        },
        "haystack": [
          ""
        ]
      },
      "like_none_of_string": {
        "needle": {
          "": ""
        },
        "haystack": [
          ""
        ]
      },
      "is_list_member": {
        "list": ""
      },
      "is_not_list_member": {
        "list": ""
      }
    }
  },
  "sequence_condition": {
    "sequence": {
      "entry_event_filter": {
        "combination": {
          "conjunction": "CONJUNCTION_NOT_SET",
          "expressions": [
            {
              "": ""
            }
          ]
        },
        "comparison": {
          "lhs": {
            "": ""
          },
          "comparator": "COMPARATOR_NOT_SET",
          "rhs": {
            "": ""
          }
        },
        "path_reference": {
          "value": ""
        },
        "string_literal": {
          "value": ""
        },
        "number_literal": {
          "value": ""
        },
        "boolean_literal": {
          "value": false
        },
        "is_missing": {
          "source": {
            "": ""
          }
        },
        "is_not_missing": {
          "source": {
            "": ""
          }
        },
        "false_or_missing": {
          "source": {
            "": ""
          }
        },
        "true_or_missing": {
          "source": {
            "": ""
          }
        },
        "coalesce": {
          "sources": [
            {
              "": ""
            }
          ]
        },
        "truncate_time": {
          "source": {
            "": ""
          },
          "unit": "TIME_UNIT_NOT_SET",
          "timezone": {
            "": ""
          }
        },
        "shift_time": {
          "source": {
            "": ""
          },
          "amount": {
            "": ""
          },
          "unit": "TIME_UNIT_NOT_SET",
          "timezone": {
            "": ""
          }
        },
        "any_of_string": {
          "needle": {
            "": ""
          },
          "haystack": [
            ""
          ]
        },
        "any_of_number": {
          "needle": {
            "": ""
          },
          "haystack": [
            ""
          ]
        },
        "none_of_string": {
          "needle": {
            "": ""
          },
          "haystack": [
            ""
          ]
        },
        "none_of_number": {
          "needle": {
            "": ""
          },
          "haystack": [
            ""
          ]
        },
        "like_any_of_string": {
          "needle": {
            "": ""
          },
          "haystack": [
            ""
          ]
        },
        "like_none_of_string": {
          "needle": {
            "": ""
          },
          "haystack": [
            ""
          ]
        },
        "is_list_member": {
          "list": ""
        },
        "is_not_list_member": {
          "list": ""
        }
      },
      "unique_key_sources": [
        {
          "combination": {
            "conjunction": "CONJUNCTION_NOT_SET",
            "expressions": [
              {
                "": ""
              }
            ]
          },
          "comparison": {
            "lhs": {
              "": ""
            },
            "comparator": "COMPARATOR_NOT_SET",
            "rhs": {
              "": ""
            }
          },
          "path_reference": {
            "value": ""
          },
          "string_literal": {
            "value": ""
          },
          "number_literal": {
            "value": ""
          },
          "boolean_literal": {
            "value": false
          },
          "is_missing": {
            "source": {
              "": ""
            }
          },
          "is_not_missing": {
            "source": {
              "": ""
            }
          },
          "false_or_missing": {
            "source": {
              "": ""
            }
          },
          "true_or_missing": {
            "source": {
              "": ""
            }
          },
          "coalesce": {
            "sources": [
              {
                "": ""
              }
            ]
          },
          "truncate_time": {
            "source": {
              "": ""
            },
            "unit": "TIME_UNIT_NOT_SET",
            "timezone": {
              "": ""
            }
          },
          "shift_time": {
            "source": {
              "": ""
            },
            "amount": {
              "": ""
            },
            "unit": "TIME_UNIT_NOT_SET",
            "timezone": {
              "": ""
            }
          },
          "any_of_string": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "any_of_number": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "none_of_string": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "none_of_number": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "like_any_of_string": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "like_none_of_string": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "is_list_member": {
            "list": ""
          },
          "is_not_list_member": {
            "list": ""
          }
        }
      ],
      "tracked_data": [
        {
          "key": {
            "key": ""
          },
          "source_path": "",
          "field_sub_paths": [
            ""
          ]
        }
      ],
      "max_age_seconds": "",
      "goal": {
        "combination": {
          "conjunction": "CONJUNCTION_NOT_SET",
          "continuations": [
            {
              "": ""
            }
          ]
        },
        "event_filter": {
          "combination": {
            "conjunction": "CONJUNCTION_NOT_SET",
            "expressions": [
              {
                "": ""
              }
            ]
          },
          "comparison": {
            "lhs": {
              "": ""
            },
            "comparator": "COMPARATOR_NOT_SET",
            "rhs": {
              "": ""
            }
          },
          "path_reference": {
            "value": ""
          },
          "string_literal": {
            "value": ""
          },
          "number_literal": {
            "value": ""
          },
          "boolean_literal": {
            "value": false
          },
          "is_missing": {
            "source": {
              "": ""
            }
          },
          "is_not_missing": {
            "source": {
              "": ""
            }
          },
          "false_or_missing": {
            "source": {
              "": ""
            }
          },
          "true_or_missing": {
            "source": {
              "": ""
            }
          },
          "coalesce": {
            "sources": [
              {
                "": ""
              }
            ]
          },
          "truncate_time": {
            "source": {
              "": ""
            },
            "unit": "TIME_UNIT_NOT_SET",
            "timezone": {
              "": ""
            }
          },
          "shift_time": {
            "source": {
              "": ""
            },
            "amount": {
              "": ""
            },
            "unit": "TIME_UNIT_NOT_SET",
            "timezone": {
              "": ""
            }
          },
          "any_of_string": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "any_of_number": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "none_of_string": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "none_of_number": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "like_any_of_string": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "like_none_of_string": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "is_list_member": {
            "list": ""
          },
          "is_not_list_member": {
            "list": ""
          }
        },
        "sequence_condition": {
          "": ""
        },
        "timeout_source": {
          "combination": {
            "conjunction": "CONJUNCTION_NOT_SET",
            "expressions": [
              {
                "": ""
              }
            ]
          },
          "comparison": {
            "lhs": {
              "": ""
            },
            "comparator": "COMPARATOR_NOT_SET",
            "rhs": {
              "": ""
            }
          },
          "path_reference": {
            "value": ""
          },
          "string_literal": {
            "value": ""
          },
          "number_literal": {
            "value": ""
          },
          "boolean_literal": {
            "value": false
          },
          "is_missing": {
            "source": {
              "": ""
            }
          },
          "is_not_missing": {
            "source": {
              "": ""
            }
          },
          "false_or_missing": {
            "source": {
              "": ""
            }
          },
          "true_or_missing": {
            "source": {
              "": ""
            }
          },
          "coalesce": {
            "sources": [
              {
                "": ""
              }
            ]
          },
          "truncate_time": {
            "source": {
              "": ""
            },
            "unit": "TIME_UNIT_NOT_SET",
            "timezone": {
              "": ""
            }
          },
          "shift_time": {
            "source": {
              "": ""
            },
            "amount": {
              "": ""
            },
            "unit": "TIME_UNIT_NOT_SET",
            "timezone": {
              "": ""
            }
          },
          "any_of_string": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "any_of_number": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "none_of_string": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "none_of_number": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "like_any_of_string": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "like_none_of_string": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "is_list_member": {
            "list": ""
          },
          "is_not_list_member": {
            "list": ""
          }
        }
      },
      "disqualifier": {
        "combination": {
          "conjunction": "CONJUNCTION_NOT_SET",
          "continuations": [
            {
              "": ""
            }
          ]
        },
        "event_filter": {
          "combination": {
            "conjunction": "CONJUNCTION_NOT_SET",
            "expressions": [
              {
                "": ""
              }
            ]
          },
          "comparison": {
            "lhs": {
              "": ""
            },
            "comparator": "COMPARATOR_NOT_SET",
            "rhs": {
              "": ""
            }
          },
          "path_reference": {
            "value": ""
          },
          "string_literal": {
            "value": ""
          },
          "number_literal": {
            "value": ""
          },
          "boolean_literal": {
            "value": false
          },
          "is_missing": {
            "source": {
              "": ""
            }
          },
          "is_not_missing": {
            "source": {
              "": ""
            }
          },
          "false_or_missing": {
            "source": {
              "": ""
            }
          },
          "true_or_missing": {
            "source": {
              "": ""
            }
          },
          "coalesce": {
            "sources": [
              {
                "": ""
              }
            ]
          },
          "truncate_time": {
            "source": {
              "": ""
            },
            "unit": "TIME_UNIT_NOT_SET",
            "timezone": {
              "": ""
            }
          },
          "shift_time": {
            "source": {
              "": ""
            },
            "amount": {
              "": ""
            },
            "unit": "TIME_UNIT_NOT_SET",
            "timezone": {
              "": ""
            }
          },
          "any_of_string": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "any_of_number": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "none_of_string": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "none_of_number": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "like_any_of_string": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "like_none_of_string": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "is_list_member": {
            "list": ""
          },
          "is_not_list_member": {
            "list": ""
          }
        },
        "sequence_condition": {
          "": ""
        },
        "timeout_source": {
          "combination": {
            "conjunction": "CONJUNCTION_NOT_SET",
            "expressions": [
              {
                "": ""
              }
            ]
          },
          "comparison": {
            "lhs": {
              "": ""
            },
            "comparator": "COMPARATOR_NOT_SET",
            "rhs": {
              "": ""
            }
          },
          "path_reference": {
            "value": ""
          },
          "string_literal": {
            "value": ""
          },
          "number_literal": {
            "value": ""
          },
          "boolean_literal": {
            "value": false
          },
          "is_missing": {
            "source": {
              "": ""
            }
          },
          "is_not_missing": {
            "source": {
              "": ""
            }
          },
          "false_or_missing": {
            "source": {
              "": ""
            }
          },
          "true_or_missing": {
            "source": {
              "": ""
            }
          },
          "coalesce": {
            "sources": [
              {
                "": ""
              }
            ]
          },
          "truncate_time": {
            "source": {
              "": ""
            },
            "unit": "TIME_UNIT_NOT_SET",
            "timezone": {
              "": ""
            }
          },
          "shift_time": {
            "source": {
              "": ""
            },
            "amount": {
              "": ""
            },
            "unit": "TIME_UNIT_NOT_SET",
            "timezone": {
              "": ""
            }
          },
          "any_of_string": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "any_of_number": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "none_of_string": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "none_of_number": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "like_any_of_string": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "like_none_of_string": {
            "needle": {
              "": ""
            },
            "haystack": [
              ""
            ]
          },
          "is_list_member": {
            "list": ""
          },
          "is_not_list_member": {
            "list": ""
          }
        }
      }
    },
    "min_count": "",
    "max_count": ""
  }
}
```
