Working with data

To work with data, use the components with the data.* type. These include both core components and special data components.

Core components

Core components are a part of other components which are used for accessing data from task files, Toloker responses, or internal data.

The core components include:

  • data.input: The input data. For example, links to images that will be shown to Tolokers. In the Template Builder sandbox, you can set an example of input data.

  • data.output: The output data. This is what you get when a Toloker clicks the Submit button.

  • data.internal: The data available only from within the task. This data is not saved to the results. Use this data to calculate or store intermediate values.

  • data.local: The local data available only from inside the component. This data is used in some auxiliary components, such as helper.transform.

  • data.relative: A special component for saving data. It's only available in the field.list component.

Component properties

The list of properties is the same for all core components.

Name of the component.
Path to the property containing data. Dots are used as separators:

To specify the path to the array element, specify its sequence number starting from zero, for example: items.0
The value to use as the default data.

This value will be shown in the interface, so it might hide some placeholders, for example, in the field.text component.

Special data components

Special data components send or return some data which is specific to Toloka and can be used, for example, to track some of the Toloker activities or the labeling progress.

The special data components include:

Refer to each component page for more details on component properties and usage examples.

Component properties

Special data components have only type property.

Name of the component.

What's next

Contact support

Last updated: August 2, 2023

Getting started
Important tips
Useful recommendations
Working with Toloka
Project analysis
Toloka settings
Task interface
Template Builder
HTML/CSS/JS editor
Help and support