The toloka.yandex.com
domain will be disabled starting July 1, 2023. Please use the toloka.dev
domain for API requests.
Gets a list of created pools (including archived pools).
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/poolsAuthorization: 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 |
---|---|
status | string
|
project_id | string ID of the project to which the pool is attached. |
sort | string
|
Standard query parameters | limit, id_gt, id_gte, id_lt, id_lte, created_gt, created_gte, created_lt, created_lte, last_started_gt, last_started_gte, last_started_lt, last_started_lte. |
You can set up the display of the list of pools in parts (for example, 10 pools at a time):
Show the first 10 pools
GET https://toloka.dev/api/v1/pools?sort=id&limit=10Authorization: OAuth <OAuth token>
Show the remaining tasks sorted by ascending ID
GET https://toloka.dev/api/v1/pools?sort=id&limit=10&id_gt=<ID of the last pool from the previous response>Authorization: OAuth <OAuth token>
{"items": [{parameters_of_pool_1}, {parameters_of_pool_2}, ... {parameters_of_pool__n_}], "has_more": false}
Property | Description |
---|---|
items[] | array of objects Contains a list of pools and their properties. |
has_more | boolean Shows whether the list is complete. Acceptable values:
|