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]

Skill name.

private_commentOptional[str]

Comments on the skill (only visible to the requester).

hiddenOptional[bool]

Access to information about the skill (the name and value) for Tolokers:

  • True — Closed. Default behavior.
  • False — Opened.
skill_ttl_hoursOptional[int]

The skill's "time to live" after the last update (in hours). The skill is removed from the Toloker's profile if the skill level hasn't been updated for the specified length of time.

trainingOptional[bool]

Whether the skill is related to a training pool:

  • True — The skill level is calculated from training pool tasks.
  • False — The skill isn't related to a training pool.
public_nameOptional[Dict[str, str]]

Skill name for other Tolokers. You can provide a name in several languages (the message will come in the Toloker's language).

public_requester_descriptionOptional[Dict[str, str]]

Skill description text for other Tolokers. You can provide text in several languages (the message will come in the Toloker's language).

ownerOptional[Owner]

Skill owner.

id-

Skill ID. Read-only field.

created-

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

  • Returns:

    Created skill. With read-only fields.

  • Return type:

    Skill

Examples:

How to create a new skill.

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)
Toloka-Kit
OverviewGetting OAuth tokenQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming