get_operation_log

toloka.client.TolokaClient.get_operation_log | Source code

get_operation_log(self, operation_id: str)

Gets an operation log.

You can get the log for operations: creating one or multiple tasks or task suites, or issuing bonuses to Tolokers.

If the operation was successful, the log contains the IDs of the created objects, otherwise it contains the details of validation errors.

Logs are available only for the last month.

Parameters description

ParametersTypeDescription
operation_idstr

The ID of the operation.

Examples:

operation_log = toloka_client.get_operation_log(operation_id='6d84114f-fcfc-473d-8249-1a4f3ea550eb')

Last updated: August 28, 2023

Toloka-Kit
OverviewGetting API keyQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming