The toloka.yandex.com
domain will be disabled starting July 1, 2023. Please use the toloka.dev
domain for API requests.
Gets the list of task suites in the pool.
Try our new API reference: more parameter details, request/response examples, and code samples in various programming languages, including the Toloka-Kit usage samples.
GET https://toloka.dev/api/v1/task-suitesAuthorization: OAuth <OAuth token>
Title | Overview |
---|---|
Authorization | A token for account authorization. Add OAuth as a prefix. |
Query parameters are specified in the link after the question mark and separated by &
.
Parameter | Overview |
---|---|
pool_id | string ID of the pool to get task suites from. You must specify either task_id or pool_id . |
task_id | string The task ID in the suites that were generated automatically using "smart mixing". You will get task suites that contain the specified task. You must specify either task_id or pool_id . |
sort | string
|
overlap | integer Suites with an overlap equal to the specified value. |
Standard query parameters | limit, id_gt, id_gte, id_lt, id_lte, created_gt, created_gte, created_lt, created_lte, overlap_gt, overlap_gte overlap_lt, overlap_lte. |
You can set up the display of the list of task suites in parts (for example, 10 task suites at a time):
Show the first 10 task suites
GET https://toloka.dev/api/v1/task-suites?sort=id&limit=10Authorization: OAuth <OAuth token>
Show the remaining tasks sorted by ascending ID
GET https://toloka.dev/api/v1/task-suites?sort=id&limit=10&id_gt=<id of the last task suite from the previous response>Authorization: OAuth <OAuth token>
{"items" : [{task suite 1}, {task suite 2}, ... {task suite n}], "has_more": true}
Property | Description |
---|---|
items[] | array of objects Contains task suite data. |
has_more | boolean Shows whether the list is complete. Acceptable values:
|