Context Studio requires a single dataset to be enabled for the feature. You enable it by setting the context_studio_enabled flag on the dataset configuration.
Use the script below to enable Context Studio for your dataset. Only one dataset can have Context Studio enabled at a time.
Use requests.patch() to update an existing dataset configuration, or requests.put() if configuring a new dataset.