Change the task overlap

  1. Request
  2. Headers
  3. Path parameters
  4. Request body
  5. Response

Changes the task overlap.

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 (incremental relabeling, IRL) is enabled.

Request

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

Headers

Title Overview
authorization A token for account authorization. Add OAuth as a prefix.
content-type Specifies the data format in the request body.
Title Overview
authorization A token for account authorization. Add OAuth as a prefix.
content-type Specifies the data format in the request body.

Path parameters

Parameter Overview
task_id Task ID.
Parameter Overview
task_id Task ID.

Request body

Numeric overlap value
{
   "overlap": <new overlap value>,
   "infinite_overlap": false
}
Copied to clipboard
Infinite overlap
{
   "overlap": null,
   "infinite_overlap": true
}
Copied to clipboard
Preliminary responses
{
  "baseline_solutions":[
    {
      "output_values":{<output data values>},
      "confidence_weight":<from 0 to 1>
    }
]}
Copied to clipboard

Response

Contains task data in JSON format.