yandex_metrica_evaluate_logs_request
Check if a Yandex Metrica Logs API export is possible for chosen dates, source, and fields, and see how many days fit the quota, without creating the request.
Instructions
Check whether a Yandex Metrica Logs API export can be created for the given dates, source, and fields, without creating a request. Use when the user wants to know if a raw export is possible and how many days fit the quota. Do not use this to start the export; call yandex_metrica_create_logs_request after the check succeeds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date1 | Yes | Start date YYYY-MM-DD | |
| date2 | Yes | End date YYYY-MM-DD (cannot be current day) | |
| fields | Yes | Fields to export. For visits: ['ym:s:visitID','ym:s:date','ym:s:clientID',...]. For hits: ['ym:pv:watchID','ym:pv:date','ym:pv:URL',...] | |
| source | Yes | 'hits' for pageview-level data, 'visits' for session-level data | |
| counter_id | Yes | Yandex Metrica counter (tag) ID |