Checking whether a request can be created
Checks whether a log request can be created based on the size.
Request syntax
counterId
: Tag ID.
https://api-metrika.yandex.net/management/v1/counter/{counterId}/logrequests/evaluate
? [date1=<string>]
& [date2=<string>]
& [fields=<string>]
& [source=<log_request_source>]
date1 | First day. |
date2 | Last day (can't be the current day). |
fields | List of fields separated by commas. |
source | Log source. Acceptable values:
|
date1 | First day. |
date2 | Last day (can't be the current day). |
fields | List of fields separated by commas. |
source | Log source. Acceptable values:
|
Response format
{
"log_request_evaluation" : {
"possible" : < boolean > ,
"max_possible_day_quantity" : < long >
}
}
Parameters | Description |
---|---|
log_request_evaluation | Checks whether a log request can be created. |
log_request_evaluation | |
possible | Whether logs can be requested for the specified period. |
max_possible_day_quantity | The maximum number of days in the time period that can be specified in log requests accounting for to the current quota. |
Parameters | Description |
---|---|
log_request_evaluation | Checks whether a log request can be created. |
log_request_evaluation | |
possible | Whether logs can be requested for the specified period. |
max_possible_day_quantity | The maximum number of days in the time period that can be specified in log requests accounting for to the current quota. |