Dimensions and Segments API Example
A complete, runnable script that creates a Tenant dimension and segments from an input CSV file.
When to use the Dimensions & Segments API
- Dynamically update segments from an external data source (e.g., sync tenant lists from your CRM).
- Consume dimension metadata elsewhere (e.g., export dimensions and their selection criteria to CSV).