Toloka documentation

create_app_item

toloka.client.TolokaClient.create_app_item | Source code

Creates an App task item in Toloka.

Parameters Description

Parameters Type Description
app_project_id str

The ID of the App project to create the item in.

id -

The ID of the item.

app_project_id str

The ID of the project that contains the item.

batch_id Optional[str]

The ID of the batch that contains the item.

input_data Optional[Dict[str, Any]]

Input data. It must follow the solution schema described in App.input_spec.

status -

The item status:

  • NEW — The item is uploaded to Toloka and ready for processing.
  • PROCESSING — The item is being processed by Tolokers.
  • COMPLETED — Item annotation is completed.
  • ERROR — An error occurred during processing.
  • CANCELLED — Item processing cancelled.
  • ARCHIVE — The item is archived.
  • NO_MONEY — There are not enough money for processing.
output_data -

Annotated data.

errors -

Errors occurred during annotation.

created_at -

The date and time when the item was created.

started_at -

The date and time when the item processing started.

finished_at -

The date and time when the item processing was completed.

  • Returns:

    Created App task item with updated parameters.

  • Return type:

    AppItem