mgmt_segment_create
Create a new segment for a specified Yandex Metrika counter by sending a JSON body with segment parameters, such as name and conditions, to configure audience targeting.
Instructions
https://yandex.ru/dev/metrika/ru/management/ Create segment. Body: {"segment": {...}}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | JSON request body. For POST/PUT use the structure from API docs (e.g. {"counter": {...}}). | |
| pretty | No | Pretty-print response (1) | |
| counterId | Yes | Counter ID |