Change the task overlap

To change the overlap for a task, send a PATCH request to the resource /tasks/<task ID>. You can specify a numeric value or set infinite overlap in order to assign the task to all users (this is useful for training tasks).

You can also change the values for preliminary responses if this field was set. Preliminary responses are used to calculate the response confidence when dynamic overlap (also known as incremental relabeling or IRL) is enabled.

Numeric overlap value

PATCH /api/v1/tasks/<task ID>
Host: https://sandbox.toloka.yandex.com
Authorization: OAuth <OAuth token>
Content-Type: application/JSON

{
   "overlap": <new overlap value>,
   "infinite_overlap": false
}

Infinite overlap

PATCH /api/v1/tasks/<task ID>
Host: https://sandbox.toloka.yandex.com
Authorization: OAuth <OAuth token>
Content-Type: application/JSON

{
   "overlap": null,
   "infinite_overlap": true
}

Preliminary responses

PATCH /api/v1/tasks/<task ID>
Host: https://sandbox.toloka.yandex.com
Authorization: OAuth <OAuth token>
Content-Type: application/JSON
                
{
  "baseline_solutions":[
    {
      "output_values":{<output data values>},
      "confidence_weight":<from 0 to 1>
    }
]}
              

Response

Contains task data in JSON format.