find_skills

toloka.client.TolokaClient.find_skills | Source code

Finds skills that match certain criteria.

The number of returned skills is limited. To find remaining skills call find_skills with updated search criteria.

To iterate over all matching skills you may use the get_skills method.

Parameters description

ParametersTypeDescription
nameOptional[str]

The name of the skill.

id_ltOptional[str]

Skills with IDs less than the specified value.

id_lteOptional[str]

Skills with IDs less than or equal to the specified value.

id_gtOptional[str]

Skills with IDs greater than the specified value.

id_gteOptional[str]

Skills with IDs greater than or equal to the specified value.

created_ltOptional[datetime]

Skills created before the specified date.

created_lteOptional[datetime]

Skills created before or on the specified date.

created_gtOptional[datetime]

Skills created after the specified date.

created_gteOptional[datetime]

Skills created on or after the specified date.

sortUnion[List[str], SkillSortItems, None]

Sorting options. Default: None.

limitOptional[int]

Returned skills limit. The maximum allowed value: 100.

  • Returns:

    Found skills and a flag showing whether there are more matching skills exceeding the limit.

  • Return type:

    SkillSearchResult

Examples:

The example shows how to find ten most recently created skills.

find_result = toloka_client.find_skills(sort=['-created', '-id'], limit=10)
skills = find_result.items

Last updated: August 28, 2023

Toloka-Kit
OverviewGetting API keyQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming