Change the task suite overlap

Attention

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

Changes the task suite overlap.

You can specify a numeric value or set infinite overlap to assign the task suite to all Tolokers (this is useful for training tasks).

Request

Tip

Try our new API reference: more parameter details, request/response examples, and code samples in various programming languages, including the Toloka-Kit usage samples.

Production version
Sandbox
PATCH https://toloka.dev/api/v1/task-suites/<task_suite_id>
Authorization: OAuth <OAuth token>
Content-Type: application/JSON

Path parameters

ParameterOverview
task_suite_idID of a task suite.

Headers

TitleOverview
AuthorizationA token for account authorization. Add OAuth as a prefix.
Content-TypeSpecifies the data format in the request body.

Query parameters

Specified in the link after the question mark; separated by &.

ParameterOverview
open_poolboolean

Open the pool immediately after the operation is completed, if the pool is closed. The default value is false.

Request body

Numeric overlap value

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

Infinite overlap

{
"overlap": null,
"infinite_overlap": true
}
ParameterOverview
overlapinteger | required if

Required if the parameter is not used when creating a task suite allow_defaults=true, and the overlap is not specified in the pool parameters (in the defaults.​default_​overlap_for_​new_task_suites) key).

Task suite overlap.
infinite_overlap

boolean | required

Assigning a task suite with infinite overlap. This option is used, for instance, for suites of training tasks when you want to assign them to all Tolokers:

  • true — Use infinite overlap.
  • false — Use the overlap that is set for the task suite or pool.

Response

Contains a task suite in JSON format.

See also

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
Bonuses
Messages for Tolokers
Various parameters
Libraries