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 projects.
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/projectsAuthorization: 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
|
sort | string
|
owner | string Requester ID. |
Standard query parameters | limit, id_gt, id_gte, id_lt, id_lte, created_gt, created_gte, created_lt, created_lte. |
You can set up the display of the list of projects in parts (for example, 10 projects at a time):
Show the first 10 projects
GET https://toloka.dev/api/v1/projects?sort=id&limit=10Authorization: OAuth <OAuth token>
Show the remaining tasks sorted by ascending ID
GET https://toloka.dev/api/v1/projects?sort=id&limit=10&id_gt=<ID of the last project from the previous response>Authorization: OAuth <OAuth token>
{"items": [{properties of project 1}, {properties of project 2}, ... {properties of project n}], "has_more": false}
Property | Description |
---|---|
items[] | array of objects Contains a list of projects and their properties. |
has_more | boolean Shows whether the list is complete. Acceptable values:
|