create_skill

toloka.client.TolokaClient.create_skill | Source code

Creates a new skill.

You can send a maximum of 10 requests of this kind per minute and 100 requests per day.

Parameters description

ParametersTypeDescription
nameOptional[str]

The skill name.

public_nameOptional[Dict[str, str]]

The skill name visible to Tolokers. The name can be provided in several languages.

public_requester_descriptionOptional[Dict[str, str]]

The skill description visible to Tolokers. The description can be provided in several languages.

private_commentOptional[str]

Comments visible to a requester.

hiddenOptional[bool]

Visibility of the skill values to Tolokers:

  • True — Tolokers don't see the information about the skill.
  • False — Tolokers see the name and the value of the assigned skill.

Default value: True.

skill_ttl_hoursOptional[int]

A lifetime in hours. If the skill value assigned to a Toloker is not updated for skill_ttl_hours, the skill is removed from a Toloker's profile.

trainingOptional[bool]

Whether the skill is related to a training pool:

  • True — The skill value is set after completing a training pool.
  • False — The skill isn't related to a training pool.
ownerOptional[Owner]

The skill owner.

id-

The skill ID. Read-only field.

created-

The UTC date and time when the skill was created. Read-only field.

  • Returns:

    The skill with updated read-only fields.

  • Return type:

    Skill

Examples:

new_skill = toloka_client.create_skill(
name='Area selection of road signs',
public_requester_description={
'EN': 'Tolokers annotate road signs',
'FR': "Les Tolokers annotent les signaux routier",
},
)
print(new_skill.id)

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