Get the segment plan schema

Prev Next
Get
/segmentation/schema

Returns the segment plan JSON schema as a string. The schema describes every node type, selector and field (including the string-boolean fields such as negated, caseSensitive, present and ignoreYear, which are serialized as the strings "true"/"false"). Fetch it once and validate a plan body against it before calling create or update. Takes no parameters.

Responses
200

The schema as a JSON document string.

string
400

bad request