List counter goals
list_goalsRetrieve all goals configured on a Yandex Metrica counter, returning their IDs for use in conversion metric queries.
Instructions
Lists the goals (conversions) configured on a Metrica counter (Management API). Goal ids are needed to read conversion metrics (ym:s:goalreaches / ym:s:goalconversionRate) in get_statistics. counterId defaults to YANDEX_METRIKA_COUNTER_ID when omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| counterId | No | Counter id. Defaults to YANDEX_METRIKA_COUNTER_ID. |