Get the list of skills
Gets the list of created skills.
Request
Production version
Sandbox
GET https://toloka.yandex.com/api/v1/skills
Authorization: OAuth <OAuth token>
GET https://sandbox.toloka.yandex.com/api/v1/skills
Authorization: OAuth <OAuth token>
Headers
Title | Overview |
---|---|
Authorization | A token for account authorization. Add OAuth as a prefix. |
Query parameters
Specified in the link after the question mark; separated by &
.
Parameter |
Overview |
name |
string Skill name. |
sort |
string Parameters to sort by:
To learn how to configure sorting, see Sorting the list of objects. |
Standard query parameters |
limit, id_gt, id_gte, id_lt, id_lte, created_gt, created_gte, created_lt, created_lte |
Query example
You can set up the display of the list of skills in parts (for example, 10 skills at a time):
- Show the first 10 skills, starting with the skill with the lowest ID.
- Show the remaining skills (10 at a time) in ascending order.
Show the first 10 skills
Production version
Sandbox
GET https://toloka.yandex.com/api/v1/skills?sort=id&limit=10
Authorization: OAuth <OAuth token>
GET https://sandbox.toloka.yandex.com/api/v1/skills?sort=id&limit=10
Authorization: OAuth <OAuth token>
Show the remaining tasks sorted by ascending ID
Production version
Sandbox
GET https://toloka.yandex.com/api/v1/skills?sort=id&limit=10&id_gt=<ID of the last skill from the previous response>
Authorization: OAuth <OAuth token>
GET https://sandbox.toloka.yandex.com/api/v1/skills?sort=id&limit=10&id_gt=<ID of the last skill from the previous response>
Authorization: OAuth <OAuth token>
Response
Information about skills in the items
array:
{"items": [{skill 1}, {skill 2}, ... {skill n}], "has_more": false}