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 | Type | Description |
---|---|---|
operation_id | str | The ID of the operation. |
Returns:
A list with log items.
Return type:
List[OperationLogItem]
Examples:
operation_log = toloka_client.get_operation_log(operation_id='6d84114f-fcfc-473d-8249-1a4f3ea550eb')
Last updated: August 28, 2023