Clone a training pool

Attention

The toloka.yandex.com domain will be disabled starting April 1, 2023. Please use the toloka.dev domain for API requests.

Creates a duplicate training pool.

An empty training pool will be created with the same parameters.

Restriction

You can send a maximum of 20 requests of this kind per minute and 100 requests per day. Refer to the Rate limiting section for the complete list of the request limitations in Toloka API.

Request

Production version
Sandbox
POST https://toloka.dev/api/v1/trainings/<training_id>/clone
Authorization: OAuth <OAuth token>

Path parameters

ParameterOverview
training_idPool ID.

Headers

TitleOverview
AuthorizationA token for account authorization. Add OAuth as a prefix.

Response

{
"id": "7ea08f99-5e24-47b4-b61f-c177a868d801",
"type": "TRAINING.CLONE",
"status": "SUCCESS",
"submitted": "2021-02-26T10:13:32.921",
"started": "2021-02-26T10:13:32.921",
"finished": "2021-02-26T10:13:32.921",
"progress": 100,
"parameters": {
"training_id": "123456"
},
"details": {
"training_id": "123457"
}
}
ParameterOverview
idstring

Operation ID.
typestring

Type of operation: TRAINING.CLONE — Clone a training pool.
status

string

The status of the operation:

  • PENDING — Not started yet.
  • RUNNING — In progress.
  • SUCCESS — Completed successfully.
  • FAIL — Not completed.
submittedstring

The UTC date and time the request was sent, in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.sss].
startedstring

The UTC date and time the operation started, in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.sss].
finishedstring

The UTC date and time the operation was completed, in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.sss].
progressinteger

The percentage of the operation completed.
parameters.training_idstring

ID of the source training pool.
details.training_idstring

ID of the new training pool.
Contact support
Toloka API
OverviewAccessing the APIRate limiting
Quick start
Reference
Project
Pools
Training
Subscriptions to events
Toloker selection
Ways to upload tasks
Tasks
Task suites
Tracking operations
Getting responses
Checking completed tasks
Rewards
Messages for Tolokers
Various parameters
Libraries