Ways to upload tasks

Uploading tasks using the API

Toloka provides two ways of uploading tasks using the API:

Uploading each task individually

Choose this method if:

  • You created a pool using "smart mixing" (the mixer_config parameter).

  • Apart from the general tasks, the pool will contain control or training tasks.

With this method, Toloka will split tasks into suites according to the "smart mixing" settings. When uploading tasks this way, use the POST /tasks request.

Sample request

Uploading tasks grouped by suite

Choose this method if you:

  • Create task suites yourself.
  • Determine yourself which tasks to include in each suite.

This method won't work if you created a pool using smart mixing. When uploading tasks this way, use the POST /task-suites request.

Sample request

Uploading tasks using the Python SDK

If you're developing Python apps, you can create API requests using Toloka-Kit methods to achieve a result with less effort and avoid possible errors.

Ways to upload tasks using Toloka-Kit:

WayMethod
Creates a new taskcreate_task
Creates multiple tasks within a single requestcreate_tasks
Creates multiple tasks asynchronouslycreate_tasks_async
Creates a task suitecreate_tasks_suite
Creates multiple task suites within a single requestcreate_tasks_suites
Creates multiple task suites asynchronouslycreate_tasks_suites_async
Contact support

Last updated: July 4, 2023

Toloka API
OverviewAccessing the APIRate limiting
Quick start
Configuration for Template BuilderToloker selection
Quality control rules
Filters
Task actions
Subscriptions to events
Reference
Project
Pool
Training
Webhook-subscription
Skill
User-restriction
Task
Task-suite
Operation
Assignment
Attachment
Aggregated-solution
User-bonus
Message-thread
User-metadata
Requester
All classes and methods